%%%bMatlab code %%
clc;
close all;
syms x;
y=2*cos(3*x)/x;
dy=diff(y);
N1=11;
N2=101;
a=1;
b=5;
h1=(b-a)/(N1-1);
h2=(b-a)/(N2-1);
x1=a:h1:b;
x2=a:h2:b;
for n=1:length(x1)-1
D1y(n)=double((subs(y,x1(n+1))-subs(y,x1(n)))/h1);
end
for n=1:length(x2)-1
D2y(n)=double((subs(y,x2(n+1))-subs(y,x2(n)))/h2);
end
Dyy=double(subs(dy,x2));
figure;
plot(x2,Dyy);
hold on
plot(x1(1:end-1),D1y,'-*');
hold on
plot(x2(1:end-1),D2y,'-o');
legend('Exact derivative','Using N=11','Using N=101');
grid on
fprintf(' Exact Derivative at x=1.6 is = %f \n'
,double(subs(dy,1.6)));
fprintf(' Using N=11 Derivative = %f \n ',D1y(3));
fprintf(' Exact Derivative at x=2 is = %f \n',double(subs(dy,2))
);
fprintf(' Using N=101 Derivative is = %f \n ',D2y(26));
OUTPUT:
Exact Derivative at x=1.6 is = 3.667259
Using N=11 Derivative = 0.396584
Exact Derivative at x=2 is = 0.358161
Using N=101 Derivative is = 0.179929
Problem 1. Consider the harmonic function 2 cos 3x 1xs5 Investigate the validity of the numerical...
11. (5 points each) Find the derivative of each function. DO NOT simplify your answers. cos(x) a) f(x) = 1-tan(x) b) f(x) – tan-" (4x²) dy 12. Consider the equation x² + xy + y² = 1. Find an expression for by implicit differentiation. dx
walk me through this a) Use the formula: k(x) to find the equation of the osculating circle for y In x at the point (1.0) 1+r732 The equation or the circle is: (x+(HS㎡+(y + (2/ b)Show that the osculating circle and the curve (y Inx) have the same first and decond derivative at the point (1.0). Note: findfor the circle using implicit dx differentiation for the circle: dy = 11 and For the curve: y Inx dy dx (1,0) a)...
Problem #3 Solve initial value problem as follows: 1 r2 dạy dy + 4x dx2 dx + 2 y = y|x=1 dy dx = 2, | x=1 = 3. х dy Calculate the value of at the point where x = 2, round-off your value of the derivative to four figures and dx present your result below (10 points): (your numerical result for the derivative must be written here)
(1 point) All parts of this problem refer to the function below. y=(3+52)5/2 dy a) Use logarithmic differentiation to find dar dy dx b) Find the slope of the tangent line at x = = 1. Slope = C) Find the equation of the tangent line at x = 1. Tangent line: y
3x+2 f(x) =( :) (x-> +1) Your problem: using the rules of differentiation, find the derivatives of the collowing: f)-(3442) fool(3x+2) (-5x + x + 1) - 2 1 =(-15x 10x" + (-2x = 2) =>15x410x5 - 2x = = 3x -3x- 27 (X)(3+0)-(3x+2)(1) x² g'=(x) =F12x15x4_2 = -5x6 xb * please check my work, if wrong, please write out correct solation! Chain Rule: When functions are composed, to take the derivative involves both the outside function and the inside...
calculo 1- Given the function y = (4-x^2 ) + 4 * arcsen (x/2) Get dy/dx and its value for x 0 (this year is requested to find the value of the pending for the function given in Point X :0). 2- Is yarcta n ((x +3)/(1-3x) Find his derivative 3- Determine dy,/ dx and the value at the point (using implied derivation) 2x 2 y 2-3xy 1 0 3x2Уз + 3xy2 +1-6+,5 2xy + sen(y) # 2 6 Determine...
2. Consider the function f(x) = sinx 2+cos a) What is the domain of the function? b) Use the first derivative to locate the intervals of increase or decrease as w e the intervals of increase or decrease as well as any local your analysis to the intervalo Sxs 21. Indicate the exact coordinates of the al extrema and clearly specify whether the point is a local max or local min. use the second derivative to determine intervals of concavity...
Problem List Next Problem Previous Problem (1 point) In this problem we consider an equation in differential form M dx + N dy = 0 (5х + 7у)dx - (7x + 3у)dy %3D0 Find М, If the problem is exact find a function F(x, y) whose differential, dF(x, y) is the left hand side of the differential equation. That is, level curves F(x, y) = C, give implicit general solutions to the differential equation. If the equation is not exact,...
HW04: Problem 2 Previous Problem Problem List Next Problem (1 point) Use the "mixed partials" check to see if the following differential equation is exact. If it is exact find a function F(x, y) whose differential, dF(x, y) gives the differential equation. That is, level curves F(x, y) = C are solutions to the differential equation: dy dx = 23 - y 3 + 4y2 First rewrite as M(x,y) dx + N(x,y) dy = 0 where M(x,y) = -1 and...
(1 point) In this problem we consider an equation in differential form M d.c + N dy=0. The equation (42 +3=”y 2) dx + (422.1, + 3)dy=0 y in differential form ñ dx + Ñ dy=0 is not exact. Indeed, we have Ñ , -Ñ , For this exercise we can find an integrating factor which is a function of y alone since Ñ , - Ñ , M is a function of y alone. Namely we have (y) =...