From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 215/CH2/EX2.2/ex2_2.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 215/CH2/EX2.2/ex2_2.sce (limited to '215/CH2/EX2.2/ex2_2.sce') diff --git a/215/CH2/EX2.2/ex2_2.sce b/215/CH2/EX2.2/ex2_2.sce new file mode 100755 index 000000000..3f56789c4 --- /dev/null +++ b/215/CH2/EX2.2/ex2_2.sce @@ -0,0 +1,12 @@ +//Example 2.2 +//Calculate vL +disp("Given") +disp("v2=3V") +v2=3; +//From figure 2.19b +disp("Considering the right hand part of the circuit ") +disp("vL=5v2") +vL=5*v2; +disp("On substitution") +printf("vL=%dV\n",vL); + -- cgit