![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/23673038_1630364758520_DEF.jpg)
Nishee Agrawal
Followers: 0 Following: 0
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 ...
3 years 前 | 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;...
3 years 前 | 1 个回答 | 0