Problem 47864. Calculate the Surface Area of an Ellipsoid
46.43% Correct | 53.57% Incorrect
Last Solution submitted on Nov 30, 2022
Rafael S.T. Vieira on 7 Nov 2022
Please, don't use the function isequal with floats. Apply a tolerance to the test suite: abs(a-b)<1e-4. My code computes the exact value for the area (using incomplete elliptic integrals of the first and second kind), and has trouble with rounding issues.
Solution CommentsShow comments
Problem Recent Solvers8
Matrix indexing with two vectors of indices
Combinations without using nchoosek
How many unique Pythagorean triples?
More from this Author50
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!