logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

In addition to the program script and report, the assignment is to be assessed via demonstration in the respective lab session, failure to do so will result in zero marks.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment 1: The Summing Amplifier (Module Weighting 50%)

In addition to the program script and report, the assignment is to be assessed via demonstration in the respective lab session, failure to do so will result in zero marks.

  1. Design and build a program to model the following circuit

Where the output may be described by the following expression;

Part A  (Mark 20%)

The program is to;

 

  1. Declare the variables R1, R2, Rf, V1, V2 and Vout as data types of your choice.

  2. Allow the user to enter the values for V1 and V2.

  3. Calculate the value of Vout

          (what happens if Vout exceeds the supply voltage?)

  1. Display all of the voltage values to the screen using appropriate formatting

Part B (Mark 20%)

Improve the program discussed in Part A, with the following additions;

 

  • Allow the user to enter their own values for each of the resistors

(ensuring that they only enter positive values)

  • Ask the user if they would like to enter another set of values. If the response is 'yes' then repeat for the new values; otherwise end the program.

  • Allow the user to enter 5 separate sets of inputs, display the inputs and the resultant outputs in descending order of output

 

Part C (Mark 20%)

Repeat Parts A and B for one of the following circuits;

  • An inverting amplifier

  • A non-inverting amplifier

Allow the user to select the type of circuit they would like to analyse

 

Provide the user with the option of either continuing to analyse the same circuit type or select a new circuit type

 

Part D (Mark 30%)

  Create Functions to simplify the structure and efficiency of all aspects of the program, marks will be awarded for the improvements in code structure and length

 

Part E (Mark 10%)

Additional Features

Students to create their own additional features in order to enhance the program either in terms efficiency and/or functionality.      

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

588 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

999 Answers

Hire Me
expert
Husnain SaeedComputer science

616 Answers

Hire Me
expert
Atharva PatilComputer science

918 Answers

Hire Me

Get Free Quote!

380 Experts Online