summaryrefslogtreecommitdiff
path: root/1553/CH3/EX3.8/3Ex8.sce
blob: 9ca5b7b2501f29029935ff76ac8865a17b5ce38a (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter 3 Ex 8
clc;
clear;
close;
//let value to be found is x, y and z
x=2.61*1.3;
y=2.1693*1.4;
z=0.4*.04*.004*40;
mprintf("(i) x=%.3f",x);
mprintf("\n(ii) y=%.5f",y);
mprintf("\n(iii)z=%.5f",z)