Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Cosine / Sine / Tangent

Author
Message
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 18th Dec 2003 02:42 Edited at: 18th Dec 2003 02:42
I didn't know where this belonged, so...

basicly, I know they are for trigonometry, but I don't know what they do and I believe they will help with what I am trying to do. Anyone have a link explanation for me?

I am mischeivious
RoooooOoooooKoooooKoooooRoooooOoooooKoooooKooooo!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 18th Dec 2003 02:46 Edited at: 18th Dec 2003 02:46
they're in triangles and such.
you use it to find the length of a given side of a triangle.

sin-opocite/hypotinuse
cos-ajacent/hypotinuse
tan-op/aja

someone else can explain it, im no good

Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 18th Dec 2003 02:46
ah, so that's what it does! yes, this will help with my thinger. Can someone explain this in-depth now?

Thanks in advance,
Matt

I am mischeivious
RoooooOoooooKoooooKoooooRoooooOoooooKoooooKooooo!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 18th Dec 2003 02:48
yeah yeah, i know thats why i said
Quote: "someone else can explain it, im no good"
me no goods at explaining stuffs to udder people

TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 18th Dec 2003 02:57 Edited at: 18th Dec 2003 03:05
ok, I'll explain Sine.
Below, we have a (horid) chart with a line through it.
see the diagonal line (A)? Let's say its at 30 degrees, 90 being straight up, and 0 being lieing down. SINE is Y devided by A.
so, Y being 1, and A being 2, we get 1/2, or 0.5 which is the sine of 30.
Note:Line A ends exactly on Y=1.
...........1.5y...........
..............1|...........
...........0.5|../.........
_________|/__________x
.............../|1.2.3......
............./..|...........
.........../....|...........
.........A.....|...........

I hope this is usefull to sombody, or at least comprehensible.

Morfy's Law - Enythink thet ken go rong willll.
Cole's Law - Thinly sliced cabbage.
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 18th Dec 2003 03:12 Edited at: 1st Mar 2004 04:09
Ok, These functions are used to find leg legnths or angle measures in a right triangle.

in the following:


you can find the angle measure of A.
Since you know the angle OPOSITE of A and the ADJECENT leg measurements you use TANGENT because as darwin stated the tangent is the oposite over adjacent. you do 12/24 which is .5 so to find measure A you kit the TAN-1 key on a calqulator of use the arc-tangent command in DB and type in .5. The calqulator then figures out for you that the measure of angle A is 26.56505118.


Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 18th Dec 2003 03:12
well, I think i get it, but where did you get Y from?

I am mischeivious
RoooooOoooooKoooooKoooooRoooooOoooooKoooooKooooo!
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 18th Dec 2003 03:14
Woah. you posted while I was still typing


Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 18th Dec 2003 03:14
ah, Wik helped me Thanks, I get it now, i think

I am mischeivious
RoooooOoooooKoooooKoooooRoooooOoooooKoooooKooooo!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 18th Dec 2003 03:18
now tell him how you get a side from only knowing a angle and one side. sorry im no help...but im no good at explaining, and i dont think i remember exactly

Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 18th Dec 2003 03:18
And heres a diagram I made about a year ago.




"Computers are useless they can only give you answers."
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 18th Dec 2003 03:19
You can also find the lengths of the legs if you do the opposite thing.
This is how you would sove for the adjacent leg (24)
do (regular) TAN of 26.blaa and you get .5
Simplify it into a fraction and you get 1/2
1/2=12/x
Then solve dor x and you get 24

The leg is 24 (obviously)


TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 18th Dec 2003 03:22 Edited at: 18th Dec 2003 03:24
I don't use tangent much, so i wanted to ask, what kind of error (if any) does DB give for TAN90? Overflow?
@Exeat: That was the drawing I was trying to make . Cant do that with chars...

Morfy's Law - Enythink thet ken go rong willll.
Cole's Law - Thinly sliced cabbage.
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 18th Dec 2003 03:24
It doesn't give an error, just a wrong ansswer.
It says it's -22877332


JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 18th Dec 2003 03:24
i think you use cos more than anything...at least from what i see, cos and sin

Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 18th Dec 2003 03:25
I think TAN is used a lot also.....


TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 18th Dec 2003 03:28
Quote: "It doesn't give an error, just a wrong ansswer."

strange. Every other language I've used gives a logical error...
I use Sin/Cos most of the time.
In my university, they're teaching a C++ based language called UAL. It is COMPLETELY text based. No way to plot a single pixel. Even so, I made a 3D raycaster in it, using only Sin/Cos and block characters. Nobody in class understood a line of code .

Morfy's Law - Enythink thet ken go rong willll.
Cole's Law - Thinly sliced cabbage.
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 18th Dec 2003 03:31
Grrr. I had this simple little program that showed a good use for trigonometry. I'll knock it up again.



A bit of explanation is in the code.

Hope it helps a bit.

Insiiiiiiiiiiiiiiiiiiiiiiiide!
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 18th Dec 2003 03:48
Tan is used a lot to find the gradient of lines, or the angle under a line when you have the gradient.


"Computers are useless they can only give you answers."
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 18th Dec 2003 09:19
Have a look here : http://www.pixelate.co.za/issues/5/articles/circle/sincos.htm. It explains sin and cos pretty well I think.

GOD exists and his name is Jonny Wilkinson

AlecM
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Concord, MA
Posted: 18th Dec 2003 09:44
fun with pnuemonics: soh cah toa

also
Why Are Japanese Men Miniature?



[P4 2.8C @ 3.03 with an 866mhz FSB:: MSI Neo-2LS running PAT:: 1gb Mushkin PC-3500 DDR High Perf level 2@ 2,2,2 :: ATI Radeon9800ProAIW :: 120Gb SeagateBarracuda 7,200RPM SATA HD :: Antec Plus1080AMG]
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 18th Dec 2003 09:52
Sin = Opposite / Hypotonuse
Cos = Adjacent / Hypotonuse
Tan = Oppoiste / Adjacent

SOH CAH TOA is how I remember it as well


"Computers are useless they can only give you answers."
Arrow
21
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 18th Dec 2003 11:45
Quote: "Why Are Japanese Men Miniature"
Ah something I can actually awnser in this thread . Cows don't live in Japan.


I've lost 25lb playing Dance Dance Revolution, no really!
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 18th Dec 2003 23:15
I remember it soh cah toa also


Login to post a reply

Server time is: 2024-09-20 22:29:34
Your offset time is: 2024-09-20 22:29:34