Question: Matlab Write a program that completes the items listed below. Some items may require you to solve a specific equation, while others may involve the
Write a program that completes the items listed below. Some items may require you to solve a specific equation, while others may involve the plotting of those equations. Be sure to add both a title and axes labels to all plots. Failure to do so will result in a loss of points I The following are items you must complete: 1. Find the slope of a linear equation given the following set of points - [6,12] and [3,24] 2. Find the linear equation using the polyfit() function given: x=[2,4,7,8,10]y=[10,8,6,4,2] 3. Plot the linear equation for x=1000:1000 using the equation y=3x+4 Be sure to include a plot title and axes labels Set your range of minimum and maximum x and y to appropriate values (so we can see the entire plotl) 4. Solve the quadratic equation where a=2,b=10, and c=11 using BOTH the solve() function and the 5. Consider the electricity coming from a wall outlet - this electricity involves alternating current ( AC ). This is quadratic formula. a topic very common to later circuits-related classes because you will need to know how to read, analyze, and plot these potentially complex waveforms. Plot the quadratic equation for x=0:20 using the equation y=10sin(120x) and note that, in this equation, 10 represents the amplitude (or height) of the wave while 120 represents the angular frequency. These values may be unfamiliar to you now, but you will see these againl Be sure to include a plot title and axes labels. Set your range of minimum and maximum x and y to appropriate values (so we can see the entire plot)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
