Write a java program that represents the amplifier

Assignment Help Computer Engineering
Reference no: EM131838702

Problem

Part (a) of the figure below shows a symbolic representation of an electric circuit called an 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. Parts (b), (c), and (d) show schematics of three specific types of amplifier: the inverting amplifier, non inverting amplifier, and voltage divider amplifier. Each of these three amplifiers consists of two resistors and an op amp. 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 = -R2/R1. Similarly the gains of the non inverting amplifier and voltage divider amplifier are given byg = 1 + (R2/R1) and g = R / (R1 + R2) respectively.

651_Amplifier.jpg

Write a Java program that represents the amplifier as a superclass and represents the inverting, noninverting, and voltage divider amplifiers as subclasses. Give the subclass two methods, get Gain and a get Description method that returns a string identifying the amplifier. Each subclass should have a constructor with two arguments, the resistances of the amplifier. The subclasses need to override the get Gain and get Description methods of the superclass. Supply a class that demonstrates that the subclasses all work properly for sample values of the resistances.

Reference no: EM131838702

Questions Cloud

Your portfolio correspond to your personal risk tolerance : How would you rate your portfolio ( i.e. conservative moderate or aggressive)? Does the risk level of your portfolio correspond to your personal risk tolerance?
Explain at least one challenge related to enforcing the laws : Explain whether enforcement of immigration laws should occur at the local, state, and/or federal level.
Discuss problem on higher education act : In 1965, the Higher Education Act allowed for expanded access to higher education by providing federal financial aid. Fast forward over 50 years.
Describe the learning disability of american children : (a) Describe the learning disability of American children? When is a child's communication considered delayed?
Write a java program that represents the amplifier : Write a Java program that represents the amplifier as a superclass and represents the inverting, noninverting, and voltage divider amplifiers as subclasses.
The role of assessment in the instructional design process : Write a one page paper onyour position on Reeves's (2006) statement that assessment is the "lifeblood of good teaching" (p. 300). Justify your position.
The current share price : Great Pumpkin Farms (GPF) just paid a dividend of $6 on its stock. The current share price for GPF stock is $.
Caring about the well-being of others is a human universal : Caring about the well-being of others is a human universal. Although they may express these values differently
Explain how online instructors might use evaluation : Explain how the two actions that you described might contribute to a positive student experience in the online classroom

Reviews

Write a Review

Computer Engineering Questions & Answers

  Program that convert temperature in fahrenheit

Write a program that will convert a temperature in Fahrenheit to Celsius and Kelvin. The temperature to convert should be captured from user input. The formulas for converting the temperatures are:

  Write a program that prints the square of the product

Write code statements to create a DecimalFormat object that will round a formatted value to four decimal places. Then write a statement that uses that object.

  What variety of cable will work to make an association

What variety of cable will work to make an association

  Write down or copy or paste the complete problem narrative

Write down or copy/paste the complete problem narrative, including tables. Show your Lindo model. Show your Lindo output. Answer all questions pertaining to the problem.

  What is joptionpane class or the scanner class

What is JOptionPane class or the Scanner class

  Derive the equation for the exact deflection

For the cantilever beam shown in the accompanying figure. The deformation of the beam under a load P is governed by the relationship.

  Examine what you believe to be a good backup

You work for a small consulting firm with a sterling reputation for high-quality work and outstanding technical aptitude. You've been assigned as SQL Server 2000 DBA for an e-commerce project based in coastal Florida.

  Describe the role of the information technology

as a software engineer you have been asked to write a paper that describes the use of current technologies with regard

  Evaluate the amplitude-modulated pam signal

In a carrier-amplitude-modulated PAM system, the transmitter filter has a squareroot raised-cosine spectral characteristic with rolloff factor ex = 0.5.

  How have these attack tools evolved

How have these attack tools evolved - attack methods have become more and more sophisticated and so more effective.

  Search information on web page authenticity and credibility

The birth of the Internet has opened a new door for research. The World Wide Web provides endless amounts of information on just about anything you can think of. Anyone may create a Website; therefore, the question of reliability comes into play.

  You are required to investigate and research current

you are required to investigate and research current procurement and tendering systems.a comprehensive list comparing

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd