Question: IN MATHLAB CODE PLEASE!!!!! 2. Find the linear equation using the polyfit() function given: o x=[2,4,7,8,10] o y=[10,8,6,4,2] 3. Plot the linear equation for x=1000:1000

IN MATHLAB CODE PLEASE!!!!!
2. Find the linear equation using the polyfit() function given: o x=[2,4,7,8,10] o 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 plot!) 4. Solve the quadratic equation where a=2,b=10, and c=11 using BOTH the solve() function and the quadratic formula. 5. Consider the electricity coming from a wall outlet - this electricity involves alternating current (AC). This is 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 again! 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)! MEASURE: - How do we find the slope of a line? - How do we solve a quadratic equation using the quadratic formula? - How do we solve linear and quadratic equations using MATLAB functions? ANALYZE: - How do we calculate the slope of a line given two coordinate pairs (sets of x,y points)? - How can we save a list of x - and y-values and use them with the polyfit function to solve a linear equation? - Can we produce the same results for solving a quadratic equation when using both the solve() function and the quadratic formula? - How do we plot different equations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
