photo

Nishee Agrawal


Last seen: 約2年 前 2021 年からアクティブ

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年以上 前 | 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年以上 前 | 1 件の回答 | 0

1

回答