ENGR_1181_Final_Exam_Practice_Problem_Solutions_Rev_2014_12_7

ENGR_1181_Final_Exam_Practice_Problem_Solutions_Rev_2014_12_7

Info icon This preview shows pages 1–4. Sign up to view the full content.

ENGR 1181 | Final Exam: Practice Problem Solutions Problem 1: Solution clear clc close all disp( 'Urban Meyer, Seat #01' ); disp( 'ENGR 1181' ); disp( 'Practice Problem 1' ); disp( 'AU 14 Prof: Woody Hayes' ); disp( '12/1/14' ); t = (0:0.01:10); % forms "t" array from 0 to 10 in increments of 0.01 tau = 3; % defines constant "tau" f = 0.5; % defines natural frequency in Hz V_step = 5; % defines step input voltage of 5 V V_step_array = zeros(1,length(t))+5; % creates array same length as t to properly plot 5V as line Vrc = V_step*(1-exp(-t/tau)); % calculates Vrc and Vrlc Vrlc = V_step*(1-exp(-t/tau).*cos(2*pi*f*t)); plot(t,V_step_array,t,Vrc,t,Vrlc); % plots and labels the graph xlabel( 'Time (s)' ); ylabel( 'Voltage (V)' ); title( 'RC Circuit and RLC Circuit Response to Step-function Input' ); legend( 'Input Voltage' , 'Vrc' , 'Vrlc' );
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Name: Seat Number: __________ Problem 2: Solution clear clc close all disp( 'Urban Meyer, Seat #01' ); disp( 'ENGR 1181' ); disp( 'Practice Problem 2' ); disp( 'AU 14 Prof: Woody Hayes' ); disp( '12/1/14' ); x = (0:1:50); % forms "x" array from 0 to 50 in increments of 1 y_0 = zeros(1,length(x))+100; % creates values for length of x to properly plot as line y_1 = x.^2 - 50*x + 400; % calculates y_1 requiring only one dot operator for exponentiation. y_2 = x.^3/25 - 3*x.^2 + 59*x - 229; % calculates y_2 requiring two dot operators for exponentiation. plot(x,y_0,x,y_1,x,y_2); % plots and labels the graph xlabel( 'X Array (unitless)' ); ylabel( 'Y Values (unitless)' ); title( 'Three Function Plot Versus x Array Input.' ); legend( 'y_0' , 'y_1' , 'y_2' ); 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 Time (s) Voltage (V) RC Circuit and RLC Circuit Response to Step-function Input Input Voltage Vrc Vrlc
Image of page 2
Name: Seat Number: __________ Problem 3: Solution clear clc close all disp( 'Urban Meyer, Seat #01' ); disp( 'ENGR 1181' ); disp( 'Practice Problem 3' );
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 4
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '14
  • Woody Hayes, Urban Meyer

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern