Question: This is where I am. Help me with it, Thanks! clear; clc; fo=fopen('project1.txt','w'); fprintf(fo,' x f(x)(arithmetic statement) f(x)(by series) '); for x = -0.9:0.1:0.9 f=@(x)(1+x)^(1/3);

This is where I am. Help me with it, Thanks!
clear; clc;
fo=fopen('project1.txt','w');
fprintf(fo,' x f(x)(arithmetic statement) f(x)(by series) ');
for x = -0.9:0.1:0.9
f=@(x)(1+x)^(1/3);
term(1)=1.0;
for n=1:50
term(n+1)=term(n)*((1/3)-(n-1)*(x))
if abs(term(n+1))
break;
end
end
sumSeries = sum(term);
fprintf(fo,'%5.1f %12.6f %12.6f ',x,f(x),sumSeries);
end
fclose(fo);
Develop a computer program in MATLAB that will evaluate the function f(x)x)V* for -0.9sxs 0.9 in steps of 0.1 by MATLAB Fundamentals 1. an arithmetic statement. 2. series allowing for as many as 50 terms. However, stop adding terms when the last term only affects the sixth decimal place in the answer. By using a Taylor series expansion, it can be seen that the relationship betweein successive terms iS (k) x 3-(k-1) term (k+l) -term for k 1,2, 3, Print out a table (to a file) in the format shown in Project 2.3; use six significant figures for f(x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
