Question

Lab 5 Advanced Plotting T5.1-1 Plot the equation y = 0.4V/1.8x for 0≤x≤ 35 and 0 ≤ y ≤ 3.5. T5.1-2 Use the fplot command to investigate the function tan(cos

x) - sin(tan x) for 0≤x≤ 2. How many values of x are needed to obtain the same plot using the plot command? (Answer: 292 values.) T5.1-3 Plot the imaginary part versus the real part of the function (0.2 + 0.8i)" for 0 ≤ n ≤ 20. Choose enough points to obtain a smooth curve. Label each axis and put a title on the plot. Use the axis command to change the tick-label spacing. T5.2-1 Pick a suitable spacing for t and u, and use the subplot command to plot the function ze 0.5t cos(2016) for 0≤1≤8 and the function u = 6 log10 (²+20) for -8≤v≤8. Label each axis. T5.2-2 Plot the following two data sets on the same plot. For each set, x = 0, 1, 2, 3, 4, 5. Use a different data marker for each set. Connect the markers for the rst set with solid lines. Connect the markers for the second set with dashed lines. Use a legend, and label the plot axes appropriately. The rst set is y=11, 13, 8, 7, 5, 9. The second set is y =2, 4, 5, 3, 2, 4. T5.2-3 Plot y = cosh x and y = 0.5e* on the same plot for 0≤x≤2. Use differ- ent line types and a legend to distinguish the curves. Label the plot axes appropriately. T5.2-4 Plot y = sinh x and y = 0.5e on the same plot for 0≤x≤ 2. Use a solid line type for each, the gtext command to label the sinh x curve, and the text command to label the 0.5e* curve. Label the plot axes appropriately. T5.2-5 Use the hold command and the plot command twice to plot y = sin x and y = x-x³/3 on the same plot for 0≤x≤ 1. Use a solid line type for each, and use the gtext command to label each curve. Label the plot axes appropriately. T5.2-6 Plot the following functions using axes that will produce a straight-line plot. The power function is y=2x-05, and the exponential function is y = 10¹ x T5.2-7 Plot the function y = 8x³ for-1 ≤x≤ 1 with a tick spacing of 0.25 on the x axis and 2 on the y axis. T5.2-8 The spiral of Archimedes is described by the polar coordinates (0,r). where r = a0. Obtain a polar plot of this spiral for 0 ≤ 0 ≤ 4T, with the parameter a = 2.