MATLAB Technical Analysis and Applications with MA 218 8-14. 00 8-15. -20rcos4ud
ID: 2293936 • Letter: M
Question
MATLAB Technical Analysis and Applications with MA 218 8-14. 00 8-15. -20rcos4ude 20rsin 4de 8-16. 8-17, z=1 xe "dr 8-18 [20e "de Note: You may prefer to write M-files to solve some of the 0srs5 8-19. Consider the function ye umerical differentiation to determine an approximation with 101 points Apply n . Pl approximation as a continuous function and the exact derivative as OS x 27 cos x 8-20. Consider the function y Apply numerical differentiation to determine an approximation with 101 points approximation as a continuous function and the exact derivative as a 8-21. Consider the definite integral to determine an area as follows: A-cos.xdx Determine (a) the exact area using a tabulated integral, (b) a zero-order approximation wid MATLAB, and (c) a first-order approximation using MATLAB. Use a step in (b) and (c). size of 00I 8-22. Consider the definite integral to determine the area as follows: Determine (a) the exact area using a tabulated integral, (b)a zero-order approximation wi MATLAB, and (o) a first-order approximation using MATLAB. Use a step size (b) and (c) of 002in 8-23. Consider the running integral z = cos xdx Determine (a) the exact value and (b) the first-order approximation on a step size of 0.01. (c) Plot the approximation as a continuous cu value as a sequence of o's. over one cycle basel curve and the exaxt 8-24. Consider the running integralExplanation / Answer
%problem 14
clc
clear all
syms x
z = 400*exp(-200*x);
ans14=int(z)
%result
ans14 =
-2*exp(-200*x)
%problem 15
clc
clear all
syms x
z = (20*x)*cos(4*x);
ans15=int(z)
%result
ans15 =
(5*cos(4*x))/4 + 5*x*sin(4*x)
%problem number 19
x=0:0.05:5
%note here x range is defined by making 101 points of approximation or 0.05
%increment from 0 to 5 in x
syms x y
y=exp(-x)
dy=diff(y)
%result
y =
exp(-x)
dy =
-exp(-x)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.