summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.7
diff options
context:
space:
mode:
Diffstat (limited to '1760/CH2/EX2.7')
-rwxr-xr-x1760/CH2/EX2.7/EX2_7.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1760/CH2/EX2.7/EX2_7.sce b/1760/CH2/EX2.7/EX2_7.sce
new file mode 100755
index 000000000..338a3af4d
--- /dev/null
+++ b/1760/CH2/EX2.7/EX2_7.sce
@@ -0,0 +1,7 @@
+ //EXAMPLE 2-7 PG NO 64-65
+V1=24.15+%i*6.47; //VOLTAGE
+V2=7.5+%i*12.99; //VOLTAGE
+X=V1+V2; //ADITION fo v1&v2
+disp('i)ADITION is in rectangular form = '+string (X)+' V')
+X1=V1-V2; //subsraction of v1&v2
+disp('i)substraction is in rectangular form = '+string (X1)+' V')