In this screencast:
- Example of volume of a water tank
- Writing a function with an
if-else
statement to calculate water volume for different water heights
Download m-file: watervol.m
In this screencast:
if-else
statement to calculate water volume for different water heightsDownload m-file: watervol.m