This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » FAQ
  •  » how do I use sin. cos, and tan?

#76 2010-03-11 22:09:03

DarkMark3
Scratcher
Registered: 2009-06-18
Posts: 500+

Re: how do I use sin. cos, and tan?

juststickman wrote:

Ace-of-Spades wrote:

Calculating triangles?

Triangles will be very useful in calculating other things. And also poking things with the pointy corners.

YES!!!!!!! I like to poke things with the points of triangles!


http://img841.imageshack.us/img841/7403/vamp3m.gif

Offline

 

#77 2010-04-06 11:15:12

TheGenius95
Scratcher
Registered: 2009-06-09
Posts: 500+

Re: how do I use sin. cos, and tan?

archmage wrote:

dingdong wrote:

I guess so, I really want to try understand sin, cos, and tan so I can make better games

To be honest it won't really help you that much but I'll try to explain anyways.

Trigonometry is a branch of mathematics that deals with triangles and right angled triangles in particular.

Sin is short for sine, tan is short for tangent, and cos is short for cosine.

All these are ratios between the sides of a triangle.

http://id.mind.net/~zona/mmts/trigonome … /trig3.gif


Tan is the ratio of the side opposite an angle to the side adjacent to an angle.
tan(B)=6/4

Cos is the ratio of the side adjacent to an angle to the hypotenuse.
cos(B)=4/7.21

Sin is the ratio of the side opposite an angle to the hypotenuse.
sin(B)=6/7.21

Example question:

In a right angled triangle the side opposite angle b is 3 and if angle b is 37 degrees then what size is the side adjacent to angle b?

tan(37)=3/adjacent

tan(37)= 0.753

0.753=3/adjacent

3/0.753= adjacent

3.984=adjacent

Rounded up adjacent = 4

Therefore the side adjacent to angle b is 4.


That is the very basics of trig. I am not very good with explaining math stuff so I am sorry if you don't understand it.

I kind of understand it.  Then again, I understand a lot of geometric basic concepts.  The hard part is getting to the advanced stuff.


http://i51.tinypic.com/i40h3l.png
^ Oooh, shiny!

Offline

 

#78 2010-04-06 11:24:40

AnonymousTom
Scratcher
Registered: 2010-03-19
Posts: 100+

Re: how do I use sin. cos, and tan?

Actually Trigonometry isn't that hard. When I was in 5th grade I learned it in simple terms. I'll explain it like that.

On a Right Triange
A=Side
B=Side
C=Hypotonuse

A=3
B=4

Using Pythagorean Therom:
A2+B2= C2*
A2=9
B2=16

C2= The square root of A2+B2

C=5

It's as simple as that. Or maybe I am so interested into math that it seems simple to me but really it isn't!

Offline

 

#79 2010-04-30 16:07:30

mman2112
Scratcher
Registered: 2009-11-21
Posts: 27

Re: how do I use sin. cos, and tan?

dingdong wrote:

I guess so, I really want to try understand sin, cos, and tan so I can make better games

me too!

also i like to believe i am a good scratcher and i am 12 (7th grade advanced classes),
it is debatable though because i keep all my good projects offline because i want to make them REALLY good because they have the potential to be more than they currently are.


http://i35.tinypic.com/ie367k.png

Offline

 

#80 2010-04-30 16:10:35

mman2112
Scratcher
Registered: 2009-11-21
Posts: 27

Re: how do I use sin. cos, and tan?

AnonymousTom wrote:

Actually Trigonometry isn't that hard. When I was in 5th grade I learned it in simple terms. I'll explain it like that.

On a Right Triange
A=Side
B=Side
C=Hypotonuse

A=3
B=4

Using Pythagorean Therom:
A2+B2= C2*
A2=9
B2=16

C2= The square root of A2+B2

C=5

It's as simple as that. Or maybe I am so interested into math that it seems simple to me but really it isn't!

it is easy, but the way you wrote it it looks like A*2+B*2=C*2
the actual formula for the theorum is a squared times b squared equals c squared, to find the hypotenuse you find the square root of (c squared)


http://i35.tinypic.com/ie367k.png

Offline

 

#81 2010-04-30 16:12:19

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: how do I use sin. cos, and tan?

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

Oi you forget me im 13!


You can now reach me on Twitter @johnnydean1_

Offline

 

#82 2010-05-08 12:10:14

wwjd3
Scratcher
Registered: 2008-10-18
Posts: 4

Re: how do I use sin. cos, and tan?

Well, I'm only 13, in 8th Grade, and I taught myself trig outside of school in 7th grade, when I was 12. It has helped me make good games and is the foundation of 3d programming, so it is very useful. Don't worry about it - if you do well in math, you'll understand the trig functions fine with some training.  smile  They can help when trying to simulate polar coordinates in Scratch, which only uses rectangular coordinates. Sorry if it's confusing >.<

Offline

 

#83 2010-06-01 08:19:05

tomicool
Scratcher
Registered: 2009-01-11
Posts: 1000+

Re: how do I use sin. cos, and tan?

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

For all I know, someone else who is younger than you and is more "good". But your projects are "good". If you're something like 7 years old, then yes, you probably are the youngest "good" Scratcher, but if you're 10, you're just "average". No offence. Just a polite notice.  smile


I might return for a little while.

Offline

 

#84 2010-06-01 09:39:51

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how do I use sin. cos, and tan?

tomicool wrote:

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

For all I know, someone else who is younger than you and is more "good". But your projects are "good". If you're something like 7 years old, then yes, you probably are the youngest "good" Scratcher, but if you're 10, you're just "average". No offence. Just a polite notice.  smile

Unfortunately, dingdong posted that several years ago... When you reply to a post, just make sure the issue is still relevant after all these years.

Offline

 

#85 2010-06-01 09:40:52

tomicool
Scratcher
Registered: 2009-01-11
Posts: 1000+

Re: how do I use sin. cos, and tan?

coolstuff wrote:

tomicool wrote:

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

For all I know, someone else who is younger than you and is more "good". But your projects are "good". If you're something like 7 years old, then yes, you probably are the youngest "good" Scratcher, but if you're 10, you're just "average". No offence. Just a polite notice.  smile

Unfortunately, dingdong posted that several years ago... When you reply to a post, just make sure the issue is still relevant after all these years.

Oh. LOL! XD


I might return for a little while.

Offline

 

#86 2010-06-01 11:50:15

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: how do I use sin. cos, and tan?

johnnydean1 wrote:

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

Oi you forget me im 13!

Yes, and I am 11. But that was posted years ago.

Last edited by juststickman (2010-06-01 11:54:45)


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#87 2010-06-16 21:25:43

Aidan
Scratcher
Registered: 2007-06-15
Posts: 1000+

Re: how do I use sin. cos, and tan?

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

Whoa! Don't go that far!

Offline

 

#88 2010-07-23 07:29:41

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: how do I use sin. cos, and tan?

dingdong wrote:

I'm probably the youngest "good" scratcher on this website, oh yeah I learned scrolling in steps from you, so thanx

hey, i'm only going into 5th in september, and I'm doing fine


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&amp;online=http://lemonfanatic.webs.com/ONLINE.png&amp;offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#89 2010-07-23 19:42:12

JeanTheFox
Scratcher
Registered: 2010-06-14
Posts: 1000+

Re: how do I use sin. cos, and tan?


http://i51.tinypic.com/20gcn5j.png

Offline

 

#90 2010-07-23 20:45:24

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how do I use sin. cos, and tan?

JeanTheFox wrote:

http://scratch.mit.edu/forums/viewtopic.php?id=40709
Try this, made by Locomule.

Yep, that's a pretty good guide, too! But I think there's a much more specific explanation in this thread  smile

Offline

 

#91 2010-08-03 19:01:37

parcheesidude
Scratcher
Registered: 2009-10-07
Posts: 500+

Re: how do I use sin. cos, and tan?

http://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Tangent_to_a_curve.svg/220px sorry that I can't get my own pic on here. Ps i'm 10 if youre wondering


My signature is trying to find itself :3

Offline

 

#92 2010-08-03 21:49:06

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how do I use sin. cos, and tan?

parcheesidude wrote:

http://upload.wikimedia.org/wikipedia/c … .svg/220px sorry that I can't get my own pic on here. Ps i'm 10 if youre wondering

Hm - that picture didn't seem to work out so well! I'd love to help, but I'm not sure what the picture you wanted was...

Regardless, that post doesn't belong there - if you wanted to test out images, why not do it in a relevant thread? There's a tutorial here in FAQs that might help you out  smile

Thanks for keeping the forums clean!

Offline

 

#93 2010-08-03 21:56:01

recycle49
Scratcher
Registered: 2009-12-21
Posts: 1000+

Re: how do I use sin. cos, and tan?

I understand them and i havnt learnd adjebra, they are simple once you under stand what the opotinuses is and the ajasent, i understand how each works under different numers for exsample,

Change X by one change Y by=<Cos( -YSET=-40
Change YSET by 1 makes waves, as well as sin, while tan uses a different formula so it all depends on how you whant to uses it, as a direction reseach wich one will work best, for me it is usaly Sin,cos,In, and e^


"Every challenge must be met, every battle must be won, and every story will end." -Me
Recycle49 December 09 - November 11 Goodbye

Offline

 

#94 2010-08-22 11:05:54

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: how do I use sin. cos, and tan?

I'm sure that Sin is good for hills, And Cos is the reverse.


<abs(

Last edited by zorket (2010-08-22 11:06:07)


Marzipan11 must learn to not spoil

Offline

 

#95 2010-08-22 15:46:16

coolperson
Scratcher
Registered: 2007-08-21
Posts: 1000+

Re: how do I use sin. cos, and tan?

archmage wrote:

dingdong wrote:

I guess so, I really want to try understand sin, cos, and tan so I can make better games

To be honest it won't really help you that much but I'll try to explain anyways.

Trigonometry is a branch of mathematics that deals with triangles and right angled triangles in particular.

Sin is short for sine, tan is short for tangent, and cos is short for cosine.

All these are ratios between the sides of a triangle.

http://id.mind.net/~zona/mmts/trigonome … /trig3.gif


Tan is the ratio of the side opposite an angle to the side adjacent to an angle.
tan(B)=6/4

Cos is the ratio of the side adjacent to an angle to the hypotenuse.
cos(B)=4/7.21

Sin is the ratio of the side opposite an angle to the hypotenuse.
sin(B)=6/7.21

Example question:

In a right angled triangle the side opposite angle b is 3 and if angle b is 37 degrees then what size is the side adjacent to angle b?

tan(37)=3/adjacent

tan(37)= 0.753

0.753=3/adjacent

3/0.753= adjacent

3.984=adjacent

Rounded up adjacent = 4

Therefore the side adjacent to angle b is 4.


That is the very basics of trig. I am not very good with explaining math stuff so I am sorry if you don't understand it.

Sorta makes sense. I'm in advanced algebra this year, so I wont need to learn that for, say, 4 years.


Coolperson- 2012 National Vex Robotics Finalist!
http://www.scratch.mit.edu/ext/youtube/?v=sn7p84DQFyk

Offline

 

#96 2010-08-28 23:06:00

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: how do I use sin. cos, and tan?

ARGGGHH! TOO MANY NUMBERS[blocks]((  <+>  ))[/blocks]BIG WORDS!!!


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#97 2010-08-29 20:04:55

kingofdallamas
Scratcher
Registered: 2010-03-07
Posts: 500+

Re: how do I use sin. cos, and tan?

In short of what Archmage is trying to explain, sin, cos, and tan doesn't really needs to be known to have this WONDERFUL project. Sin, cos and tan basically, well, mostly is utilized when trying to graph with a pen project along with it, or a complicated trigonometry graphics; aka: wave lines...

Sin: opposite over hypotenuse (know your triangle parts first)
cos: adjecent over hypotenuse
tan: opposite over adjecent

After knowing this, you may use this to create graphs with the differentiated caculus...well, it's complicated.  smile


http://i853.photobucket.com/albums/ab99/Gilgamesh1192/Ninja%20Saga/ElementalJutsus2.gifhttp://i27.photobucket.com/albums/c192/BoomKaTish/GIF/thgfhgfhfhgf.gif
ハロー友だち!

Offline

 

#98 2010-10-17 10:15:13

NeilWest
Scratcher
Registered: 2010-01-06
Posts: 1000+

Re: how do I use sin. cos, and tan?

Hmm, sin, cos, tan are mathmatical functions. And yes. I'm not that clever to even understand them.

Last edited by NeilWest (2010-10-17 10:15:27)

Offline

 

#99 2011-02-04 16:38:40

Rexpup
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: how do I use sin. cos, and tan?

Thanks for this help!  I have been wondering what that block does for some time now...  And the built-in help window wasn't very useful for figuring out what that block did.  I will use this info next time I make a new project.


http://i.imgur.com/QQH4J.gif

Offline

 

#100 2011-03-10 00:53:43

randomnumber53
Scratcher
Registered: 2010-05-19
Posts: 500+

Re: how do I use sin. cos, and tan?

Here's a great project I found that explains trig and some of its uses in Scratch: http://scratch.mit.edu/projects/Kileymeister/1584815

Currently, I'm in Pre-Calculus, and we've been studding trig. It is one of the most useful tools have learned in math, that relates to Scratch. Here are some projects I've made that use trig.

http://scratch.mit.edu/projects/randomnumber53/1610162
http://scratch.mit.edu/projects/randomnumber53/1582125
http://scratch.mit.edu/projects/randomnumber53/1607332


http://i1095.photobucket.com/albums/i477/randomnumber53/addForSig.png
http://www.prguitarman.com/icon/poptartFINALTINY.gif`·.,¸,.·*¯`·.,¸,.·*¯[;::;‹]ᵒᴥᵒ­­­­­­­­­­)  Don't forget to add the +KITTENS

Offline

 
  • Index
  •  » FAQ
  •  » how do I use sin. cos, and tan?

Board footer