Problem 42531. volume of torus
22.84% Correct | 77.16% Incorrect
Last Solution submitted on Dec 08, 2022
Alfonso Nieto-Castanon on 24 Aug 2015
solutions are rounded in a somewhat arbitrary fashion...
Jihye Sofia Seo on 10 Feb 2017
Your value of pi is wrong.
Rafael S.T. Vieira on 28 Aug 2020
The problem should specify that the used value for pi is 3.1416 (since this is not its true value), and that we need to use floor with precision of 4 decimal places.
Solution CommentsShow comments
Problem Recent Solvers49
Program an exclusive OR operation with logical operators
Set the array elements whose value is 13 to 0
Output any real number that is neither positive nor negative
More from this Author16
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!