blob: d59581f5d40698d243cff4fba21d35c46b4c2e4b (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Chapter 25 Ex 10
clc;
close;
clear;
scube=15; lvessel=20; bvessel=15; //all in cemtimeter
volcube=(scube)^3;
areavessel=lvessel*bvessel;
rise=volcube/areavessel;
mprintf("The rise in water level is %.2f cm",rise);
|