{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Calculate circle area

Calculate circle area - circleArea(3> 28 circleArea(5>...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 %circleArea(number) -> number %Description: % This function computes the area of a circle given the radius. %Examples: %
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: circleArea(3) -> 28 % circleArea(5) -> 78 % circleArea(45) -> 6362 function x = circleArea (radius) x = pi * radius * radius...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online