Heat conduction on a insulated rod with the ends at constant temperatures of T0=100 and T10=500 degC. L=0.5m delX=0.05
Governing Equation: d/dx(k dT/dx)=0
Analytical Solution: T=800x + 100
k(d2T/dx2)=0
Central Difference:
d2T/x2=((T,i-1)-2(T,i)+(T,i+1))/delX^2
So for i=1 on k(d2T/dx2)=0...