Pages: 1
Topic closed
I can't figure out what these do or mean? Can someone explain this block for me?
Offline
abs-absolute value - states the distance from 0 (easy way to remember it: Makes all negative numbers positive)
sqrt-Square root - you probably know what that is.
sin-Sine - I don't know (very complicated)
cos-Cosine - I don't know (very complicated)
tan-Tangent - I don't know (very complicated)
Last edited by coka (2010-06-26 16:27:36)
Offline
sin, cos and tan - useful for your maths exam and measuring right-angled triangles. Basically, trigonometry. Some games that use physics use these. Also fun to play with pen - make pretty images.
Offline
coka wrote:
abs-absolute value - states the distance from 0 (easy way to remember it: Makes all negative numbers positive)
sqrt-Square root - you probably know what that is.
sin-Sine - I don't know (very complicated)
cos-Cosine - I don't know (very complicated)
tan-Tangent - I don't know (very complicated)
Tangent is basically a line over a circle.
I have no idea how to get it, but I think it has to do something with the radius and diameter.
Offline
Paddle2See made a great post a few years ago as to what their full names are: here it is.
In addition to the full names of each of the advanced mathematical functions, this post I made a while back might help explain what they actually mean.
Offline
You can always test them out. Make aa simple application that figures the some of some number using all these methods. When I wrote out Sin and Cos results of 0-100 by 5s, I saw how they can be used to do curves. For example, change x and/or y by cos (a variable that changes like from 1 - 100) then watch a sprite follow that path while outputting the variable to the screen so you can watch it at the same time.
Last edited by Locomule (2010-06-27 17:14:05)
Offline
Topic closed
Pages: 1