Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++: PLEASE DOWNLOAD IMAGES BELOW AND ZOOM THE QUESTION Fig. I shows a Wheatstone Bridge circuit. The Wheatstone Bridge circuit is considered to be balanced

C++: PLEASE DOWNLOAD IMAGES BELOW AND ZOOM THE QUESTION

image text in transcribed

image text in transcribed

Fig. I shows a Wheatstone Bridge circuit. The Wheatstone Bridge circuit is considered to be balanced if the potential difference between B&D Vol equal to zero. When the circuit is balanced, the ratio of RUR - RR.. A resistance of uninown value R. can be determined by replacing Rand R, with Inown resistance values and adjusting the variable resistance Reto achieve a balance condition - RE LR E B R 2 R. Fig 1: Wheatstone Bridge circuit General Resuirements: Write a C++ program that can perform 3 different tasks. The program should begin by showing the wailable options and prompt the user to select an option to proceed. After completing the selected task the program will show the option istan. The program will repeat indefinitely unless the user chooses option to it the way Optian I: Fine the value of unknown resistance . The program will prompt the user to input resistance values & in Ohms The values of R&R must be between 100 and 100.000 Ohms. The program will then simulate the process of adjusting to achieve a balanced condition by generating a random value between 100 and 100,000 Chms. Next, the program inform the user of the value that will cause the circuit to be balanced . Finally, the program eleulates the alue of the unknown resistoril, Option 2: Check whether the Wheatone Bridge is based The program will prompt the user to enter the values of all resistors (200-100,000 Ohms and ) Inform the user the circuit is balanced or not Option 3: Calculate the circuit's total resistance and current The program will prompt the user to enter the values of all resisters (100 100,000 Ohms) and the supply voltage level 1 to 240 VI. The proge calls and worms the use of the total resistance and current of the chat 1 + C + RIR, +2 UR, 4R) (R+R price to terem V- the value where . 3 collate the circuits to terim Opondon vale 15-01 as the program Prer the of ulur 106. juting to lasce the one trip cult sem... Specific Requirement hom, Tasks in Option 1, 2 & 3 must be performed in separate functions, Opt11). Opt20) and Opt30) www ve 1. Check whether or not Reduce the duplication of codes in your program as much as possible. You may introduce new 1 calcio functions to avoid code duplication Powiat 131 or www ir valus re berter strict Feiss S. Avitsemit . va # Check whether it the 1. calive wireless and Pierw 11-1 er the wall ar tree of er the inco the male is e il com to work G. valo Cher date the cruit's totale ed wiert Por the the of het Free Broer the ware of the ar tai meltet value 138 he total wil totale Che ter the the value of ICE che theme imane muu wa ou for the way! are not Now.com Prawy kyta Fu 2: Sangle out of the program . Tasks in Option 1, 2 & 3 must be performed in separate function is, Opt1(), Opt2() and Opt3(). O Reduce the duplication of codes in your program as much as posible. You may introduce new functions to avoid code duplication. Fig. I shows a Wheatstone Bridge circuit. The Wheatstone Bridge circuit is considered to be balanced if the potential difference between B&D Vol equal to zero. When the circuit is balanced, the ratio of RUR - RR.. A resistance of uninown value R. can be determined by replacing Rand R, with Inown resistance values and adjusting the variable resistance Reto achieve a balance condition - RE LR E B R 2 R. Fig 1: Wheatstone Bridge circuit General Resuirements: Write a C++ program that can perform 3 different tasks. The program should begin by showing the wailable options and prompt the user to select an option to proceed. After completing the selected task the program will show the option istan. The program will repeat indefinitely unless the user chooses option to it the way Optian I: Fine the value of unknown resistance . The program will prompt the user to input resistance values & in Ohms The values of R&R must be between 100 and 100.000 Ohms. The program will then simulate the process of adjusting to achieve a balanced condition by generating a random value between 100 and 100,000 Chms. Next, the program inform the user of the value that will cause the circuit to be balanced . Finally, the program eleulates the alue of the unknown resistoril, Option 2: Check whether the Wheatone Bridge is based The program will prompt the user to enter the values of all resistors (200-100,000 Ohms and ) Inform the user the circuit is balanced or not Option 3: Calculate the circuit's total resistance and current The program will prompt the user to enter the values of all resisters (100 100,000 Ohms) and the supply voltage level 1 to 240 VI. The proge calls and worms the use of the total resistance and current of the chat 1 + C + RIR, +2 UR, 4R) (R+R price to terem V- the value where . 3 collate the circuits to terim Opondon vale 15-01 as the program Prer the of ulur 106. juting to lasce the one trip cult sem... Specific Requirement hom, Tasks in Option 1, 2 & 3 must be performed in separate functions, Opt11). Opt20) and Opt30) www ve 1. Check whether or not Reduce the duplication of codes in your program as much as possible. You may introduce new 1 calcio functions to avoid code duplication Powiat 131 or www ir valus re berter strict Feiss S. Avitsemit . va # Check whether it the 1. calive wireless and Pierw 11-1 er the wall ar tree of er the inco the male is e il com to work G. valo Cher date the cruit's totale ed wiert Por the the of het Free Broer the ware of the ar tai meltet value 138 he total wil totale Che ter the the value of ICE che theme imane muu wa ou for the way! are not Now.com Prawy kyta Fu 2: Sangle out of the program . Tasks in Option 1, 2 & 3 must be performed in separate function is, Opt1(), Opt2() and Opt3(). O Reduce the duplication of codes in your program as much as posible. You may introduce new functions to avoid code duplication

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

Step: 3

blur-text-image

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions

Question

096 next gam cam nambar this date 16/11/2023

Answered: 1 week ago

Question

Know how productivity improvements impact quality and value.

Answered: 1 week ago