math question

This is a discussion on math question within the Tech Board forums, part of the Community Boards category; Meow? Math question. Which is the correct way of doing this? Say i have a math problem of AB2 <ab ...

  1. #1
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

    math question

    Meow? Math question. Which is the correct way of doing this?

    Say i have a math problem of AB2 <ab squared> converting it to c.

    1 Do you multiply a times b then square
    2 Do you square b then multiply by a

    example a = 3 b =7

    if you do it by number 1 you have 3*7 = 21 then square = 441

    if you do it by number 2 you have 7 squared = 49 then times 3 = 147

    which is the correct answer? Meow?

    i have one book that says one way and another that says the other way?

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    BEDMAS

    Brackets, exponents, division, multiplication, addition, subtraction

    so, 2.

  3. #3
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    please someone correct me if i'm wrong, but i think you do it this way.

    value of (a) multiplied by the value (b) squared
    ab^2 = a * b^2 = 3 * 7^2 = 3 * 49 = 147
    someVariable = a * sqrt(b);

    otherwise you would need to do the following.
    (ab)^2 = (a)^2 * (b)^2 = 3^2 * 7^2 = 9 * 49 = 441
    notice how the brackets change everything
    Last edited by xddxogm3; 05-01-2006 at 10:30 PM.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  4. #4
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    good news.... eighter one give you an answer

    bad news .... only a 50% chance of getting a correct answer

    so if e = mv2 energy equals velosity squared
    you square v then multiply by mass of 3grams? to get the energy correct answer. of 147 g/ftsec

    ok thank you

  5. #5
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    If there are no parenthesis, like in e = mv^2, it means the same as e=m*(v^2), i.e. square v first, then multiply.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  6. #6
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Assuming you are talking about kinetic energy, the equation is 1/2 mv^2, and you need to use consistent units, or the answer will be meaningless.

  7. #7
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    thank you anonytmouse i forgot what the exact formula was and what units were used. i could not figure out if one of the books was wrong or if i had messed up. book wrong. besides the energy formula there are other things that use the d =ab^2 type math statement. so i thought i had better check to make sure i was doing things correctly. thank you all again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another exercise question
    By luigi40 in forum C# Programming
    Replies: 3
    Last Post: 11-28-2005, 02:52 PM
  2. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 08:22 PM
  3. More a math question than an algorithm
    By Gustaff in forum C Programming
    Replies: 1
    Last Post: 01-28-2003, 12:10 PM
  4. Stupid Math Question....really stupid
    By ToLazytoSignIn in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 01-16-2003, 06:36 PM
  5. Math Question
    By DarkEldar77 in forum C++ Programming
    Replies: 2
    Last Post: 09-17-2001, 12:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21