Results 1 to 4 of 4

Math Help - [SOLVED] help re-writing this formula to find "h"

  1. #1
    Newbie
    Joined
    Apr 2009
    Posts
    3

    [SOLVED] help re-writing this formula to find "h"

    Hello,

    This is what I have now:

    20.83=(h/600)*100
    or
    p= (h/s)*100

    So h is 125 in this case, however in my code I'll have something like this:

    Code:
    var p=20.83;
    var s=Stage.height;
    
    var h=....

    I need the formula to find h, I am using this to calculate the correct height of different page elements on a liquid display web page.

    thanx
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Mar 2007
    Posts
    1,240

    Talking

    Quote Originally Posted by codemaster View Post
    20.83=(h/600)*100

    I need the formula to find h....
    First note that 100/600 = 1/6, so your equation simplifies immediately to "20.83 = h/6".

    Then multiply through by 6.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Apr 2009
    Posts
    3
    thanks, but what i need is to change this

    p= (h/s)*100

    to

    h=

    p and s are variables...
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    Apr 2009
    Posts
    3
    never mind got it:

    h=(s*p)/100
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 2
    Last Post: June 4th 2011, 01:11 PM
  2. Replies: 1
    Last Post: June 4th 2010, 11:26 PM
  3. Replies: 1
    Last Post: January 23rd 2008, 05:12 PM
  4. Replies: 5
    Last Post: August 12th 2007, 11:46 AM
  5. "Writing a Radical Quotient in Lowest Terms"
    Posted in the Algebra Forum
    Replies: 2
    Last Post: February 5th 2007, 08:09 PM

Search Tags


/mathhelpforum @mathhelpforum