45 Reputation

11 years, 253 days

need solution...

thanx for helping me in creating matrix but what if i want solution of above scheme when boundary conditions are u(0,t)=u(1,t)=0 and initial condition is u(x,0)=e-x . Now here i dont need matrix i just need solution..please help.. here am attaching my code if you think its not correct please make it correct for me...thanx

 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >

need solution...

thanx for helping me in creating matrix but what if i want solution of above scheme when boundary conditions are u(0,t)=u(1,t)=0 and initial condition is u(x,0)=e-x . Now here i dont need matrix i just need solution..please help.. here am attaching my code if you think its not correct please make it correct for me...thanx

 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >
 >

code explain...

n:=nops(L1);

for i from 1 to n do

U[1, i]:=L1[i]; U[2, i]:=L2[i]; U[i, 1]:=M1[i]; U[i, 2]:=M2[i];

od;

i got it what you want to say..but can you just explain me above mention codes...i am not able to understand why you have written them...

what is meant by nops and why just it takes n=1 always and loop which u ran...

code explain...

n:=nops(L1);

for i from 1 to n do

U[1, i]:=L1[i]; U[2, i]:=L2[i]; U[i, 1]:=M1[i]; U[i, 2]:=M2[i];

od;

i got it what you want to say..but can you just explain me above mention codes...i am not able to understand why you have written them...

what is meant by nops and why just it takes n=1 always and loop which u ran...

still need to be corrected......

Am sorry for writing here improperly the code but in actual i havent done that mistake which ur highlighting in your answer..i just pasted my code here wrong but maple sheet the loop commands are not coming with #. So if you ignored this mistake can you correct this for me...please will b kooking forward for your this help..thanks

still need to be corrected......

Am sorry for writing here improperly the code but in actual i havent done that mistake which ur highlighting in your answer..i just pasted my code here wrong but maple sheet the loop commands are not coming with #. So if you ignored this mistake can you correct this for me...please will b kooking forward for your this help..thanks

:D ya sorry without h...i searched alot ...

:D ya sorry without h...
i searched alot and got some results which was complicated to understand... so please can i have simple code for this because according to that code i have to alter it for cubic spline

:D ya sorry without h...i searched alot ...

:D ya sorry without h...
i searched alot and got some results which was complicated to understand... so please can i have simple code for this because according to that code i have to alter it for cubic spline

 5 6 7 Page 7 of 7
﻿