Thread: Maths and Physics

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    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

  2. #2
    My diaper's full....... stevey's Avatar
    Join Date
    Nov 2001
    Posts
    746

    Re: Maths and Physics

    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 !!
    Steve

  3. #3
    The Earth is not flat. Clyde's Avatar
    Join Date
    Mar 2002
    Posts
    1,403
    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.

  4. #4
    My diaper's full....... stevey's Avatar
    Join Date
    Nov 2001
    Posts
    746
    oh yeah true

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

  5. #5
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    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.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Math can also be used
    - to prove that software is correct
    - to derive algorithms

  7. #7
    back? dbaryl's Avatar
    Join Date
    Oct 2001
    Posts
    597
    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?
    This is my signature. Remind me to change it.

  8. #8
    Registered User tidda's Avatar
    Join Date
    Mar 2002
    Posts
    37
    the brain needs to work out regularly in order to stay fit for programming. maths and physics do just that.
    -tidda

  9. #9
    Registered User OxYgEn-22's Avatar
    Join Date
    Apr 2002
    Posts
    36

    Talking 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.
    Is that air you're breathing?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. summer work
    By EvBladeRunnervE in forum Game Programming
    Replies: 3
    Last Post: 05-17-2004, 02:34 PM
  2. Imagination
    By Jet_Master in forum A Brief History of Cprogramming.com
    Replies: 133
    Last Post: 06-11-2002, 03:21 PM
  3. physics and maths
    By iain in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 01-30-2002, 12:32 PM
  4. Maths, Physics and C
    By mithrandir in forum C Programming
    Replies: 5
    Last Post: 09-04-2001, 08:59 AM