Solver Volume for a Frustum of Cone
Algebra
->
Volume
-> Solver Volume for a Frustum of Cone
Log On
Geometry: Volume, Metric volume
Geometry
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'Volume for a Frustum of Cone'
This Solver (Volume for a Frustum of Cone)
was created by by
zerosignal(28)
:
View Source
,
Show
,
Put on YOUR site
About zerosignal
:
mechanical engineer
==section input Find volume for a frustum of cone: "r" is top radius *[input r=3] "b" is base radius *[input b=4] "h" is height *[input h=5] ==section solution perl $v = ((1.0472*$h)*(($b*$b)+($b*$r)+($r*$r))); print "Volume for a frustum of cone {{{V=1.0472*h*(b^2+br+r^2) = 1.0472*$h*($b^2+$b*$r+$r^2) = $v}}}"; ==section output v ==section check