diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH8/EX8.2 | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3871/CH8/EX8.2')
-rw-r--r-- | 3871/CH8/EX8.2/Ex8_2.sce | 24 |
1 files changed, 24 insertions, 0 deletions
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);
+
|