Ask the user for the value of four resistors in your series

Assignment Help Computer Engineering
Reference no: EM132194783

Write a C++ program to do the following:

The "main" section of the program will ask the user for the value of four resistors in your series circuit and the total voltage (V) applied to the series circuit.

In the "main" section it must call a function that will calculate the total series resistance and return the total resistance value to the "main" section.

In the "main" call a function that will calculate the voltage across each resistor.

In the "main" call a function that will calculate the power dissipated in each resistor.

In the "main" call a function that will display an output that looks like

For the series circuit :

R1 = ##### R2=#### R3=#### R4=#### Rtotal=######

IR1= ##### IR2=#### IR3=#### IR4=#### Itotal=######

VR1=##### VR2=#### VR3=#### VR4=#### Vtotal=#####

PR1=##### PR2=#### PR3=#### PR4=#### Ptotal=#####

Note: all resistor values have no decimal values and are 1000 ohms or more and all output values should only have 3 decimal places.

Reference no: EM132194783

Questions Cloud

What activities left you scratching your head : What activities were worthwhile to you and what activities left you scratching your head?
Write a c program that initializes an integer array : Write a C program that initializes an integer array, and two scalar values a and b.
Write a c program to implement a four function calculator : Write a C program to implement a four function calculator. The program should prompt the user for a formula.
Calculate the average of the elements : Write a C program such that you initialize the elements of array S to the even integers from 10 to 40 and calculate the average of the elements.
Ask the user for the value of four resistors in your series : The "main" section of the program will ask the user for the value of four resistors in your series circuit and the total voltage (V) applied to the series.
Write c program that helps a professor to manage records : Write C program that helps a Professor to manage student records. Each student's record contains information like Student ID.
Write a c program that finds the nth prime number : Write a C program that finds the nth prime number and prints it on the screen. A prime number is a number that is only divisible by 1 and by itself.
A program to help the administration of a football league : Write a C++ program to help the Administration of a football league to manipulate the list of players registered in different teams.
Write a c program which will flip a single bit in a number : Write a C program which will flip a single bit in a number entered by the user using the binary representation of the number. The user should input the original

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  Write a computer program using q basic

You need to write a computer program using q basic with the subsequent information. We just started learning about loop commands but I'm completely lost.

  Sorts the vector containing the lottery numbers

Sorts the vector containing the lottery numbers. Determines whether the player guessed the lottery numbers correctly.

  Write an algorithm for shell sort and study its performance

Write an algorithm for Shell Sort, study its performance, and compare the result with the performance of Insertion Sort.

  How threat modeling a system can help with development

In your own words, explain how threat modeling a system can help with development of realistic and meaningful security requirements.

  Describe your experiences and recommendations for protection

Describe your experiences and recommendations for protection regarding Viruses, Adware, phishing schemes, and spyware.

  What is the storage capacity and maximum data transfer rate

A magnetic tape, 800 bits per inch, 2400 feet long, 10 inch per second? A magnetic disk with 50 tracks and 4K bits per track, rotating at 3600 rpm?

  Build a login screen which will be passed an id and password

Build a login screen which will be passed an id and password.If the user fails to login in three tries, have them authentic based on their personal information.

  Identify and recommend two tools for forensic examination

Identify and recommend 2 tools for forensic examination. Explain why you would recommend this tool over others that you researched.

  Evaluate the concept that it is becoming the new core of

evaluate the concept that it is becoming the new core of modern business. how might you justify or negate this

  Expand or contract the number of phases

What is the Software/System Development Life Cycle (SDLC) and can we expand or contract the number of phases depending on the particular project?

  You are to write a 6 - 8 page paper in the apa format

you are to write a 6 - 8 page paper in the apa format about a topic related to this course turn in the final copy of

  Should pharmacies make available to the public

Does the Ministry of Health have a moral responsibility to educate the population about the risks involving the use of generic drugs Should pharmacies make available to the public the list of CDAP drugs which are generic

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