|
-
Dec 15th, 2009, 09:09 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Surface Area of a Hollow Cylinder
Last edited by toecutter; Dec 16th, 2009 at 12:52 AM.
Reason: fixed
-
Dec 16th, 2009, 03:35 AM
#2
Re: Surface Area of a Hollow Cylinder
What's wrong with the second one when you run it? For calibration, for a cylinder of radius 70 units, height 40 units, the surface area of the cylindrical part is 2*pi*70*40 = 17592.91886 units^2. I don't really want to puzzle through your unit conversions to figure out what corresponds to what, but that will only move the decimal place around anyway.
Last edited by jemidiah; Dec 16th, 2009 at 03:41 AM.
The time you enjoy wasting is not wasted time.
Bertrand Russell
<- Remember to rate posts you find helpful.
-
Dec 16th, 2009, 03:47 AM
#3
Thread Starter
Frenzied Member
Re: Surface Area of a Hollow Cylinder
The second one returns 17.593 when i am trying to get 0.17593.
I have tried rounding and /1000 and i just cant seem to get the correct answer.
ps: i am working in millimeters just in case that pertains to anything
70mm and 40mm i even tried working in meters 0.07 and 0.04
regards
toe
-
Dec 16th, 2009, 04:30 PM
#4
Thread Starter
Frenzied Member
Re: Surface Area of a Hollow Cylinder
This seems to be working good enough
Code:
'http://www.calculatorfreeonline.com/calculators/cylinder.php?action=solve&last=rh&given_data=rh&r=.04&h=.07&units_length=meters&v=0.78539816339745&a=3.1415926535898
Dim cColumnHeightRound As Double = Double.Parse(Me.cmbColumnHeightRound.Text)
rRadius = Double.Parse(Me.txtRadius.Text)
Dim mM2 As Double = 2 * Math.PI * rRadius * cColumnHeightRound
mM2 = Math.Round(mM2, 0)
mM2 = mM2 / 1000
mM2 = mM2 / 1000
mM2 = Math.Round(mM2, 3)
Me.txtTotalM2Round.Text = mM2.ToString
-
Dec 16th, 2009, 07:22 PM
#5
Re: Surface Area of a Hollow Cylinder
What you've written would take measurements in millimeters and spit out measurements in square meters, which is apparently what you wanted (though you didn't say it). I'm not quite sure why you keep writing 0.17593; it's 0.017593 m^2, using my own calculation and the calculatorfreeonline.com calculator. Perhaps it's just a recurring typo.
The time you enjoy wasting is not wasted time.
Bertrand Russell
<- Remember to rate posts you find helpful.
-
Dec 16th, 2009, 07:26 PM
#6
Thread Starter
Frenzied Member
Re: Surface Area of a Hollow Cylinder
 Originally Posted by jemidiah
What you've written would take measurements in millimeters and spit out measurements in square meters, which is apparently what you wanted (though you didn't say it). I'm not quite sure why you keep writing 0.17593; it's 0.017593 m^2, using my own calculation and the calculatorfreeonline.com calculator. Perhaps it's just a recurring typo.
Its not a typo its my brain or lack of
All good now thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|