blob: c91fa71a0eb5bc1f54e225e7c1abad05b925ebb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear;
clc;
disp('Example 1.13');
// Given values
V = 230; // Voltage, [volts]
W = 4; // Power of heater, [kW]
// solution
// using equation P=VI
I = W/V; // current, [K amps]
mprintf('\n The current taken by heater is = %f amps \n',I*10^3);
// End
|