blob: e884ff9ca284d491141e391b930e986f75537f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//===========================================================================
//chapter 7 example 1
clc;clear all;
//variable declaration
P = 250; //wattmeter reading in watts
Rp = 2000; //pressure coil circuit resistance in Ω
VL = 200; //load voltage in V
//calculations
p = (VL^2)/Rp; //power lost in pressure coil in watts
P1 = P-p; //power lost in the pressure coil circuit in watts
//result
mprintf("power lost in the pressure coil circuit = %3.2f watts",P1);
|