What are cos and sin?????


#1

Someone please help me


#2

They stand for sine and cosine

They have something to do with a circle


#3

@kvj, you know about this stuff, correct?


#4

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.


#5

That’s a great explanation!


#6

@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.


#7

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


#8

Uh, kind of :slight_smile:


#9

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


#10

Im not @DMF M8


#11

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

I hope its helpful


#12

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.


#13

-Mr.rex, 2018


#14

Nice explanation! :slight_smile:


#15

Oh
image