Preserved Topic: Trigonometry Problems (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Melbourne, Australia |
posted 04-01-2000 02:37
Doc: After seeing your circling jewels scripts I thought I would try something similar myself. I want to create an image that travels in a circular motion. An ANGLE will be passed to a script which will calculate the opposite and adjacent values based on the hypotenuse value.<P>I am having trouble using the Math.sin() and Math.cos() methods. The returned value is given in radians and I dont know how to use this. Can you explain how you did it?<P>------------------ |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 04-01-2000 09:42
Ah! All of my trigonometry formulas are cribbed verbatim from an old high school trig book. You didn't throw yours out did you? ;-) Sadly, I don't even have that book right now, it's out on loan and not returned. Reference books are wonderful things! You can probably pick up a used textbook like this at a used book store for about $5.00, worth every penny.<P>Any math majors out there? Speak up now, I'm not able to be as much help here as I'd like!<P>-doc- |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-01-2000 19:12
Well, I'm no math major, but I'm in High School and I still have my math book!<P>If you want to change a value given in radians to degrees, divide the radian value by pi (Math.PI in JavaScript) and multiply by 180. To convert from degrees to radians, divide by 180 and multiply by pi.<P>If you try it, you may find that radians are sometimes easier to work with than degrees. 2pi radians = 360 degrees.<P>Does that help? Or were you looking for help on something more specific?<P>------------------ |
Bipolar (III) Inmate From: Alaska, USA |
posted 04-02-2000 03:52
Man someone horked your trig textbook Doc?! <P>I get a kick reading your stuff sometimes slime...this one (I have no idea what you said by the way) post is like reading stereo instructions. You were probably dead serious too huh?<P>I like that about you BTW...<P>As for me, I come from a serious background so I venture here to relax and maybe learn something. In this case although I failed to learn anything about math, I did find out something about myself, which is I find humor in many more things than I used to...<P>Even if that wasn't the intent, but then I'm a lunatic...what did you guys expect?<P> <IMG SRC="http://www.ozones.com/forum/wink.gif"> |
Bipolar (III) Inmate From: Alaska, USA |
posted 04-02-2000 03:53
One of these days, maybe you can show us how to do the circling jewel thing for ouselves Doc?<P>------------------ |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-02-2000 04:26
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by 2winspapa: |
Nervous Wreck (II) Inmate From: Melbourne, Australia |
posted 04-02-2000 04:55
Thanks for your info Slime but I cant get that to work for me. I thought I would remember a bit more than I do but it has been a long time since high school. I guess I will have to do some reading. |
Bipolar (III) Inmate From: Alaska, USA |
posted 04-02-2000 10:40
Just kidding around slime. when someone suggests that something reads like, or sounds like "stereo instructions" it's a way of saying that it sounds very technical, or in this case your extreme hybolication was too profound for my intense comprehension (did I say that right?...D'oh!)<P>^_^ <P>------------------ |
Nervous Wreck (II) Inmate From: Melbourne, Australia |
posted 04-02-2000 14:49
Slime: After playing around with those formulas, I now understand them and have my script working. Using Radians is not as hard as I thought it would be. |
Obsessive-Compulsive (I) Inmate From: Honolulu, Hawaii |
posted 04-03-2000 10:24
<SCRIPT language="JavaScript">/* |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-02-2000 02:23
hmmmmmmmm...<P>[img]http://www.bitdamaged.com/graphics/bitsig.gif |
Maniac (V) Inmate From: under the bed |
posted 06-02-2000 03:51
Good to see you are around still bitdamaged <img border=0 align=absmiddle src="http://www.ozones.com/forum/biggrin.gif"><P> |