You have Ring which consist of inner and outer Circles with Radius r and R which are not given but you'll be given Hprizontal distance d which is Tangent to inner circle .
Calculate the Area of the Ring
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers25
Suggested Problems
-
Return a list sorted by number of occurrences
2902 Solvers
-
Sum all integers from 1 to 2^n
18266 Solvers
-
Find the largest value in the 3D matrix
1695 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
406 Solvers
-
612 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!
The way you use assert() in your test suite is not the way that that function actually works. I would invite you to adjust your test suite, since right now just about any solution will pass, including incorrect ones.
Updates -
> Comparing outputs using tolerance has been fixed.
> Tolerance modified as per values used.
@Abdelrahman Adel, you should check the updated test suite for future reference.