Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C Program,electronics, voltage drop is the decrease of electric potential along the path of a current flowingin a circuit. Voltage drops in the internal

In C Program,electronics, voltage drop is the decrease of electric potential along the path of a current flowingin a circuit. Voltage drops in the internal resistance of the source, across conductors, acrosscontacts, and across connectors are undesirable because some of the energy supplied is dissipated.A voltage drop occurs when the voltage at the end of a run of cable is lower than at the beginning.Any length or size of wires will have some resistance, and as the length of the cable increases, sodoes its resistance and reactance increase in proportion which causes the voltage to drop. Hence,voltage drops are particularly a problem with long cable runs, for example in larger buildings oron larger properties such as farms. Voltage drops can be measured with a Voltage DropCalculator.Voltage Drop Calculator is a technique often used when properly sizing conductors in any line-to-line electrical circuit. You have been assigned the responsibility of developing the VoltageDrop Calculator based on the following equations and requirements:Table 1: Resistivity of wire based on metal type.Wire Type Resistivity (m)Silver 1.59 x 10-8Aluminum 2.65 x 10-8Tungsten 5.61 x 10-8Iron 9.71 x 10-8Inputs of the program consist of wire type, current type, wire length (in meters), voltage (in volts),and wire current (in amps).The system should be able to automatically assign a resistivity value based on the selected wiretype entered by the user as shown in Table 1.There are two different current types that users can choose from Single Phase or Triple Phase.Each of these has a different equation for calculating the voltage drop.Equation for Single-Phase Voltage Drop: =(21000)Equation for Triple Phase Voltage Drop: =3(1000)3The system should be able to calculate the percentage of voltage drop based on the followingequation: = Voltage 100Finally, the system should be able to accumulate all the voltage drop values if the user chooses todo more than one calculation. An example of the input and output operation can be seen in Figure1. You are required to develop the program using TWO user-defined functions (both withparameter and with a return value), selection, repetition and any other appropriate programmingtechniques if needed.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions