summaryrefslogtreecommitdiff
path: root/2084/CH16/EX16.5w/16_5w.sce
diff options
context:
space:
mode:
Diffstat (limited to '2084/CH16/EX16.5w/16_5w.sce')
-rwxr-xr-x2084/CH16/EX16.5w/16_5w.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2084/CH16/EX16.5w/16_5w.sce b/2084/CH16/EX16.5w/16_5w.sce
new file mode 100755
index 000000000..ec7fc1e61
--- /dev/null
+++ b/2084/CH16/EX16.5w/16_5w.sce
@@ -0,0 +1,16 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 16.5w
+//calculation of the atmospheric temperature
+
+//given data
+v1=336//speed(in m/s) travelled by the sound
+v0=332//speed(in m/s) of the sound at O degreecelsius
+T0=0+273//temperature(in kelvin)
+
+//calculation
+T=((v1/v0)^2)*T0//temperature (in kelvin)
+t=T-273//temperature(in degreecelsius)
+
+printf('the atmospheric temperature is %d degreecelsius',round(t))