Caculate the area of below ellipse.
So, input x = [a b], numeric vector when a, b are not zero.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers68
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15798 Solvers
-
Sum of first n positive integers
624 Solvers
-
783 Solvers
-
7715 Solvers
-
Double all elements in the array
2354 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I think the problem answer is incorrect.
The area is pi*a*b for a standard ellipse (x^2/a^2 + y^2/b^2 = 1)
and not the one that is mentioned. So according to the problem statement, the answer should be pi*sqrt(a*b)
Thank you Dyuman.
I missed the terms of the square.
I modified the form of the ellipse equation.