Question: c++ code please 8.4 Design a class composed of the three classes - Amplifier, Transformer and Speaker. Each class should have a constructor function with

c++ code please  c++ code please 8.4 Design a class composed of the three
classes - Amplifier, Transformer and Speaker. Each class should have a constructor

8.4 Design a class composed of the three classes - Amplifier, Transformer and Speaker. Each class should have a constructor function with arguments to initialize its data members. The Amplifier class should process the following data members input power Pin, output power Pout, power gain Gp, and impedance Ra. The Trans former class stores and processes the turns ratio N that is needed to provide a maximum power transfer from amplifier to speaker. The Speaker class should have the two data members - an integer nSp representing a number of speakers connected in parallel, and a speaker's impedance R3. The program should obtain the following values from the user: Pin,Pout,Ra,Rs, and nSp. It should compute and display the amplifier's power gain Gp, turns ratio N, and equivalent impedance of speakers connected in parallel RST. NOTE: Gg=Pout/Pin N=RaRST Figure 8.18 Speaker(s) matched to an amplifier by transformer for maximum power transfer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!