Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Tag for the usage of "FiniteDifference" Method embedded in NDSolve and implementation of finite difference method (fdm) in mathematica.
1
vote
1
answer
2k
views
Finite difference method for 1D heat equation
I have solve the following 1D heat equation: ut=uxx, t>0,0<=x<=5, with ic=u(x,0)=x^2, and bcs:u(0,t)=2t;u(5,t)=2t+25:
ClearAll["Global`*"]
heqn = D[u[x, t], t] == D[u[x, t], {x, 2}];
ic = u[x, 0] == …
1
vote
2
answers
3k
views
Finite difference method for 1D wave equation
I want to solve the following 1D wave equation:
utt = uxx with t > 0, 0 <= x <= 5 and ic = u(x, 0) = x^2 and du/dt(x, 0) = 0 and u(0, t) = t^2, u(5, t) = t^2 + 25.
ClearAll["Global`*"]
heqn = D[u[ …
5
votes
2
answers
741
views
Finite difference method for 1D Poisson equation
I want to solve the following 1D Poisson equation using finite difference method:
$$u'' = 6 x,\ u' (0) = 0,\ u (1) = 1$$
where $h=1/3$ i.e I need to find $u(0)$, $u(1/3)$ and $u(2/3)$.
I construct …
2
votes
1
answer
2k
views
Finite difference method for 1D Poisson equation with mixed boundary conditions [duplicate]
I have solved the following 1D Poisson equation using finite difference method:
u'' = 6 x; u'(0) = 0; u(1) = 1;
where h = 1/3; i.e., I found u(0), u(1/3) and u(2/3)
I construct the linear system …