blob: cfbb55f0c45362e56a43b0003c8db074a6e1022b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//===========================================================================
//chapter 7 example 13
clc;clear all;
//variable declaration
m = 10; //wattmeter multiplying factor
//calculations
x = 100/5; //CT ratio
y = 1000/100; //PT ratio
W = x*y*m; //new multiplying factor of wattmeter
//result
mprintf("new multiplying factor of wattmeter = %3.2f",W);
|