ebtisam almehmadi
Followers: 0 Following: 0
Statistica
5 Domande
0 Risposte
RANK
86.744
of 295.527
REPUTAZIONE
0
CONTRIBUTI
5 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
40.0%
VOTI RICEVUTI
0
RANK
of 154.057
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
I need to fix the code by using for loop to plot the relative error E in 2 norm versus n.
%%%% Taylor ploynomials pn(x) x=2:0.01:3; f = 1./x; p1=1/2.5; p2= 1/2.5 -(4/25)*(x-2.5); p3= 1/2.5 -(4/25)*(x-2.5) + (8/1...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
I'm trying to replace "t" in the code with ti=a + (b−a)*((xi+1)/2) to plot the Lagrange polynomial interpolation with Chebyshev points.
clear n = 8; % the order of the polynomial a = 1; % left end of the interval b = -1; % right end of the interval h = (b - a)...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
I want to modify the code to plot the Lagrange polynomial interpolation with Chebyshev points. Map the n+ 1 Chebyshev interpolation points from [-1,1] to [2,3]
clear n = 3; % the order of the polynomial a = 2.0; % left end of the interval b = 3.0; % right end of the interval h = (b -...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
I'm trying to modify the code to plot the error E for n=1,2,3... I want to use for loop but I'm not sure how to use it. Please help
clear n = 3; % the order of the polynomial a = 2.0; % left end of the interval b = 3.0; % right end of the interval h = (b -...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
when I run the code, I only get one plot for f. I need to have a plot for p as well. I need to code this part p(x) =f(x0)l0(x) +f(x1)l1(x) +f(x2)l2(x) to make it works
clear all n = 3; % the order of the polynomial a = 2.0; % left end of the interval b = 3.0; % right end of the interval...
oltre 3 anni fa | 1 risposta | 0