Feeds
질문
have to implement 1-D heat equation using FTCS my code isnt getting the figure i need ?
Clc;close all %Initialiazing the Heat Equation %Defining the constants and initial conditions X0 = 0; X = 2; %maximum length ...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
I have to solve 1d heat equation using ftcs with given boundry condition. u(0,t)=0, u(l,t)=0 u(x,0) = f(x) but i cannot understand how to use my this in for loop .
f(x)=100; %given value of function h = 0.1;% given value of step size k = 0.01;%given value of time-step size alpha = 0.25;...
4년 초과 전 | 답변 수: 1 | 0