Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[30 points] Question #1 Part (a) of the figure below shows a symbolic representation of an electric circuit known as the amplifier. The input to

image text in transcribed

[30 points] Question #1 Part (a) of the figure below shows a symbolic representation of an electric circuit known as the amplifier. The input to the amplifier is the voltage vi and the output is the voltage vo. The output of an amplifier is proportional to the input. The constant of proportionality is called the "gain" of the amplifier. (a) Amplifier (b) Inverting RI (d) Voltage (c) Noninverting amplifier amplifier Parts (b), (c), and (d) show schematics of three specific amplifier types: the inverting amplifier, the noninverting amplifier, and the voltage divider amplifier. Each of these three amplifiers consists of two resistors and an operational amplifier. The value of the gain of each amplifier depends on the values of its resistances. In particular the gain, g, of the inverting amplifier is given by g Similarly, the gains of the noninverting amplifier and the voltage divider amplifier are given by g 1+ and g-, respectively. R1+R2 Write a Java program that represents the amplifier as a superclass and represents the inverting, noninverting, and voltage divider amplifiers as subclasses. Add the methods getGain and getDescription to the superclass Each subclass should have a constructor with two arguments: the resistances R1 and R2 of the amplifier. The subclasses must override the getGain and getDescription methods of the superclass. Your classes should be compatible with the supplied AmplifiersApp main class. A sample output of running this application is here: Inverting Amplifier: R-4.0, R2-20.0 Gain: -5.0 Noninverting Amplifier: Rl-4.0, R2 20.0 Gain: 6.0 Voltage Divider and Voltage Follower: R1-4.0, R2- 20.0 Gain: 0.8333333333333334 Make sure that your code compiles and runs without errors when the following commands are used: For compilation javac *.java For execution: java AmplifiersApp

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

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

Find n: log23 log34 log45 log, (n + 1) = 10 .. .

Answered: 1 week ago

Question

In the visualization, the dashed line is a Order Date

Answered: 1 week ago

Question

3. Review the evidence. Do you believe the testimony presented?

Answered: 1 week ago

Question

1. What are the marketing implications of this situation?

Answered: 1 week ago