diff options
Diffstat (limited to '858/CH4/EX4.5')
-rwxr-xr-x | 858/CH4/EX4.5/example_5.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/858/CH4/EX4.5/example_5.sce b/858/CH4/EX4.5/example_5.sce new file mode 100755 index 000000000..718f55335 --- /dev/null +++ b/858/CH4/EX4.5/example_5.sce @@ -0,0 +1,9 @@ +clc
+clear
+printf("example 4.5 page number 133\n\n")
+
+//to find variation of losses with velocity
+loss_ratio=3.6; //delta_P2/delta_P1=3.6
+velocity_ratio=2; //u2/u1=2
+n=log2(loss_ratio); //delta_P2/delta_P1=(u2/u1)^n
+printf("power constant = %f flow is turbulent",n)
|