Compute on Matlab (no loops) Please
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.
Compute on Matlab (no loops) Please
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Compute on Matlab (no loops) Please
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!