Question: ( 5 points each ) Write the MatLab commands that do the following: Asks the User for their first name and store the result in

(5 points each) Write the MatLab commands that do the following:
Asks the User for their first name and store the result in a variable called firstName (suppress output of the result).
Asks the User for a radius and store the result in a variable called userRadius (suppressed output). You may assume the radius is a floating point number..
Write the command line to calculate the area of the circle given by the radius entered in 2). Store the area in a variable called circleArea (suppressed output).
Displays the phrase 'Thanks!' followed by the User's first name given in 1).
 (5 points each) Write the MatLab commands that do the following:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!