PDA

View Full Version : Maths and Physics



face_master
04-28-2002, 05:12 AM
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

stevey
04-28-2002, 05:39 AM
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 !!:)

Clyde
04-28-2002, 05:44 AM
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.

stevey
04-28-2002, 06:59 AM
oh yeah true

i guess i was counting that as 'maths formulae' but it is physics...

taylorguitarman
04-28-2002, 09:54 AM
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.

Shiro
04-28-2002, 09:55 AM
Math can also be used
- to prove that software is correct
- to derive algorithms

dbaryl
04-28-2002, 11:49 PM
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?

tidda
04-29-2002, 03:46 AM
the brain needs to work out regularly in order to stay fit for programming. maths and physics do just that.

OxYgEn-22
04-29-2002, 03:53 PM
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.