Results 1 to 2 of 2

Math Help - [SOLVED] Need help solving a problem

  1. #1
    Newbie
    Joined
    Mar 2009
    Posts
    2

    [SOLVED] Need help solving a problem

    I am working on code for a game and need a math solution. I was hoping some one here could help me out. I have 3 fields: level, task, and reward. Level and task should equal rewards. Below is a list of how the results should look. What I'm looking for is one equation that will work for all cases. The equation needs to be written in a format similar to this (((task * 50) - (level * 10)) + 10).
    [html]Level Task Reward
    1 1 50
    2 1 40
    3 1 30
    4 1 20
    5 1 10
    2 2 100
    3 2 80
    4 2 60
    5 2 40
    6 2 20
    3 3 150
    4 3 120
    5 3 90
    6 3 60
    7 3 30[/html]
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Mar 2009
    Posts
    2
    It's funny how when you tell someone exactly what you are looking that the answer kind of shows itself. After posting the problem and then sleeping on it a came up with the solution. If anyone is interested it is:
    (task * 50) - ((level - task) * ((task * 50) * .2))
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. [SOLVED] Problem Solving
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: February 8th 2010, 06:38 PM
  2. [SOLVED] Problem Solving
    Posted in the Algebra Forum
    Replies: 2
    Last Post: May 8th 2009, 06:21 PM
  3. [SOLVED] Problem Solving
    Posted in the Discrete Math Forum
    Replies: 6
    Last Post: February 3rd 2009, 03:40 PM
  4. [SOLVED] Problem Solving help
    Posted in the Algebra Forum
    Replies: 10
    Last Post: May 2nd 2008, 03:03 AM
  5. [SOLVED] Big Problem Solving
    Posted in the Math Challenge Problems Forum
    Replies: 3
    Last Post: October 26th 2007, 12:55 PM

Search Tags


/mathhelpforum @mathhelpforum