summaryrefslogtreecommitdiff
path: root/689/CH2/EX2.9/9.sce
diff options
context:
space:
mode:
Diffstat (limited to '689/CH2/EX2.9/9.sce')
-rw-r--r--689/CH2/EX2.9/9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/689/CH2/EX2.9/9.sce b/689/CH2/EX2.9/9.sce
new file mode 100644
index 000000000..2eaa7755d
--- /dev/null
+++ b/689/CH2/EX2.9/9.sce
@@ -0,0 +1,14 @@
+//Example 2.9 Flow around a circular cylinder
+
+// Initialisation of variables
+P0 = 2116.2;
+U = 100;
+rho = 0.002378;
+theta = 15;
+
+// Calculations
+P = P0 + rho*U^2*(1 - 4*sind(theta)^2)/2;
+
+//Results
+disp(P,"Pressure at a point on the surface of cylinder (lb/sq-ft)");
+