From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1445/CH1/EX1.44/ch1_ex_44.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 1445/CH1/EX1.44/ch1_ex_44.sce (limited to '1445/CH1/EX1.44/ch1_ex_44.sce') 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 -- cgit