I Hate Maths

Blitz3D Forums/Blitz3D Beginners Area/I Hate Maths

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

soh cah toa

Mind that from school? Always helps me out.

....../..|.
....h/...|.
...5/....|.
.../.....|o
../45 deg|.
..-------'.
.....a.....

h=hyp
o=opposite
a=adjacent

for side (a) you use the 'soh' 'cah' or 'toa'

So use either toa or cah, because they both use the adjacent angle :)

we'll use cos:

cos 45= adjacent/Hyp
C A H

0.707(this number is rounded)=adjacent/5

we take the 5 over to the other side, by multiplying the whole equation by 5

0.707*5=adjacent

so

adjacent=3.5

Then use pytharoris theorum(sp??)

basically the square of the opposite and the the square of the adjacent, when added, then take the square root to find the hyp.

hyp2=adjacent2+opposite2

where 2 means squared.

so:

opposite2=hyp2-adjacent2
opposite2=25-12.25
opposite2=12.75
opposite=sqr root of 12.75
opposite=3.57

whessssshh. Hope you followed some of that :S

for your problem just take out my hyp value, and stick in your own and your own angle and follow it thru. good luck!