# Maths and Physics

• 04-28-2002
face_master
Maths and Physics
This may sound dumb, but I'd just like to know what Maths and Physics have to do with programming. I mean, why are they important to learn to use in programming, if they are at all...

-Chris
• 04-28-2002
stevey
Re: Maths and Physics
Quote:

Originally posted by face_master
This may sound dumb, but I'd just like to know what Maths and Physics have to do with programming. I mean, why are they important to learn to use in programming, if they are at all...

-Chris

Physics is nothing to do with programming at all......but is a very interesting subject, concerning the very nature of our existance.

but mathematics is !! when you are presented with a problem, and need to program a solution, you will use mathematics and formulas etc

you are being dumb !!:)
• 04-28-2002
Clyde
Game programming often need physics.

Say you want to program a game of pong, you need to work out what the ball will do when it hits the boundary area, (it will bounce off) so you use an equation that governs reflection: physics.

The same is true of projetiles, though as far as i can see the physics used in programming is pretty simple stuff.

Basic Newtonian mechanics, V = U + at type stuff.
• 04-28-2002
stevey
oh yeah true

i guess i was counting that as 'maths formulae' but it is physics...
• 04-28-2002
taylorguitarman
Well considering computers are build off of mathematical concepts I'd say their is a close relationship. That's why many of the first programmers were actually mathematicians (it's a logical thinking thing). An interesting thing is they also tried to take musicians too because music has a great deal to do with math (if you get into music theory), turns out their brains are wired similar.
• 04-28-2002
Shiro
Math can also be used
- to prove that software is correct
- to derive algorithms
• 04-28-2002
dbaryl
Math - well, the application of thay you can probably see...

Physics - not exactly sure why they have you take it, but it's fun, so why not?
• 04-29-2002
tidda
the brain needs to work out regularly in order to stay fit for programming. maths and physics do just that.
• 04-29-2002
OxYgEn-22
Physics
Physics is neccecary in much 3D programming, because you will need to do stuff like collision detection and the likes. heh, no one really thinks of this in games but gravity is a big one, droping grenades and stuff, thats half physics (gravity big) and your math bit comes in here with the creation of a parabola and etc, to go into more detail if it hits a wall it will bounce off with X ammount of force and so on and so forth.