From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3871/CH8/EX8.2/Ex8_2.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 3871/CH8/EX8.2/Ex8_2.sce (limited to '3871/CH8/EX8.2/Ex8_2.sce') diff --git a/3871/CH8/EX8.2/Ex8_2.sce b/3871/CH8/EX8.2/Ex8_2.sce new file mode 100644 index 000000000..46b4b9091 --- /dev/null +++ b/3871/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,24 @@ +//=========================================================================== +//chapter 8 example 2 + + +clc;clear all; + +//variable declaration +V = 220; //voltage in V +I = 5; //current in A +Rp = 8800; //resistance of pressure in Ω +V1 = 6; //voltage excited in V + +//calculations +P1 = V*I; //power consumed in current coil circuit in W +P2 = (V^2)/(Rp); //power consumed in pressure coil circuit in W +P = P1+P2; //total power consumed in W +P11 = V1*I; //power consumed in current coil circuit in W +P21 = (V^2)/(Rp); //power consumed in pressure coil circuit in W +PP = P11+P21; //total power consumed in W + +//result +mprintf("total power consumed for direct load arrangement = %3.2f W",P); +mprintf("\ntotal power consumed for phanton loading with current circuit = %3.1f W",PP); + -- cgit