Volume of a cylinder

38 visualizzazioni (ultimi 30 giorni)
Rob A
Rob A il 4 Nov 2016
Commentato: John D'Errico il 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 Commento
Adam
Adam il 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.

Accedi per commentare.

Risposta accettata

James Tursa
James Tursa il 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 Commenti
Rashawn Bowen
Rashawn Bowen il 25 Feb 2019
how is 1.2 20%
John D'Errico
John D'Errico il 25 Feb 2019
If 1 is 100%. Then what number is 20% larger than 1?
Spolier: 1.2

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Fractals in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by