blob: d5abd1c29a91be221935716da93fe97c8a767d30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Problem 21.07: Determine the terminal voltage of a generator which develops an e.m.f. of 200 V and has an armature current of 30 A on load. Assume the armature resistance is 0.30 ohm.
//initializing the variables:
Ra = 0.30; // in ohms
Ia = 30; // in Amperes
E = 200; // in Volts
//calculation:
//terminal voltage,
//V = E - Ia*Ra
V = E - Ia*Ra
printf("\n\n Result \n\n")
printf("\n terminal voltage of a generator is %.0f V ",V)
|