summaryrefslogtreecommitdiff
path: root/273/CH12/EX12.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /273/CH12/EX12.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '273/CH12/EX12.1')
-rwxr-xr-x273/CH12/EX12.1/ex12_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/273/CH12/EX12.1/ex12_1.sce b/273/CH12/EX12.1/ex12_1.sce
new file mode 100755
index 000000000..23034172e
--- /dev/null
+++ b/273/CH12/EX12.1/ex12_1.sce
@@ -0,0 +1,13 @@
+clc;clear;
+//Example 12.1
+//calculation of natural frequency,magnetostriction
+
+//given values
+
+l=40*10^-3;//length of pure iron rod
+d=7.25*10^3;//density of iron in kg/m^3
+Y=115*10^9;//Young's modulus in N/m^2
+
+//calculation
+f=(1*sqrt(Y/d))/(2*l);
+disp(f*10^-3,'the natural frequency(in kHz) is');