photo

Nishee Agrawal


Last seen: 2 years 前 自 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 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

1

个回答