summaryrefslogtreecommitdiff
path: root/1991/CH4/EX4.4/4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1991/CH4/EX4.4/4.sce')
-rwxr-xr-x1991/CH4/EX4.4/4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1991/CH4/EX4.4/4.sce b/1991/CH4/EX4.4/4.sce
new file mode 100755
index 000000000..f2669b318
--- /dev/null
+++ b/1991/CH4/EX4.4/4.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//INPUT DATA
+v1=330 //speed of sound
+t3=303 //fundamental temperature for the air
+t1=273// 0deg C
+//calculation
+v3=v1*(t3/t1)^0.5 //new speed of sound
+f=v3/0.66 //frequency
+fb=f-520 //frequency of beats
+//output
+printf("the frequency of beats is %3.3f Hz",fb)