summaryrefslogtreecommitdiff
path: root/2513/CH5/EX5.1/5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2513/CH5/EX5.1/5_1.sce')
-rwxr-xr-x2513/CH5/EX5.1/5_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2513/CH5/EX5.1/5_1.sce b/2513/CH5/EX5.1/5_1.sce
new file mode 100755
index 000000000..19738abd1
--- /dev/null
+++ b/2513/CH5/EX5.1/5_1.sce
@@ -0,0 +1,20 @@
+clc
+//initialisation of variables
+t1=5.25//yr
+t2=10.00//yr
+yi=171000//in
+ye=111000//in
+yt=5.23300//in
+yl=5.04532//in
+yn=31500//in
+ym=0.09853//in
+tm=9.25//yr
+tn=10.00//yr
+//CALCULATIONS
+T=t1/t2//yr
+T1=tm/tn//yr
+Y=yi-ye//in
+Yt=yt-yl//in
+//RESULTS
+printf('the fifth intercensal year =% f yr',T)
+printf('the ninth postcensal year =% f yr',T1)