1. A graph of the functions sin x and cos x between 0 and 2π.
2. Finding the current through the 10 Ω resistor in the following circuit:
We set i1 and i2 to the left and right loop, respectively, with both loops moving clockwise. By setting the systems of equations in FreeMat, shown below,
we find that the current is 0.1857 A in the direction of i2 .
3. Comparing exponential graphs with different time constants. The first graph is the function e-t/τ
Assignment 1-1 is a graph of 2e-t/τ. One time constant is 100 ms and 200 ms for the other.
Assingment 1-2 is a graph of 2(1-e-t/τ) with the same time constants.
4. Adding sinusoidal functions.
Assignment 2-1 is the sum of two sinusoids: 3 sin(2t+0.175) and 5 cos(2t-0.525).
Assignment 2-2 is the same graph with a frequency of 10 Hz. The script for the output goes as follows:
and the graph
No comments:
Post a Comment