blob: c609968bf833d3be737ed33cd5536a82b7eac15c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
R = 600.00 //Resistance (in ohm)
V = 230.00 //Voltage (in volts)
//Calculation
I = V/R //Current (in Ampere)
//Result
printf("\n Current in the power line is %0.3f A.",I)
|