summaryrefslogtreecommitdiff
path: root/569/CH4/EX4.10/4_10.sci
diff options
context:
space:
mode:
Diffstat (limited to '569/CH4/EX4.10/4_10.sci')
-rwxr-xr-x569/CH4/EX4.10/4_10.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/569/CH4/EX4.10/4_10.sci b/569/CH4/EX4.10/4_10.sci
new file mode 100755
index 000000000..7b03051fc
--- /dev/null
+++ b/569/CH4/EX4.10/4_10.sci
@@ -0,0 +1,6 @@
+// Calculate the temperature at a depth of 1000 m
+clc;
+th0=20;
+t=2000;
+thr=th0-0.005*(t-50)-0.25*exp(-t/50);
+disp(thr,'temperature at a depth of 1000 m (degree C)') \ No newline at end of file