question for math wizards


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    NSW, Australia
    Posts
    39

    Default question for math wizards

    I am using a pressure sensor that gives me .2V to 4.8V from 0 to 6 KPA

    I want to convert that firstly into mm H20 and then mm H2O to Knots. The first bit is easy. The equation for the mm H2O to knots is 7.7538*(mmH2O ^ .5).

    That where I am having the trouble with no FP Math

    All ideas welcome

    aajgss

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: question for math wizards

    SQR(mmH2O)*(504/65)

    SQR(mmH2O)*(1543/199)

    SQR(mmH2O)*(2551/329)

    SQR(mmH2O)*(31116/4013)

    Hint: Use MiscEl

    Careful with the math overflow
    Last edited by mister_e; - 30th May 2011 at 07:30.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Apr 2011
    Location
    NSW, Australia
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Re: question for math wizards

    Awesome stuff Steve

    Thanks for your help

    aajgss

    ps not sure what you mean by MiscE?

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: question for math wizards

    Give this a try...
    MiscEL
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Apr 2011
    Location
    NSW, Australia
    Posts
    39


    Did you find this post helpful? Yes | No

    Default Re: question for math wizards

    Got It!

    Thought it was a ! and not an l - old eyes no glasses. Often get told I need them - maybe I do


    Thanks
    aajgss

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: question for math wizards

    Quote Originally Posted by aajgss View Post
    Got It!

    Thought it was a ! and not an l - old eyes no glasses. Often get told I need them - maybe I do


    Thanks
    aajgss
    I know what you mean... without mine I walk into walls .. try stairs with a new pair of bifocals
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: question for math wizards

    Quote Originally Posted by aajgss View Post
    Got It!

    Thought it was a ! and not an l - old eyes no glasses. Often get told I need them - maybe I do


    Thanks
    aajgss
    You mean you tried to read that text and type it ? !!!

    Thank Jobs / Gates / Linus for copy/paste !
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts