Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
right angle math question
#11
adosorken

40*sin(30) is not equal to 1/2(40)

and

40*sin(60) is not equal to 1/2(40)sqr(3)
Reply
#12
Quote:adosorken

40*sin(30) is not equal to 1/2(40)

and

40*sin(60) is not equal to 1/2(40)sqr(3)
I wasn't referring to nathan, I was referring to tiger. Tongue And the forumla I presented is correct for a 30-60-90 triangle...it has its own name in trigonometry, remember?

Btw...nice double post. Tongue
I'd knock on wood, but my desk is particle board.
Reply
#13
Quote:It won't always be a 30,60,90 though. That was just an example.

then say it was an example and you want the formulas for all the right triangles. And you can find this on google easily :roll:
igitalblackie.com - Done! Smile Ask about our hosting Wink

-Goddess of the of the No More Religion Threads movement Smile
Reply
#14
Thanks for the help, but one more question.

To use sin,cos...ect in qb the angle must be in radians and not degree's as on most calculators. Is there a pi function?? I know to convert you use degree*(pi/180). Or is there another way of doing this? I looked in the help section but could not find anything.
Reply
#15
just use 3.14 =\
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#16
Quote:Thanks for the help, but one more question.

To use sin,cos...ect in qb the angle must be in radians and not degree's as on most calculators. Is there a pi function?? I know to convert you use degree*(pi/180). Or is there another way of doing this? I looked in the help section but could not find anything.

What I do is create a constant CONST PI = ..., and the value I take it from the Windows calculator Big Grin (I always do this Tongue)

Code:
CONS PI = 3.1415926535897932384626433832795

I think it is enough Tongue

(but with 3.1415926 you are fine Wink <- those are the digits I know out of mem, I am geek but not that geek Tongue)
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#17
Quote:(but with 3.1415926 you are fine Wink <- those are the digits I know out of mem, I am geek but not that geek Tongue)
I know
3.141592653 =P

how about
Code:
pi# = ATN(1) * 4


I don't know what it is but it's pi =P
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#18
Thanks fellas, I used your way whitetiger0990. Thanks again.
Reply
#19
Quote:
na_th_an Wrote:(but with 3.1415926 you are fine Wink <- those are the digits I know out of mem, I am geek but not that geek Tongue)
I know
3.141592653 =P

how about
Code:
pi# = ATN(1) * 4


I don't know what it is but it's pi =P

Easy:

ATN(1) returns 45º in radians (SQR(2)/2), which is 1/8 of a full circle. If you multiply it by four you get half a circle, i.e. PI.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#20
2 tips:

1. cosine law
2. sine law

These 2 would solve *any* triangle.
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)