Ask Question, Ask an Expert


Ask C/C++ Expert

Home >> C/C++

A Non-linear Circuit Problem:
In this exercise you are required to prepare a computer program which will find out the voltage across a resistor in the following circuit:

232_non linear circuit problem.jpg

Where E0 = 0.16 Volts, Ro = 200 kΩ. For this exercise, we will assume that the special semiconductor diode used in the circuit has a current-voltage characteristic given by:
i = Io {exp[eV/kT]-1}

Where i is the diode current and V the voltage across the diode. e/kT= 40 at room temperature and Io= 8×10-8 A. The normal threshold voltage drop of 0.7 V before the diode starts to conduct any electric current does not apply in this exercise.
Using your programme you need to in your report present two sets of results: the voltage drop across the resistor for e/kT= 40 and e/kT= 20
Your program should be designed in such a way that E0, R0 and e/kT are read from keyboard with sufficient information displayed to the user before an input is taken. Appropriate output to the screen should also be generated to display the find outd results. For this exercise you are not required to use sub-programs (functions).
Your report should NOT exceed five A4 pages. It should consist of: 
1) Introduction (nature of the problem and what you are asked to do).

2) Description of your programme design and structure. For ex, what are the input data and what do you want the program to output? Could the user input the required data conveniently? Does the programme give a user clear instruction when the program starts?

What type of logical structure is used and what are the conditions used in the logical structure?

3) C++ code and typical results. Remember to add sufficient comment to the code so others could understand easily what each section of the code does. If the code is difficult to read, marks will be deducted.

4) A brief description of how to run your software and how to interpret the out results. Discussion of the performance of your programme and coding problems that you have encountered.

5) Appendix: source code (please also keep an exact copy of your submitted project/source code in your M:Driver).

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M9711

Have any Question? 

Related Questions in C/C++

Computer scienceprogram-write a c program that willpresent

Computer Science Program- Write a C++ program that will: Present the user with a menu of choices: 1. Random number 2. String 3. Type Casting 4. Integer Math Then, in an if-else if structure (or switch) write the code for ...

Write an application that allows the user to enter two

Write an application that allows the user to enter two variables: number (real) and code (character). Calculate the value indicated by the table below: If code is Result A symbol the whole part of the number everything e ...

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

You need to program a microprocessor that would have a

You need to program a microprocessor that would have a temperature, gas, humidity and PIR sensor connected to it. It would send the data to a PC via a Zigbee and receive commands from the PC via the Zigbee to control mot ...

Here are two examplesifcounter7continueifcounter7break1

Here are two examples: if(counter==7) continue; if(counter==7) break; 1. Write a for loop that counts only the odd numbers out of the first five numbers entered from the keyboard, but does not count (skips) the number 7. ...


Program Write a C++ program that will: Ask the user for the name of an input file. Read in this name and open that text file for input. Ask the user which of two options they want to do: Read in student data Count lines ...

Q 1 write a c program to declare two integer one float

Q. 1 Write a C++ program to declare two integer , one float variables and assign 10, 15, and 12.6 to them respectively. It then prints these values on the screen. Q. 2 Write a C++ program to prompt the user to input her/ ...

Only one programwrite a c program to find fibonacci numbers

Only one program Write a C++ Program to Find Fibonacci Numbers using Dynamic Programming.

This program involves using stl listsfor this program you

This program involves using STL lists. For this program you will implement three functions whose prototypes are given below: list ::iterator mxIter(list ::iterator first, list ::iterator last); void selectSort(list & aLi ...

1 write a program to find the sum amp average of the given

1) Write a program to find the sum & average of the given numbers using the while loop. 2) Write a program in C to find the sum and average of the given numbers stored in an array of n values.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate