summaryrefslogtreecommitdiff
path: root/1553/CH1/EX1.23/1Ex23.sce
blob: a60fb41842028c04e39a7cda51c7171b394a1727 (plain)
1
2
3
4
5
6
7
8
9
//chapter 1 Ex 23
clc;
clear;
close;
//let value to be found is x
numerator=(893+786)^2-(893-786)^2;
denominator=893*796;
x=(numerator/denominator);
mprintf("x=%.0f",x);