30 Reputation

3 Badges

8 years, 114 days

MaplePrimes Activity

These are replies submitted by sunflower

@Carl Love Thank you so much!.


 local i,p;   i:=1;

 while i<= N do      


     if abs(p-p0)<TOL then             return p;     else i:=i+1;            p0:=p; end if;  

end do;

printf("The method failed after N iterations,N=%d",N);  end proc:

p0 := 2;
TOL := 10^(-5);
N := 50;
Newton(f, p0, TOL, N);

Maple noticed "error"

@vv Sorry, all of you. I don't know how to create a matrix which have det=2. I don't understand

@acer Thank you very much

@tomleslie How thoughtful.Thank you very much!

@Thomas Richard Yes. That is Cholesky decomposition. You see, Ly=b, Transpose(L)x=y, Maple notice "error". I don't understand. Can you explaint it to me? Thank you so much!

@acer Thank you very much!

@tomleslie Thank you so much!

@Carl Love Thanks for your help! 

@Carl Love Thank you so much! :D 


Thank you so much! 


local  i,j, n, Q;  



P:=array(0..n,[]);  j:=0;  

for i to n+1 do      

Q[i-1, j]:=op(i,Y);      

P[i-1]:=op(i,X);  od;

 for i to n do  

    for j to i do    

   Q[i,j]:=((x-X[i-j))*Q[i,j-1]-(x-X[i])*Q[i-1,j-1])/(X[i]-X[i-j]);        od;  od;

 for i from 0 to n do      


for j from 0 to i do    

    printf("%f",Q[i,j]);  od;  

printf("\\n");  od;  end proc:

I writed but I don't know errors

@Preben Alsholm Thank you so much

@tomleslie Thank you so much!

@Carl Love  Thank you very much! :D

1 2 3 4 Page 2 of 4