summaryrefslogtreecommitdiff
path: root/1445/CH1/EX1.44/ch1_ex_44.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH1/EX1.44/ch1_ex_44.sce')
-rw-r--r--1445/CH1/EX1.44/ch1_ex_44.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1445/CH1/EX1.44/ch1_ex_44.sce b/1445/CH1/EX1.44/ch1_ex_44.sce
new file mode 100644
index 000000000..dd1019bb5
--- /dev/null
+++ b/1445/CH1/EX1.44/ch1_ex_44.sce
@@ -0,0 +1,15 @@
+//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
+//Example 44
+
+disp("CHAPTER 1");
+disp("EXAMPLE 44");
+
+//VARIABLE INITIALIZATION
+I=40; //in Amperes
+r=5; //in Ohms
+
+//SOLUTION
+v=I*r;
+disp(sprintf("The voltage required is %d V",v));
+
+//END