Calculate and display the voltage for each resistor

Assignment Help Electrical Engineering
Reference no: EM13262145

The voltage of a resistor is calculate by the Ohm`s Law: V = R I. write a program that will input resistance R, current I for several resistors, and will calculate and display the voltage for each resistor. The loop will terminate if you enter -1 as the resistance value. (Note that your program should output nothing when -1 is entered as the resistance value).

Reference no: EM13262145

Questions Cloud

Compute the complex power for each source and the line loss : The voltage magnitude of source 2 and the phase angles of the two sources is to be kept constant. Compute the complex power for each source and the line loss. Tabulate the reactive powers and plot Q1, Q2, and QL versus voltage magnitude jV1j.
What would the car be selling for today in u.s dollars : In 1985, a given, Japanes imported automobile, sold for 1,476,000 yen, or $ 8,200. If the car still sold for the same amount of yen today exchange reate is 144 yen per dollar. what would the car be selling for today in U.S dollars?
What is the present value of an annuity : What is the present value of an annuity of $4000 received at the beginning of each year for the next eight years?The first payment will be received today and the discount rate is 9%.
Determine the frequency of the ac voltage source : An ac voltage source is connected in series with a1.4-?F capacitor and a 690-? resistor. Using a digital ac voltmeter, the amplitude of the voltage source is measured to be 4.0?V rms, Determine the frequency of the ac voltage source
Calculate and display the voltage for each resistor : The voltage of a resistor is calculate by the Ohm`s Law: V = R I. write a program that will input resistance R, current I for several resistors, and will calculate and display the voltage for each resistor.
Explain concentrated hydrochloric acid solution contains : Concentrated hydrochloric acid solution contains 37.2 m/m% HCl. What mass of HCl is contained in 35.5g of concentrated HCl
Find the wavelength of the light in the glass : In a physics lab, light with a wavelength of 560nm travels in air from a laser to a photocell in a time of 16.9ns, What is the wavelength of the light in the glass
What is the value of the put option : What long position in the stock is necessary to hedge a long put option when the strike price is $32? Give the number of shares purchased as a percentage of the number of options purchased option.
What is the weight of the motor : Two people carry a heavy electric motor by placing it on a light board 2.90m long. One person lifts at one end with a force of 370N, What is the weight of the motor

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Find the total secondary current and power factor

A 6 pole, 60 hz induction motor is wye connected and has a rated slip of .03 with the follwoing parameters: Rs=0.5 ohms, Rr'=0.3ohms, Xs=J1 ohms, Xr'=J0.35 ohms, Xm=j20 ohmsand the total rotational losses=7300 watts.

  Find phase a current ia using fourier techniques

Open Neutral Assume that the load is star connected with the neutral disconnected. Each phase has a series RL load with R = 5 ohms and L = 20 mH. Plot the neutral voltage Plot the phase to neutral voltage for phase a.

  How many bits per symbol are required to modulate signal

digital radio link has a bandwidth of 8 kHz and support a transmission of 87 kbps. According to Nyquist how many bits per symbol are required to modulate the signal Remember to use an integer number of bits.

  Explain what would be the final elevation in m

an object hose mass is 200 kg moves at a velocity of 50m/sec and altitude of 200m,both measuredc relative to the surface of the earth. the acceleration of gravity can be taken as constant at g=9.8 m/sq.sec.

  Determine the dbm level for an output of 120mw

Determine the dBm level for an output of 120mW A power level of 100W is 6dB above what power level Find the output voltage of an amlifier if the applied voltage is 20mV and a dBv gain of 22 dB is attained

  Find electric field strength both inside nd outside cylinder

An infinitely long cylindrical dielectric of radius b contains charge within its volume of density ρv=aρ^2, where a is a constant. Find the electric field strength, E, both inside and outside the cylinder.

  What is the induced voltage is the speed is increased

A 4 pole 50 kW dc machine has a value of Ea = 110 V at 1100 rpm. What is the induced voltage is the speed is increased 20%. Note: omega(w) = (2f*n)/60 where omega is in rad/sec, and n is in rpm

  What is the pmf and the mean of x

Alice passes through four traffic lights on her way to work, and each light is equally likely to be green or red, independent of the others. Let X be the number of red lights that Alice encounters. Let A be the event that the first light is red.

  What fractional power does the wave have compared

A wave propagates 50m through a dielectric of region 1. Region 1 is lossy. Here, f= 0.6 Np/m. At an interface to region 2, the reflection coefficient is r =0.2+j0.5. The wave then propagates 50m back into region 1 from where it originated.

  Write vhdl for d flip-flop with synchronous active-low clear

Write the VHDL PROCESS statements for a D flip-flop with synchronous active-LOW clear, synchronous active-LOW preset, and responsive to a rising edge clock.

  Differential amplifier with thermocouple

What are the essential features of an ideal op amp? Identify the terminals of an op amp. Draw its equivalent circuit. Define virtual ground and what is difference amplifier? Draw its circuit. Define C.M.R.R.

  Which consists of an infinitely thin cylindrical shell of r

The return current is through the outer conductor, which consists of an infinitely thin cylindrical shell of radius b. Use Ampere's law to calculate the magnetic field intensity everwhere.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd