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

Printable View

- 04-28-2002face_masterMaths 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-2002steveyRe: Maths and PhysicsQuote:

*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

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-2002Clyde
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-2002stevey
oh yeah true

i guess i was counting that as 'maths formulae' but it is physics... - 04-28-2002taylorguitarman
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-2002Shiro
Math can also be used

- to prove that software is correct

- to derive algorithms - 04-29-2002dbaryl
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-2002tidda
the brain needs to work out regularly in order to stay fit for programming. maths and physics do just that.

- 04-29-2002OxYgEn-22Physics
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.