summaryrefslogtreecommitdiff
path: root/3564/CH1/EX1.5/Ex1_5.sce
blob: b2b7b6c3eb3c69b135c01eec2608b07b30838356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

// Display mode
mode(0);

// Display warning for floating point exception
ieee(1);

clc;
disp("Introduction to Fluid Mechanics, 3rd Ed. William S. Janna Chapter - 1 Example # 1.5 ")

disp("This example is theoretical and does not require computation")
disp("Final result is h = (2*sigma*cos(theta))/(rho*R*g)")