summaryrefslogtreecommitdiff
path: root/1985/CH8/EX8.1/Chapter8_Example1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1985/CH8/EX8.1/Chapter8_Example1.sce')
-rwxr-xr-x1985/CH8/EX8.1/Chapter8_Example1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1985/CH8/EX8.1/Chapter8_Example1.sce b/1985/CH8/EX8.1/Chapter8_Example1.sce
new file mode 100755
index 000000000..92ad9d967
--- /dev/null
+++ b/1985/CH8/EX8.1/Chapter8_Example1.sce
@@ -0,0 +1,11 @@
+clc
+clear
+t=(1*10^-3)//Thickness of the crystal in m
+d=2650//Density of quartz in kg/m^3
+Y=(7.9*10^10)//Youngs modulus of quartz in N/m^2
+
+//Calculations
+f=((1/(2*t))*sqrt(Y/d))/10^6//Fundamental frequency of the quartz crystal in Hz *10^6
+
+//Output
+printf('Fundamental frequency of the quartz crystal is %3.3f *10^6 Hz',f)