Volume of a cylinder
37 views (last 30 days)
Show older comments
I seem to have run in to a problem with an assignment part A- Having radius r1=8 and height h1=15 Calculate volume of cylinder V1 (formula v=pi*r^2*h)
>>r1=8
>>h1=15
>>V1=pi*(r1^2)*h1
Now here's the problem, Part B- Using h1 from part A find radius r2 of another cylinder V2 that has a volume greater by 20% than that of V1. If anyone could guide me through part B
1 Comment
Adam
on 4 Nov 2016
What are you having trouble with? The maths or the coding of the maths? The coding seems very simple once you have written down the relevant equation.
Accepted Answer
James Tursa
on 4 Nov 2016
Seems like you have this information:
V1 = pi*(r1^2)*h1 <-- this is all known
V2 = 1.2 * V1 <-- this is given
V2 = pi*(r2^2)*h1 <-- this is volume of V2 using r2 and h1
You just need to solve for r2 using the above.
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!