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 --- 2072/CH21/EX21.1/Ex21_1.sce | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 2072/CH21/EX21.1/Ex21_1.sce (limited to '2072/CH21/EX21.1/Ex21_1.sce') diff --git a/2072/CH21/EX21.1/Ex21_1.sce b/2072/CH21/EX21.1/Ex21_1.sce new file mode 100755 index 000000000..9d5f9ec7b --- /dev/null +++ b/2072/CH21/EX21.1/Ex21_1.sce @@ -0,0 +1,8 @@ +//Example 21.1 +clc; +V_max=200//in V +V_rms=(V_max)/sqrt(2) +R=100//in ohm +I_rms=V_rms/R +disp(V_rms,"Voltage in V=") +disp(I_rms,"Current in Amps=") -- cgit