Problem 60331. Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex at the point (-a,0) and the top vertex at the point (0,c). The centers of five circles, shown with Xs, are located at the midpoints of the upper two sides, the altitude from the top vertex, and the segments from the two bottom vertices to the point where the altitude meets the bottom side. The radii of the five circles are equal to half the length of the respective segments. Then the Q is formed by the four shaded regions.
Write a function to compute the area of the Q (i.e., the total area of the shaded regions) given a and c.
Solution Stats
Problem Comments
-
1 Comment
ChrisR
on 19 May 2024
Tip: You can certainly use the techniques in CP 60301, but the Q involves a special case of that problem. See the tags for more hints.
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
1221 Solvers
-
1574 Solvers
-
Arrange Vector in descending order
11231 Solvers
-
541 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
375 Solvers
More from this Author278
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!