summaryrefslogtreecommitdiff
path: root/3588/CH7/EX7.2
diff options
context:
space:
mode:
Diffstat (limited to '3588/CH7/EX7.2')
-rw-r--r--3588/CH7/EX7.2/EX7_2.savbin0 -> 17584 bytes
-rw-r--r--3588/CH7/EX7.2/EX7_2.sce15
2 files changed, 15 insertions, 0 deletions
diff --git a/3588/CH7/EX7.2/EX7_2.sav b/3588/CH7/EX7.2/EX7_2.sav
new file mode 100644
index 000000000..b6df83ad8
--- /dev/null
+++ b/3588/CH7/EX7.2/EX7_2.sav
Binary files differ
diff --git a/3588/CH7/EX7.2/EX7_2.sce b/3588/CH7/EX7.2/EX7_2.sce
new file mode 100644
index 000000000..b6f744875
--- /dev/null
+++ b/3588/CH7/EX7.2/EX7_2.sce
@@ -0,0 +1,15 @@
+//Clearing console
+clc
+clear
+
+//Intializing Variables
+T1 = 95.14
+T2 = 90.14
+T3 = 85.14
+
+//Calculating a2
+a2 = 2*T1 - 4*T2 +2*T3
+
+//Printing Results
+printf('\nResults\n')
+printf('\na2=%f',a2)