Question: Create a script named: Ex 1 B _ . m ( e . g . , Ex 1 B _ g _ zouridakis.m ) 2
Create a script named: ExBm eg ExBgzouridakis.m
In your script, define a variable to represent the radius of a circle.
a Set its value to
Using this radius, calculate and store in separate variables:
a The circumference of the circle
b The area of the circle
Next, consider an angle of degrees. In your script:
a Convert this angle to radians show the conversion formula
b Calculate and store the sine of this angle
c Calculate and store the cosine of this angle
Use the fprintf function to display all your results. Your output should include:
a The radius of the circle
b The calculated circumference
c The calculated area
d The sine of degrees
e The cosine of degrees
Make sure to label each result clearly in your output.
Make sure that in your script you write comments separating the steps above, like this:
Step
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
