What are cos and sin?????


Someone please help me


They stand for sine and cosine

They have something to do with a circle


@kvj, you know about this stuff, correct?


Both are trigonometric ratios (numerical comparisons having to do with the angles and sides of a right triangle).
The sine or sin is the length of the opposite side over the length of the hypotenuse.
The cosine or cos is the length of the adjacent side over the hypotenuse.

That’s what you would need to know for math class. However, in Hopscotch, they are used in making circles, ovals, curves, cool patterns, etc.

That is done by using a draw a trail block, repeat block, variable or 2, and a set position block.


That’s a great explanation!


@sophia71205 explained everything really well. If you want to learn more about sin and cos, you can read more here:

The topic is really good, although it is made using the “old” Hopscotch App Editor.


Thank you :slight_smile: Being a math nerd comes in handy now and then


Uh, kind of :slight_smile:


You are the CoSine guy, so I think you know quitea bit about it.


Im not @DMF M8


@silverbrook10 i typed an explanation months ago on a different topic. Heres a link:

I hope its helpful


Sin is sine which equals the angles opposing side divided by the hypotenuse of the right triangle.
Cos is Cosine which equals the angle’s adjacent side divided by the hypotenuse of the right triangle.
When you do:
Repeat 45 times{
set x position to: 100•Sin(Var1)+500, set y position to: 100•cos(Var1)+400
Increase Var1 by 8}
The object you did this on goes in a circle.


-Mr.rex, 2018


Nice explanation! :slight_smile: