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
Getting the absolute index from a matrix
Change the first and last diagonal element of the identity matrix to zero
Append two matrix as shown below example
More from this Author16
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!