(Solved) : Write Matlab Script Asks Radius R Height H Cylinder M Entered Screen Prints Warning Either Q43966110 . . .
Write a MATLAB script that asks for radius r and height h of acylinder (in m) to be entered from the screen
Prints:
a) A warning if either of the entered numbers is negative orzero
b) “Cylinder is tall” if both numbers are positive, and h islarger or equal to 2r
c) “Cylinder is short” if both numbers are positive and h issmaller or equal to 0.5r
d) “Perfect cylinder” if both numbers are psgotve, and h isbetween 0.5r and 2r
Expert Answer
Answer to Write a MATLAB script that asks for radius r and height h of a cylinder (in m) to be entered from the screen Prints: a) …
OR