summaryrefslogtreecommitdiff
path: root/1397/CH2/EX2.4/2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1397/CH2/EX2.4/2_4.sce')
-rwxr-xr-x1397/CH2/EX2.4/2_4.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1397/CH2/EX2.4/2_4.sce b/1397/CH2/EX2.4/2_4.sce
new file mode 100755
index 000000000..b6fe82c9f
--- /dev/null
+++ b/1397/CH2/EX2.4/2_4.sce
@@ -0,0 +1,8 @@
+//clc();
+clear;
+//To determine the natural frequency of iron
+l=40*10^(-3); //length of pure iron rod in metres
+rho=7.25*10^3; //density of pure iron in kg/m^3
+Y=115*10^9; //youngs modulus in N/m^2
+new=(sqrt(Y/rho))*10^(-3)/(2*l);
+printf("the natural frequency of pure iron is %f KHz",new);