![]() |
Math Thread.
I know a lot of things in graal are math orented, and I can do the math, but I don't really know the terms. So what I say is we have a thread where everyone who knows what the terms in math mean they tell eachother, because I have some problems with telling people about what I need. Like for example maybe we could make a like terms list, because it seems that people like Kaimetsu know their stuff very well, and could help me and probably many fellow scripters. Also we could post here about how to do other advanced mathematics, and whatever we wanted. I would really like to be more knowledgable in math, and I believe that the people here could help. Thanks and I hope this turns out well.
|
how to emulate Z-Axis movement?
I do not realy understand the way u have to move objects it seems they are moving in 3 dimensions... (formular and explanation not a whole script ;) ) |
(A x A) + (B x B) = (C x C)
|
What parameters would A,B, and C controll?
|
Heh, no clue. Z-Axis? is that like the way that kaimetsu had that 3d engine?
|
I dont know but there's an undocumented command called [i dont know if i can reveal it =P] but i dont know what it does or what it's for x_X
|
a squared plus b squared equals c squared
|
Quote:
|
LOL
(a*a)+(b*b)=(c*c) a^2+b^2=c^2 might i say this is the pathagoem theorm.. mispelled though.. all scripters should know what this is if not go back to school u stupid people.. u learn in geometry and algebra 2 and above.. i dont think u learn in algebra 1 but u might. a= one side b=second side c=the hypotenuse.. the formual for a trigange.. the hypotenuse is the side oposite the right angle Saga ... Past Austin.. u can just ask me.. lol... I'm in precalculs.. lol.. Come on.. this stuff is really easy.. And Have u finished the system... Yet... i have not seen u... if u dont get it done.. soon.. come on... i need to know... |
Quote:
|
also,
If two lines are perpendicular to a coplanor line, then the lines are parallel to each other ... |
actually.. i put it there for the stupid people
because every time i have seen it i see it as a^2+b^2=c^2 i was adding what u had for all the little people out there.. that are in 7th or 8th grade and trying to script and possibly. .9th but some of them know what there doing |
ya your point being.. with that
|
Quote:
|
Quote:
|
Quote:
|
Phytagoras is used for Z-Axis movement... hmmm this sounds logical... *slaps his head* omg I hadn't thought it should be that easy k thx people ^_^
|
I have 1 question, How do Arcus Tangens (arctan) Work?
What does it do with the input you give it? BTW, a LOG() scripting command would be nice... eg, finding how many place values something has. (could find how many decimal valuse too by doing int(log(var%1)) ) Logarithms are handy gagets :p |
Quote:
can someone give me an accurate description of what: 1.) Logarithms are. 2.) Vector...??? 3.) Where would you use pythagoreus? 4.) How can u use things like arctan to do anything useful? I am hoping my new reading experiance Elementary Modern Physics (Second Edition) by Richard T. Weidner / Robert L. Sells will help me, but if anyone has any other suggestions on criteria i should read to get more close to such math please butt in. |
Explanation of Things
Logs are just exponential equations written differently.
LOG x = x^b i believe. b Math teachers use it just to confuse you ;) Im not sure if arctan is co-tangent or just tangent. Tangent is sin(t)/cos(t) Cotangent is cos(t)/sin(t) Sin is a term used in trigenometry which is equal to to point y on a circle, divided by the radius of the circle so a circle with the radious 1, and the point on 0,1 would be sin(1).....which is equal to a number of radians (a circle divided evenly). the number of radians is for this (sin(1)) 1pi/2 where pi is that symbol that looks like half the capital letter H. (roughly 3.14). cos (which is cosine) is the same, except with the x value of the point. In order to find some points on a circle, pythagorean therom needs to be used. say you dont know the radious. The point is on 2,1. Supposing that the circle's center is positioned on the origin, this is where pt would come in. So, side a would be 2, because thats how many units you go over on the graph. Side b is 1, since that is how many units you go up. Now you have 2 legs of a triangle. The third leg, is from the point on the circle, to the origin. side c. Side c*c= a*a + b*b c*c= 2*2 +1*1 c*c=4+1 c*c=5 c=sqrt(5) so, the radious of the circle is the square root of 5 (which cannot evenly be factored out). Im not a teacher of mathematics, so some things may be off or just wrong. I'm only in the 10th grade, and in the second semester of Math Anaysis (sp). So, if someone else can explain it better, go ahead ;). I hope i helped you. A math education of Geometry or higher is recommended for scripters. |
ah, the invers of tan? Great thanks, I was stumped :p
|
Pythegoreum theorum (i can never spell that crap)
can be used really well for making stuff around the player. If you want to find a certain area around the player. Like a square, you just do it twice, or if you dont want to make a circle area around the player but a triangular one ..and etc.. whatever ur mind puts to it.. and yeah triangles are not used much . Circles are best ;) |
arctanget is used for finding a angel of a right trangel
arctangent is notated as tan^-1 tangent to -1 power.. same for arccos, arccot and so on Now sec is the opposite of sin which means if sine = 1/2 sec = 2/1 sin = y/hypotenuse cos = x/hypotenuse sec = hypotenuse/x csc = hypotenuse/y tan=sin/cos=y/x cot=cos/sin=x/y I am pretty sure i use pythageorm theom for.. finding the distance.. between 2 objects but its easyer to just use the distance formula which is squareroot((x1-x2)^2+(y1-y2)^2) |
Wow thanks a lot, I can do the math, but only if I know how the math is expressed. I too am in the 10th grade, I take IMP (Interactive Mathematics Program) and it is the crappiest education you'll ever get - heck though, easy A. Outside of school I take college classes and try to learn as much as I can since my teacher is as dumb as a goat. You have learned me well though ;) and dragon, I am still on ofter im me I will show you how far i am on the system.
|
Quote:
C^2=A^2+B^2-2AC*COS(C) (I think.) C^2=A^2+B^2 is only for Right Triangles. |
The hypotenuse is the side oposite the right angle, correct ?
|
Re: Re: Explanation of Things
Quote:
|
I spent my entire school day studying my algebra 2 book about the sines and cosines and asking people in pre cal and trig to help me learn. I learned a little but dont understand it fully
|
Quote:
|
my school has Trig and Pre-Calc separated into two diff semesters, I just finished Trig.
But anyway, when you think about it, sin-cos circles are just alot of right triangles! cause sin(a) = sideA/hypotenuse and cos(a) = sideB/hypotenuse ... tan(a) = sideA/sideB and so on.... |
Kammy i know.. u dont have to be a jerk about it..
I know thats pyathgoem theom.. but its refeared to as distance formula because it gives u the value of the hypotenuse which is distance from point a to point b.. and of course a circle can be considered many trigangles u can just rotate the triangle.. if u have taken trig u would easly know Yes i in 11th taking trig and precal both. |
sorry
I mixed up the logs :(
the CORRECT way is NPC Code: when b=10, x=2, c=100. b is the starting number, x is the power of that number to find 100 so: NPC Code: LOG has a base (b) of 10 normally. The LOG conversion is as follows NPC Code: Where 'q' is the base that you want (normally in place of 10) when b=10, c=49, and q=7: NPC Code: That will give you the value of NPC Code: Ok, I'm done with logs. If its wrong, correct me I guess, as for the tailor expansion, hahaha, funny ;). (Sorry about the edits, I wanted the equations to look correct.) |
Me.. so... confused... what kind of grade is it? I am in 9... I understand some of the stuff you say but not all...
here is a funny logic task that I stupidly answerd wrong... Bobby has 9 marbles, 2 red, 3 green, 4 blue, he put all of tem in apocket and takes one at a time without looking, how many marbles does he have to pull out to be sure that he has 3 of one color? |
Quote:
|
7
this is why: he can pull- red red green green blue blue which leaves- 1 green 2 blue so the next one has to make 3 of either green or blue so thats 7 pulled. |
i'm with nine...
|
Quote:
|
Bah i aint done maths in 3 years, this is A-Level stuff from what i have seen tho
|
It's seven.
|
i was joking so. :p. I did probibilities like 3 years ago. However, I have another question, if you were making a circular weapon select system, where it displays your weapons in a circle, like the hat trading thing BocoC made what would you do?
|
| All times are GMT +2. The time now is 08:22 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.