Compute on Matlab (no loops) Please

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Compute on Matlab (no loops) Please

Post 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 34 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply