Question: ENGR 1 1 7 , Computer Assignment # 5 Calculate the analytical solution from: Problem 8 . 6 : R = 2 k ohms, C

ENGR 117, Computer Assignment #5
Calculate the analytical solution from:
Problem 8.6: R=2k ohms, C=10nF and L=250mH.Io=-30mA of inductor, Vo=90V of cap.
Write a MatLab m-file to plot your analytical solution (from part 1. above).
Use PSPICE to help solve problem.
Verify that the MatLab & PSPICE plots agree (Note that you need to adjust the time increment in PSPICE to fit the plot on one or two pages in the output file; however, you can make the time increment much finer in MatLab, since the plot will be the same overall size, but smoother).
Use comments (for both MatLab m-files and PSPICE output files) to include:
your name
ENGR 117
Computer Assignment #5
the date
other comments (to help you later on to remember what you have done)
Turn in a copy of the MatLab m-file.
Turn in a copy of your MatLab plot by printing the MatLab figure window results. Use the following commands to properly label your graph (note that you can use the text insertion button to add your name, etc., to the figure):
title
x_label
y_label
Turn in the PSPICE output file.
NOTE: You must verify that the PSPICE plot agrees with the MatLab plot in order to receive full credit. Show the verification by identifying corresponding points on the 2 graphs. Note that the PSPICE plot has the y-axis (voltage) going horizontal at the top, and the x-axis (time) going vertical downward on the page (i.e., rotate the page 90 degrees counter-clockwise to get it in the standard form).
Hints for PSPICE:
A sample program is given (Note: you may need to change these values, including your time increment and final time, the nodes, and you need to add an inductor):
rc_time.cir
C1102.0e-6IC=10.0
R1102.0ohm
.tran 1e-620e-6 UIC
UIC stands for Use Initial Condition
.plot tran v(1)
the plot command also shows the "print" values -- use one or the other command. .end
Hints for MatLab:
Build up your function slowly, testing small changes in the command window. Note: you may need to use the "." for some matrix operations.
Page 1 of 1
ENGR 1 1 7 , Computer Assignment # 5 Calculate

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!