1) Write a script that plots the function $x(t) = u(t) + 2(t - 3)u(t - 3)$ over the time range 0 to 6 seconds. Do not use Matlab's built-in function stepfun. Label axes. 2) Assuming the diode in the circuit below is ideal, plot the voltage $v(t)$ over the range -1 to 5 seconds. Label axes. + + 25sin(2$\pi$1.5$t$) v(t) 3) Write a function with the first line: function [v,t] = expsine(A,Tau,T,Phi) that calculates and plots the decaying exponential signal, $v(t) = Ae^{-t/\tau}cos(\frac{2\pi}{T}t + \phi)$ where Tau = $\tau$ is the decay time constant, T is the period of oscillation, and Phi = $\phi$ is the phase shift. The time vector, t should have 200 points and should range from 0 to 4 time constants. The axes should be labeled. Write a script that calls the function using the parameters A = 4, Tau = 12, T = 2, and Phi = $\frac{\pi}{4}$.
Added by William K.
Close
Step 1
time = linspace(0, 6, 1000); Show more…
Show all steps
Your feedback will help us improve your experience
Supratim Pal and 63 other Physics 102 Electricity and Magnetism educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Model 1. Circuit A: A sinusoidal voltage of constant amplitude V0 = 3V and varying frequency is applied across a 100 ohm resistor and a 2.2 µF capacitor in series. 2. Calculate τ = RC and ω1 = 1/RC for this circuit and the fill in the table. τ = ________s ω1 = ________rad/s f1= ________Hz ω/ω1 Frequency (cycles/s=Hz) Frequency (radian/s) XC (Ω) R (Ω) I = V0 / √(XC^2 + R^2) VC = IXC VR = IR 0 0.25 0.50 0.75 1.0 1.25 1.5 2.0 3.0 4.0 5.0 Plot your calculated VC and VR against ω/ω1 in the space below. (Excel is your friend here.) PLOT HERE
Adi S.
The voltage $E$ in an electrical circuit is modeled by $$E=5 \cos 120 \pi t$$ where $t$ is time measured in seconds. (a) Find the amplitude and the period. (b) How many cycles are completed in 1 sec? (The number of cycles (periods) completed in 1 sec is the frequency of the function.) (c) Find $E$ when $t=0, .03, .06, .09, .12$ (d) Graph $E$ for $0 \leq t \leq \frac{1}{30}$
The Circular Functions and Their Graphs
Graphs of the sine and Cosine Functions
Using the Laplace Transform to redo the examples 8.4 and 8.8. You need to: 1. redraw the circuits in S-domain; 2. write the s-domain equations and solve it and get s-domain solution; 3. Find the values at t=0 and t=∞; 4. Check s-domain solution with IVT and FVT; 5. Inverse-Laplace transform s-domain solution to get time-domain solution; 6. Check time-domain solution with IVT and FVT. 7. Need to use Matlab to plot the voltage and current waveform Example 8.4 Find the underdamped nature response of a parallel RLC circuit. a) Given V0 = 0 V and I0 = -12.25 mA, Calculate the voltage response v(t) for t ≥ 0. b) Plot v(t) versus t for the time interval 0 ≤ t ≤ 11ms.
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD