the whole point is to find HEIGHT by the representing values of surface and height from being passed from (surface) sqFt to sqMeters and (weight) passed from lbs to kgs using the Height formula which will use the previous functions to calculate height into inches.
the whole point is to find HEIGHT by the representing values of surface and height from being passed from (surface) sqFt to sqMeters and (weight) passed from lbs to kgs using the Height formula which will use the previous functions to calculate height into inches.
Clear as mud! Can you explain further and/or give an example? And be clearer as to what your question actually is?
You do not call your functions function SqFeetToSqMeters(sqFeet)
and so on anywhere.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
I now find that the Mostella formula calculates body surface area from height and weight for medication doses. But the OP's script seems to calculate the subject's height from his weight and body surface area. That can't be right.
The formula is
BSA (m²) = ( [Height(cm) x Weight(kg) ]/ 3600 )½ e.g. BSA = SQRT( (cm*kg)/3600 )
or in inches and pounds: BSA (m²) = ( [Height(in) x Weight(lbs) ]/ 3131 )½
Given that the data can be input as Metric or Imperial I don't see the point of converting the units.
Note. My doctor tells me that I am exactly the correct weight - for a man 2.4 metres tall.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Note. My doctor tells me that I am exactly the correct weight - for a man 2.4 metres tall.
LOL! Boy, do I know that story! I'm not quite that bad, but close. (Would you believe we took a week long trip to Hawaii and I *lost* 8 pounds during the trip? And haven't gained it back. Woo hoo!)
(But I thought you were a doctor? Are you telling yourself that?)
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
LOL! Boy, do I know that story! I'm not quite that bad, but close. (Would you believe we took a week long trip to Hawaii and I *lost* 8 pounds during the trip? And haven't gained it back. Woo hoo!)
(But I thought you were a doctor? Are you telling yourself that?)
What gave you that idea? My formal qualifications are in law and accountancy, but I claim expertise in logistics and (some) computing also.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Huh...I thought I looked up your location with Google once upon a time and street view showed it to be a physicians office. Was over a year ago, so I don't remember the details or where I found the address. Likely was a bogus address and/or a shared office or some such?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Huh...I thought I looked up your location with Google once upon a time and street view showed it to be a physicians office. Was over a year ago, so I don't remember the details or where I found the address. Likely was a bogus address and/or a shared office or some such?
In fact Google Steet View missed out my road.
You were thinking perhaps of
Kilmeny Group Medical Practice
Kilmeny Surgery
50 Ashbourne Road
Ingrow
Keighley
BD21 1LA
That is not me!
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.