diff options
Diffstat (limited to '854/CH5/EX5.3/Example5_3.sce')
-rwxr-xr-x | 854/CH5/EX5.3/Example5_3.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/854/CH5/EX5.3/Example5_3.sce b/854/CH5/EX5.3/Example5_3.sce new file mode 100755 index 000000000..c7e0ad1c2 --- /dev/null +++ b/854/CH5/EX5.3/Example5_3.sce @@ -0,0 +1,19 @@ +//clear//
+//Caption: Program to determine the equation of the streamline passing through any point P
+//Example5.3
+//page 128
+clc;
+x = sym('x');
+y = sym('y');
+z = sym('z');
+C1 = integ(1/y,y)+integ(1/x,x);
+disp(C1,'C1 = ')
+C2 = exp(C1);
+disp(C2,'The Stream line Equation C2 = ')
+C2 = limit(C2,x,2);
+C2 = limit(C2,y,-1);
+disp(C2,'The value of constant in the streamline equation passing through the point P is C2=')
+//Result
+//C1 = log(y)+log(x)
+//The Stream line Equation C2 = x*y
+//The value of constant in the streamline equation passing through the point P is C2 = -2
|