Volume of a cylinder
37 次查看(过去 30 天)
显示 更早的评论
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 个评论
Adam
2016-11-4
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.
采纳的回答
James Tursa
2016-11-4
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!