Question: This is a mathlab problem. You must use mathlab to complete this assignment. EECS 1541 Introduction to Computing for Physical Sciences Lab questions QUESTION 1:

This is a mathlab problem. You must use mathlab to complete this assignment.
EECS 1541 Introduction to Computing for Physical Sciences Lab questions QUESTION 1: a) The mathematical equation that describes a cosine wave as a function of time (t) is given below, where A is the amplitude of the sine wave, fn is the frequency in Hz, is the phase shift of the sine wave in radians: y, = Acos(27f1-0) If $ = 40", and A = 10, plot the above sinusoidal function for 1 3152, with different frequencies: fi = 1Hz, f2 = 2Hz. Plot the two functions on the same graph with red dotted line represents the function with 1Hz, and "black solid line" represents the function with 2Hz. Use a time step of 0.001. Label all the axes. include gridlines and provide a legend in your plot. b) A linear combination of sinusoidal waveforms is given below: v;(t)= 4, sin(20ft-)+ A, cos(20ft-6) Plot v(t) for 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
