Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You may (should) use computer aids to check your work, but except as stated abov

ID: 3141732 • Letter: Y

Question

You may (should) use computer aids to check your work, but except as stated above, the assigned problems should be worked in accordance with the methods given in class.

If you are familiar with MATLAB, you may use advanced commands to check your results, but please complete the assigned problems using the methods presented in class or in the class text.

NOTE: Code which produces correct results but is uncommented or poorly commented will not receive full credit. I will gladly assist with de-bugging well commented code. I will not debug uncommented code.

INCLUDE ALL CODE (MATLAB) FILES WITH YOUR ASSIGNMENT. INCLUDE INPUT, OUTPUT AND SCRIPTS.

4. One solution of Bessel's Equation of order zero is 23 (m) a. Plot the five-term partial sum approximation (i.e retain terms with powers ofx up to 8). Also plot the ten term partial sum approximation powers up to 18 and the 20 term partial sum approximation (powers up to 380. Plot all of the graphs on a single plot and use the taxis' command to limit the vertical range to +2 to -2 units and the horizontal range to 0 to 10 units b. Identity the interval within which the five-term solution and the ten-term solution remain within 0.005 units of the 20-term solution. Identify these intervals to an accuracy of no less than 0.0001 units.

Explanation / Answer

Don't know about methods which are presented in class. use following script to plot bassel eqn for 5, 10 and 20 terms.

fact=ones(20,1);
for i=2:20
fact(i,1)=i*fact(i-1,1);
end
x= zeros(20,1);
res = ones(20,20);
for i=1:20
x(i,1)=(i-1)/2;
for j=1:19
res(i,j+1)=res(i,j)+(((-1)^j)*((x(i,1))^(2*j)))/((2^(2*j))*((fact(j,1))^2));
end
end

figure()

plot(x,res(:,5),x,res(:,10),x,res(:,20));
xlim([0 10]);
ylim([-2 2]);
xlabel('X Axis');
ylabel('Y Axis');

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote