summaryrefslogtreecommitdiff
path: root/1664/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1664/CH1/EX1.2/Ex1_2.sce
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 '1664/CH1/EX1.2/Ex1_2.sce')
-rwxr-xr-x1664/CH1/EX1.2/Ex1_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1664/CH1/EX1.2/Ex1_2.sce b/1664/CH1/EX1.2/Ex1_2.sce
new file mode 100755
index 000000000..0b0f3acdd
--- /dev/null
+++ b/1664/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,14 @@
+
+
+// Example No.1.2.
+// Page No. 28.
+clc;clear;
+t = 1*10^(-3);//Thickness of the quartz crystal -[m].
+Y = 7.9* 10^(10);//Young's modulus of quartz -[N/m^2].
+d = 2650;//Density of quartz -[kg/m^3].
+p = 1;
+f1 = (p/(2*t))*(sqroot(Y/d));//For fundamental frequency p=1.
+printf("\nThe fundamental frequency of vibration of the crystal is %3.3e Hz",f1);
+p = 2;
+f2 = (p/(2*t))*(sqroot(Y/d));// f2 is frequency of first overtone and for the first overtone P=2.
+printf("\nThe frequency of the first overtone of the crystal is %3.3e Hz",f2);