summaryrefslogtreecommitdiff
path: root/3556/CH1/EX1.8/Ex1_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH1/EX1.8/Ex1_8.sce')
-rw-r--r--3556/CH1/EX1.8/Ex1_8.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3556/CH1/EX1.8/Ex1_8.sce b/3556/CH1/EX1.8/Ex1_8.sce
new file mode 100644
index 000000000..e93c90267
--- /dev/null
+++ b/3556/CH1/EX1.8/Ex1_8.sce
@@ -0,0 +1,24 @@
+clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 1 : Basic Concepts
+// Example 1 - 8
+
+clear; clc; close;
+//
+// Given data
+e = 1.6000 * 10^(-19)
+n = 10^15;
+p = 4.0000;
+//
+// Calculations Current
+i = n*e;
+// Calculations Voltage
+vo = p/i;
+//
+disp("Example 1-8 Solution : ");
+printf(" \n v = Voltage = %.3f KV",vo/1000)