Question: Instructions 1) Create a file call it with the form exercise_1_first name_last name. Include the underscores in your file name. 2.) Create the following variables

Instructions 1) Create a file call it with the form exercise_1_first name_last name. Include the underscores in your file name. 2.) Create the following variables c=4.02; - d=11.71; - B=[12,1;7,3.5] - Create a matrix 22D using the rand O function. - Create two random complex numbers, call them z1 and z2 using the randiO function. Both the real and complex components should be random integers in the interval [7,6] Make sure to include the semicolons. Otherwise, the numbers are printed to the screen. For intensive applications, constantly printing to the screen slows the software down. 3.) Add the following lines of code. You should notice the workspace fill up with variables after running your file. I want you to print to the screen for this part. Normally, you wouldn't unless you were looking for mistakes. c+d+2.2 - 3c4d9.1 - c=B4d=D - 2z15z2 - Evaluate the expression (ln(7.2)sin(31)1)/(3.1(e0.57)+5) - Use the built-in function polyval to evaluate the polynomial 2x4x3+3x2+ 4x5 at c. 4.) Graph the function y=0.5x23x+4 over the interval [3,0] and y=x2+2 over the interval [1,1]. Put both functions on the same graph - Use xlabel to label the x axis " x ". - Use ylabel to label the y axis " y ". - Use title to title your graph "Two Quadratics Walked into a Bar. - Change the font sizes on the axis labels to something bigger
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
