Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

give the programs,algorithms and flowcharts of these problems 1. Write a program also give algorithm and flowchart that calculates the voltage of the given circuit.

image text in transcribedgive the programs,algorithms and flowcharts of these problems

1. Write a program also give algorithm and flowchart that calculates the voltage of the given circuit. The value of Rand I have to be taken input from the user. If voltage is greater or equal to 10V then the V=IR program will output DECREASE THE VOLTAGE. (Hint: use if statement to do this program.) W 2. Write a program also give algorithm and flowchart that calculates the equivalent resistance of the following circuit. Input is taken from the user. Where R1=? Ohm, R2=? Ohm and R3=? Ohm. If the equivalent resistance R is greater than 40 ohm the program outputs GOOD else the program outputs BAD. (Hint: use if else statement to do this program.) 3. The voltage of three circuits was taken as input from the user. Voltage1=? Voltage 2=? Voltage3=? Write a program also give algorithm and flowchart where if Voltage1 is greater than Voltage2 the program outputs VOLTAGE1 IS GREATER THAN VOLTAGE2 and if Voltage1 is greater than Voltage3 the program outputs VOLTAGE1 IS ALSO GREATER THAN VOLTAGE3. (The program also checks the else conditions.) 4. Write a program also give algorithm and flowchart that calculates the equivalent resistance R of the following circuit. Where R1=12 ohm, R2=3 ohm, R3=9 ohm and R4=16 ohm. If V=0.1 Volt calculate the current flow I for R. If I is less than or equal to 1 print IIS LESS THAN OR EQUAL TO 1. If I is less than or equal to 2 print IIS LESS THAN OR EQUAL TO 2.If I is less than or equal to 3 print I IS LESS THAN OR EQUAL TO 3.If I is less than or equal to 4 print L IS LESS THAN OR EQUAL TO 4. If I is less than or equal to 5 print IIS LESS THAN OR EQUAL TO 5. If I is greater than 5 print "I IS GREATER THAN 5" Hint: use else if clause to do this program

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_2

Step: 3

blur-text-image_3

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago