summaryrefslogtreecommitdiff
path: root/1436/CH2/EX2.9/ex2_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1436/CH2/EX2.9/ex2_9.sce')
-rwxr-xr-x1436/CH2/EX2.9/ex2_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1436/CH2/EX2.9/ex2_9.sce b/1436/CH2/EX2.9/ex2_9.sce
new file mode 100755
index 000000000..97a26228a
--- /dev/null
+++ b/1436/CH2/EX2.9/ex2_9.sce
@@ -0,0 +1,14 @@
+// Example 2.9, page no-120
+clear
+clc
+
+R=120
+l=122
+a=0.1
+rho=R*a/l
+R1=140
+l1=sqrt(R1*a*l/rho)
+l1=ceil(l1)
+printf("Length l1 = %d meters",l1)
+A1=a*l/l1
+printf("\nArea A1 = %.4f mm^2",A1)