Question: MATLAB using the CASE structure to solve and the MENU command in the selection of the formula to calculate, write a program for the following:

A circular pipe of diameter D in meters, have an are of pi*radius^2 on m^2, and with a Q flow in m^3/s of water. Ask yhe user the size of the diameter D of a circular pipe. Then ask what it wants to calculate: 1- average speed 2- flow in accordance of what the user want, ask for the missing parameter. for example, if the user wants to calculate average speed, it needs to ask how much is the flow. If the user wants to calculate the flow, you need to clear the formula and then ask whats the average speed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
