Compute the area of a lune - MATLAB Cody - MATLAB Central

Problem 60301. Compute the area of a lune

Difficulty:Rate
Write a function to compute the area of the shaded moon-shaped region in the figure below—that is, the area of a smaller circle that does not overlap with a larger circle. The input will be the radius a of the smaller circle, the radius b of the larger circle, and the separation c between centers of the circles.

Solution Stats

88.89% Correct | 11.11% Incorrect
Last Solution submitted on Oct 17, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers7

Suggested Problems

More from this Author290

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page