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

  Calculate the voltage across the 360-v winding

1-phase 2-winding transformer is rated 30 kVA, 360/90 V, 60 Hz. A source connected to the 360-V winding supplies an impedance load connected to the 120-V winding. The load absorbs 15 kVA at 0.8 p.f. lagging

  Calculate the unknow constant in homogeneous part

Solve y"+y'-2y=2x^2, y(0) = 0, y'(0) = 1 following these steps a) find homogeneous solution, b) find nonhomogeneous solution with method of undetermined coefficient with constants evaluated,

  Describe the functionality of the above dfsm

Describe the functionality of the above DFSM using transition tables. Consider that the system starts always from state B. What happens if the system will start from another state - say A?

  Develop the vhdl text file for a binary down-counter

Develop the VHDL text file for a binary down-counter to divide a frequency by 32. Use Q as the outputs and CLK as the falling edge clock input.

  Explain current pulses over a twisted pair telephone line

Current Pulses over a Twisted Pair Telephone Line, A twisted pair telephone line has a constant attenuation between 0 Hz and 3300 Hz and linear phase shift with frequency

  Define pointer to variable as char data type set pointer

Define a pointer to a variable as a char data type set the pointer equal to Hello World Print the entire contents of the variable Print the 4th and 6th positions of the variable. Sample output: Hello World

  Calculate electron and hole densities in an n-type silicon

Calculate the electron and hole densities in an n-type silicon wafer (Nd=10^17 cm^-3) illuminated uniformly with 100 mW/cm^2 of red light (Eph = 1.8 eV). The absorption absorption coefficient of red light in silicon is 10^-3 cm^-1.

  What is percent quantization error if 1volt max signal input

A unipolar 16 bit ADC measures 0-10 volts full scale. a) What is the minimum resolvable voltage b) What is the percent quantization error c) What is the percent quantization error if a 1 volt max signal is input

  How to implement the power factor correction scheme

A 60-Hz source supplies power to an industrial load through a transmission line of impedance (0.2+ j0.1) ohms. The load consumes 130 kW of power at line voltage VL= 440

  Calculate the three-phase steady-state short-circuit current

A 150 MVA, 24 kV, 123% three-phase synchronous generator operates with an induced voltage that is twice the rated line-to-neutral voltage. Calculate the three-phase steady-state short-circuit current at the generator terminals.

  Explain the magnitude of the frequency component

What is the magnitude of the frequency component at 30 kHz? The square wave is passed through an ideal rectangular low pass filter that completely attenuates all frequencies higher than 35 kHz. Write down an equation for the spectrum at the output ..

  How many joules of energy are stored in the battery

A double-A (AA) rechargeable battery is rated at 1.2V, 2100mA-h ( mili-amp hours) 1- how many coulombs of charge can this battery hold 2- how many joules of energy are stored in the battery

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