summaryrefslogtreecommitdiff
path: root/1553/CH5/EX5.4/5Ex4.sce
blob: b0c8dee21c08d64771ae93ab70a461258ec5b6e0 (plain)
1
2
3
4
5
6
7
8
9
//chapter 5 Ex 4
clc;
clear;
close;

//let the value to be found out be x
a=6; b=15; c=3;
x=sqrt((a+2)*(b+3))/(c+1);
mprintf("x=%.0f",x);