Community Profile

photo

Qiuyi Wei


Actif depuis 2019

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


Question about Taylor series
I am trying to write a code that output a scalor apporximation for function "sin(x)" that have an error less than 0,05. I try to...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


Can anyone help me with this code? I want to find the x(n) that has an Error smaller than Criteria. The code seems never stop and I don't know what's wrong with my code. Thanks
Criteria = 2*rand; y = @(x) 0.1.*x.^4-2.*x.^3+8.*x.^2+10.*cos(x); dydx = @(x) 0.4.*x.^3-6.*x.^2+16.*x-10.*sin(x); x1 = 5; ...

environ 5 ans il y a | 1 réponse | 0

1

réponse