Volume of a cylinder
26 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rob A
am 4 Nov. 2016
Kommentiert: John D'Errico
am 25 Feb. 2019
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 Kommentar
Adam
am 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.
Akzeptierte Antwort
James Tursa
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!