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