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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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