summaryrefslogtreecommitdiff
path: root/3720/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3720/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3720/CH4/EX4.1/Ex4_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3720/CH4/EX4.1/Ex4_1.sce b/3720/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..23c6da177
--- /dev/null
+++ b/3720/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,12 @@
+// Example 4_1
+clc;clear;funcprot(0);
+
+//Given values
+// u=0.5+0.8x
+// v=1.5-0.8y
+
+//Calculation
+//Since V is a vector, all its components must equal zero in order for V itself to be zero.
+x=-0.5/0.8;
+y=-1.5/-0.8;
+disp(y,x,"Stagnation point x&y in m");