Problem 49815. Volume of Cylindrical Shell
Consider a cylinder with a non-zero thickness with an inner radius of r1 and an outer radius of r2. If the height of the cylinder is h, determine the volume of this cylindrical shell.
Solution Stats
Problem Comments
-
2 Comments
Md. Nayem Uddin Biswas
on 9 Jul 2022
Everything is okay. My function is performing well, and showing exact result for each test case. Yet my solution is not accepted. Fix this!
Christian Schröder
on 24 Oct 2022
You'll need to round to 4 decimal places to pass the test suite.
Solution Comments
Show commentsProblem Recent Solvers57
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49400 Solvers
-
Remove any row in which a NaN appears
8593 Solvers
-
Project Euler: Problem 10, Sum of Primes
1718 Solvers
-
519 Solvers
-
368 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!