Page 1 of 1

Compute on Matlab (no loops) Please

Posted: Thu Jul 14, 2022 2:27 pm
by answerhappygod
Compute on Matlab (no loops) Please
Compute On Matlab No Loops Please 1
Compute On Matlab No Loops Please 1 (71.85 KiB) Viewed 35 times
2. Compute the volume of a tank as a function of its height. Create a program that asks the user for the height. If the user inputs a number above 33 the program should display an error statement that says "Error - Too high", and if the user inputs a negative number the program should display "No negative numbers". The program should then compute the volume of the take base on the input height of the tank and output a statement that says "The volume in the tank is #\#\#\# cubic meters." Assume the tanks are round.