diff options
Diffstat (limited to '1553/CH4/EX4.10/4EX10.sce')
-rw-r--r-- | 1553/CH4/EX4.10/4EX10.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH4/EX4.10/4EX10.sce b/1553/CH4/EX4.10/4EX10.sce new file mode 100644 index 000000000..ae7fb45c8 --- /dev/null +++ b/1553/CH4/EX4.10/4EX10.sce @@ -0,0 +1,8 @@ +//chapter 4 Ex 10
+clc;
+clear;
+close;
+ratioXY=6/5; //the ratio of x/y
+//dividing the equation (x^2+y^2)/(x^2-y^2) by y^2 we get (x/y)^2+1/(x/y)^2-1
+value=(ratioXY^2+1)/(ratioXY^2-1);
+mprintf("The value of expression is %.2f",value);
|