Calculation Form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rando
    New Member
    • May 2007
    • 2

    Calculation Form

    Hello All!

    First of all, Great forums! Now my question:

    For a site I've to make an simple calculation forum, only I don't really know how to do so. This is what the script should do:

    Y = (2894/(1+259*e^(-0.0025*X))) *Z%

    And

    Y = (0.206*X+99) *Z%

    In both Formulae's the signs are:

    X = Arena Rating ( Has to be filled in by an visitor )
    Y = The Number of Arena Points ( The Answer of the Formulae )
    Z = in %, could be done best in an drop down menu, or check menu: ( Has to be filled in by an visitor )
    -> Z = 60% for 2v2
    -> Z = 80% for 3v3
    -> Z = 100% for 5v5

    Should someone be able to make an HTML / PHP Page for me with this in it?

    Many Thanks,

    Rando / Jim W. from Holland.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to TSDN.

    What code do you have so far?

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Originally posted by Rando
      Should someone be able to make an HTML / PHP Page for me with this in it?
      Probably. For a price ;)

      Check out JavaScript's Math object:
      W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

      Comment

      • Rando
        New Member
        • May 2007
        • 2

        #4
        Originally posted by acoder
        Welcome to TSDN.

        What code do you have so far?

        Not much yet, Still trying to set up something with the site the one above me gave me ;)

        Rando

        Comment

        Working...