Write A Program To Compute The Power Loss In A Transmission Line With A Resistan

IN C:Write a program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compute the power loss if 500kw of power is transmitted from a power generating station to cities at distances of 20, 30, 40, 50, 60, 70, 80, 90, 100 miles at 100 V and 200 V. The current (i) is calculated from: i = power transmitted in watts / volts transmittedpower transmitted in wattsi = ——————————–volts transmittedThe total resistance R is computed from the equation: R = r x mileswhere r is the resistance per mile. The power loss is computed from the equation: Power loss = i2(squared) x R.

#include<stdio.h>#include<conio.h>void main(){float resistnce=0.05,volts,miles,tresistnce,i,loss_power,power=500;printf("enter values for miles and voltsn");…

Leave a Reply

Your email address will not be published. Required fields are marked *