Community Profile

photo

iwan


UM

Active since 2013

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


I think my program is complete.. What happen to this line? u(i)=sin(pi*x(i)); ??
if true % code end n=10; c1=0; c2=0; k= 0.0025; L=1; h=0.1; alpha=1; T=0.025; n=L/h;m=T/k; lambda =alpha*...

10 years ago | 1 answer | 0

1

answer

Question


I need to tabulate the data for u(x,t) vs x
I need to tabulate the data for u(x,t) vs x. Someone help me please :( if true % code end L = 1.; T = 1.; maxk =...

10 years ago | 0 answers | 0

0

answers

Question


Hello there. I ran a matlab program and i cant produce any graph. This program can run but it doesnt show any graph.. Please help me
L = 1.; T = 1.; maxk = 2500; dt = T/maxk; n=50; dx = L/n; cond = 1/4; b = 2.*cond*dt/(dx*dx); for i= 1:n+1 x(i) = (i-...

10 years ago | 2 answers | 0

2

answers