Problem 42531. volume of torus
Find volume of torus with a as major radius and b as minor
Solution Stats
Problem Comments
-
3 Comments
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 Comments
Show commentsProblem Recent Solvers51
Suggested Problems
-
Extract leading non-zero digit
2197 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2679 Solvers
-
Reverse the elements of an array
1088 Solvers
-
179 Solvers
-
Matlab Basics II - Count rows in a matrix
395 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!