summaryrefslogtreecommitdiff
path: root/1322/CH15/EX15.11/117ex1.sce
blob: ad04d3704301109008dd1d8599dd252f6543a3b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

clear;
clc;
close;
x=poly(0,'x');
p1=3/(x-2);
p2=5/(x-1);
// given, 3/(x-2)=5/(x-1)
for x=0.0:0.1:10.0
if(3*(x-1)==5*(x-2))
  format(7)
x
   break
end
end