Help?

Joined
Oct 27, 2019
Messages
1
Reaction score
0
How do I fix this error


• Write/define a function area_circle that takes in the radius to calculate and return the area of a circle. (Note: You can take pi to be 3.142)

• Write/define a function area_triangle that takes in the base and height to calculate and return the area of a triangle. (Note: Area of triangle = (base * height) /2)

• Use the above functions to calculate the total area of the shaded region in the figure below and print the result.
 

Attachments

  • Screen Shot 2019-10-27 at 12.59.13.png
    Screen Shot 2019-10-27 at 12.59.13.png
    102.4 KB · Views: 130
  • Screen Shot 2019-10-27 at 13.05.57.png
    Screen Shot 2019-10-27 at 13.05.57.png
    42.9 KB · Views: 123

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top