Cylinder Calculator - Volume Area Radius Height

In summary, the conversation discussed a versatile cylinder calculator that can calculate two variables (Volume, Area, Radius, Height) when given the other two. The calculator uses two equations, one for volume and one for area, and can be solved using Cramer's Rule or by rearranging one equation in terms of one variable and substituting it into the other equation. This leads to three possibilities for the radius, but only two are valid since a negative radius is not possible.
  • #1
wolf1728
Gold Member
38
5
Maybe I'm plugging my website but I just finished writing a versatile cylinder calculator.

If you know two variables (Volume Area Radius Height), it calculates the other two.
http://www.1728.org/diam.htm

It was a little tricky deriving the formulas but I'm glad I did.
(Yes, I know if you only know the area and volume it can't calculate the radius and height but it can solve the other 5 combinations).
 
Mathematics news on Phys.org
  • #2
Why can't you specify the radius and height given volume and area?
 
  • #3
You should be able to come up with 2 possibilities for the radius and height, given the volume and the area...
 
  • #4
That's an interesting question you both raised.
The same volume can be stated in an infinite number of ways.
(Example: A cylinder with a height of 13 cm and a radius of 6 cm has the exact same volume (about 1,470 cubic centimeters) as a cylinder with a height of 15 cm and a radius of 5.585 cm. and so on).
So I thought knowing the volume and area would not narrow things down.
However, those 1,470 cubic centimeter cylinders would have different areas and this might be a way to narrow things down.
 
  • #5
Well of course, using that same logic you'd be able to find an infinite number of cylinders with a given radius r. It's only until we also restrict h that we get a specific result.

As SSWheels mentioned, you can find two values for r and h given a specific V and A.

What also might interest you is that solving this problem will lead you to find a certain bound on what A must at least be given some V. For example, you can't possibly have an area of 10 given a volume of 100.
 
  • #6
I can see that by setting up two simultaneous equations:

Area = (2•Pi•r²) + (2•Pi•r•height)
Volume = (2•r²•height)

I could use Cramer's Rule https://en.wikipedia.org/wiki/Cramer's_rule to set up determinants and solve for radius and height.

The only problem with that is Cramer's rule can only be applied to linear equations.
If you have any suggestions to solve this I would greatly appreciate it.
Thanks.
 
  • #7
One classical way of solving two simultaneous equations in two unknowns is to rearrange one of the equations so that it expresses one of the unknowns as a formula in terms of the other. You then substitute the resulting formula into the other equation and see what you get.
 
  • #8
wolf1728 said:
I can see that by setting up two simultaneous equations:

Area = (2•Pi•r²) + (2•Pi•r•height)
Volume = (2•r²•height)

...

If you have any suggestions to solve this I would greatly appreciate it.
Thanks.

You mis-typed the volume equation. It should read [itex]V = \pi r^2h[/itex]

Well, you have 2 equations with 2 unknowns, [itex]r[/itex] & [itex]h[/itex] (height).
So, rearrange (solve) one equation in terms of one variable and substitute in the other equation.
That will give you 1 equation with 1 unknown, which can then be solved.

I found it easiest to solve the volume equation in terms of [itex]h[/itex] (solving in terms of [itex]r[/itex] would result in a square root, which would make things messier).

So, [itex]h = \frac{V}{\pi r^2}[/itex]

Substitute this into the Area equation:
[tex]A=(2\pi r^2)+(2\pi rh)\\
A=(2\pi r^2)+(2\pi r\cdot\frac{V}{\pi r^2})\\
A=(2\pi r^2)+(\frac{2V}{r})[/tex]
Then, solve for [itex]r[/itex]

This will result in a cubic equation that will yield 3 real numbers as possibilities for [itex]r[/itex], however one of those real numbers will be negative. Since we can't have a negative radius, that leaves 2 possibilities for [itex]r[/itex].
 
  • Like
Likes 1 person
  • #9
Thanks SSWheels !
I'll see what I can set up in that cylinder calculator I wrote.
 

1. How do you calculate the volume of a cylinder?

The formula for calculating the volume of a cylinder is V = πr^2h, where V stands for volume, π is a mathematical constant with a value of 3.14, r is the radius of the cylinder, and h is the height of the cylinder.

2. Can you find the area of a cylinder using this calculator?

Yes, this cylinder calculator can also find the area of a cylinder. The formula for calculating the area of a cylinder is A = 2πrh + 2πr^2, where A stands for area, π is a mathematical constant with a value of 3.14, r is the radius of the cylinder, and h is the height of the cylinder.

3. What is the difference between radius and height in a cylinder?

The radius of a cylinder is the distance from the center of the circular base to the edge, while the height is the distance between the two circular bases. In other words, the radius determines the size of the circular base, while the height determines the overall height of the cylinder.

4. How accurate is this cylinder calculator?

This cylinder calculator uses precise mathematical formulas to calculate the volume, area, radius, and height of a cylinder. As long as the input values are accurate, the calculator will provide accurate results.

5. Can this calculator be used for any type of cylinder?

Yes, this calculator can be used for any type of cylinder as long as the dimensions are provided. This includes right cylinders, oblique cylinders, hollow cylinders, and more.

Similar threads

Replies
6
Views
2K
  • General Math
Replies
3
Views
2K
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
551
  • General Math
Replies
6
Views
12K
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
718
  • Electrical Engineering
Replies
6
Views
1K
Replies
1
Views
2K
Back
Top