Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help with problem 2 For each of the problems in this lab assignment, write a separate MATLAB m-file. The name of each m-file must
Need help with problem 2
For each of the problems in this lab assignment, write a separate MATLAB m-file. The name of each m-file must be exactly as specified in the corresponding problem statement. Submit your m- files by uploading to Canvas before the due date. A p-file (an encrypted script file) for problems 1, 2, and 3 are available on the Modules page of the course website. You can download this file and run it from the command line to see how your code should behave. Your plots should exactly match the plots created by the p-files Filename: MAE1090_Lab8_1.m Write a script to plot the function 1. y(x)e0.5* sin(2x) for 100 values of x between 0 and 10 radians. Use a 2-point-wide solid blue line for this function. Then plot the function y(x) = e-0.5x cos(2x) on the same axes. Use a 3-point-wide dashed red line for this function. Be sure to include a legend, title, axis labels, and grid on the plot. 2. Filename: MAE1090 Lab8 2.m The spiral of Archimedes is a curve described in polar coordinates by the equation where r is the distance of a point from the origin, and is the angle of the point in radians with respect to the positive x-axis. Write an m-file to create a plot of the spiral of Archimedes using 1000 points for 0 6 rad when k-05. Be sure to include a title, axis labels, and grid on the plot. Hint: use the command axis equal . Filename: MAE1090_Lab8_3.m The output power produced by a rotating motor is given by the equationStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started