Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Im doing a mat lab study guide. I would appreciate answers and work from you so I can see if Im doing this right 4.
Im doing a mat lab study guide. I would appreciate answers and work from you so I can see if Im doing this right
4. [10 points] Enter the following variables and determine the following equations using the command window. Write the answer in the corresponding blanks. Variables: g-3-4 6 10-9-5] h=[1 0-2 10 6 7] a, g>=(h+1) b. h-gc0 c. 2g & (h+2) d. hlg-6 5. [10 points] Write an m-file that plots y-7x2+12x-15 and its first derivative. a. The x-axis range should be from-10 to +10 in increments of 1. Plot the polynomial using a red dotted line with diamond markers and the derivative using a blue dashed line with asterisk markers. The plot needs a title - Problem 5: Polynomial Plot. No other axis titles are needed b. Use a MATLAB built-in function to find the maximum and minimum values of bohh y and its derivative (i.e. don't just look at the data to identify them) 6. [10 points] The voltage in a second order RLC circuit is given by: v(t)5+ e-oSt(4cos(3t) +9sin(3t)) Volts, where t is time in seconds Create an m-file that Creates a time vector, t, that starts at 0 and ends at 2 seconds with enough data points to ensure a smooth plot (i.e. no jagged lines- you may need to run the program a few times before you settle on the best number of points). a. b. Calculates the voltage c. Recalculates the voltage changing the sinusoidal frequency from 3 to the following: 5, 10, and 20 (Thus, you will have 4 different voltage calculations- call them v1, v2, v3, and v4, respectively). d. Plot all four voltage calculations versus time on the same figure. Include labels Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started