summaryrefslogtreecommitdiff
path: root/1322/CH15/EX15.11/117ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1322/CH15/EX15.11/117ex1.sce')
-rwxr-xr-x1322/CH15/EX15.11/117ex1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1322/CH15/EX15.11/117ex1.sce b/1322/CH15/EX15.11/117ex1.sce
new file mode 100755
index 000000000..ad04d3704
--- /dev/null
+++ b/1322/CH15/EX15.11/117ex1.sce
@@ -0,0 +1,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