its the block that has sqrt of 10 (sqrt has a pull down menu). can you help me understand these terms.
Offline
Say you square 3. It gives you 9 (3x3=9). 3 is the sqare route of 9. Comprendo? sqrt stands for square route.
EDIT: in case you don't get it...
64 squared=4096 ( I did that in my head, I'm proud)
What's the square route of 4096? 64. Square route is what number you square to get your number.
Last edited by coolstuff (2008-08-15 19:10:02)
Offline
oh thanks but can you explain the other ones on the droop down menu (i know last two and now the first on too)
Offline
Alright, I'll tell you what I know:
abs=absolute value - turns negative to positive.
sqrt=square route - you already know.
sin=sine - hard to explain, read on for link to explanation
cos=cosine - see sine
tan=tangeant - see sine
asin,acos,atan=no clue- no clue
e ^=exponent - don't know how to use but I know squares/cubes, etc. a number
10 ^=to the power of 10 (I think)
For info on Sine, Cosine, Tangeant, see http://scratch.mit.edu/forums/viewtopic.php?id=5326
Last edited by coolstuff (2008-08-15 19:17:24)
Offline
e^ and 10^ have to do something with log^ . And asin, acos, and atan are the opposite of sin, cos, and tan
Offline
coolstuff wrote:
Now I think about it... How do you use 10 ^ and e ^?
You would use 10^ to raise 10 to the power of whatever number you give it. It is the inverse of the base 10 logarithm function (log).
The e^ raises Euler's constant (pronounced "Oilers") ,which is approximately 2.718, to whatever power you give it. It is the inverse of the natural log function (ln).
When would you use these functions? If you were doing certain heat transfer equations...or electronics and a number of other areas. Not something you typically need for game programming but handy for engineering.
Offline
Paddle2See wrote:
coolstuff wrote:
Now I think about it... How do you use 10 ^ and e ^?
You would use 10^ to raise 10 to the power of whatever number you give it. It is the inverse of the base 10 logarithm function (log).
The e^ raises Euler's constant (pronounced "Oilers") ,which is approximately 2.718, to whatever power you give it. It is the inverse of the natural log function (ln).
When would you use these functions? If you were doing certain heat transfer equations...or electronics and a number of other areas. Not something you typically need for game programming but handy for engineering.
Wow... not at all what I was thinking they did.
Offline
asin, acos, and atan are Inverse Sin, Inverse Cos, and Inverse Tan.
They basically do the same as sin, cos and tan but in reverse. Say the sine of an angle is 0.5. If you put in asin(0.5), the answer will be 30 because the sine of 30 is 0.5.
o.O
Offline