summaryrefslogtreecommitdiff
path: root/1511/CH7/EX7.2/ex7_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1511/CH7/EX7.2/ex7_2.sce')
-rwxr-xr-x1511/CH7/EX7.2/ex7_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1511/CH7/EX7.2/ex7_2.sce b/1511/CH7/EX7.2/ex7_2.sce
new file mode 100755
index 000000000..a2758486b
--- /dev/null
+++ b/1511/CH7/EX7.2/ex7_2.sce
@@ -0,0 +1,12 @@
+// Example 7.2 page no-403
+clear
+clc
+
+Av=-100
+Avd=-50
+Avnew=-200
+B=0.01
+Avdnew=Avnew/(1-B*Avnew)
+avchange=(-Avdnew)-(-Avd)
+var=avchange*100/(-Avd)
+printf("Variation = %.1f%%",var)