Initial Basics – Algebra – Problem #41

IIT Kharagpur CS10001 / CS11001 Programming and Data Structures Lab Question Archive

Difficulty: Hard

Problem Statement

Consider a resistive circuit (shown in a Figure overleaf) where a resistance R1 is connected with two resistances R2 and R3 connected in parallel. A D.C. source E is applied across this load. Compute the power dissipated in each resistance, and the total power consumed by the circuit. Assume the values of resistance given in ohm, power source in Volt, and power should be expressed in Watt. Write a program which will read the values of resistances and power source and print the results (as asked) of the computation. (i) R1=5 KW, R2=10 KW, R3=20 KW, E=50 V (ii) R1=15 KW, R2=7 KW, R3=8 KW, E=12 V

Back to Lab Problems
Initial Basics/Algebra/Problem #41

Lab Problem Statement

Specifications & Problem DetailsIIT Kharagpur PDS Archive
Loading question...

Interactive C Compiler · Problem #41

WASM In-Browser

Runs directly on your machine · Zero remote server dependency

Compiler downloads on first Run (large, saved in your browser after that)
main.cCtrl + Enter to run
1
2
3
4
5
6
7
Input (stdin)given to scanf / cin
Output

Output appears here. Press Run to compile and execute.