Question: Write a Scilab code to enleulate the surface area and volume for cube, cuboid, cone, and cylinder. The user should specify the shape followed by
Write a Scilab code to enleulate the surface area and volume for cube, cuboid, cone, and cylinder. The user should specify the shape followed by the required dimension (ex. For cube input base, for cylinder input radius and height etc.......) Ask the war to the shape . If the mer entered any wrong shape other than mentioned above, display the manap Wrong Option Ask theme to enter the required dimension Ask the user to specify the repaired Surface or volume Display the specified Comment on machine in your code Part (2Continue in the same code) Consider a plot for the Cylinder (Surface area vs radius) wherer is the radius range from Im to 18m with 0.25m intervals, the height is 21m. Plot the Suradis for the reponding range of rates Furul your plot i stale for tale Provide a decide of your Label you and alles with its Chor of the linc la red color
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
