summaryrefslogtreecommitdiff
path: root/1436/CH2/EX2.12/ex2_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1436/CH2/EX2.12/ex2_12.sce')
-rwxr-xr-x1436/CH2/EX2.12/ex2_12.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1436/CH2/EX2.12/ex2_12.sce b/1436/CH2/EX2.12/ex2_12.sce
new file mode 100755
index 000000000..74097aea9
--- /dev/null
+++ b/1436/CH2/EX2.12/ex2_12.sce
@@ -0,0 +1,10 @@
+// Example 2.12, page no-122
+clear
+clc
+
+p1=10^-2
+h1=20
+K=p1/h1^2
+p2=K*30^2
+p2=p2*100
+printf("The unknown pressure p2 = %.2f * 10^-2 torr",p2)