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 --- 2498/CH2/EX2.28/ex2_28.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2498/CH2/EX2.28/ex2_28.sce (limited to '2498/CH2/EX2.28/ex2_28.sce') diff --git a/2498/CH2/EX2.28/ex2_28.sce b/2498/CH2/EX2.28/ex2_28.sce new file mode 100755 index 000000000..59e708daa --- /dev/null +++ b/2498/CH2/EX2.28/ex2_28.sce @@ -0,0 +1,11 @@ +// Exa 2.28 +clc; +clear; +close; +format('v',6) +// Given data +Vout = -0.7;// in V +V = -12;// in V +// The output voltage +V_R =V-Vout;// in V +disp(V_R,"The output voltage in V is"); -- cgit