Linked Questions

44 votes
4 answers
2k views

Is there a convenient way to copy/paste text-interspersed SE code snippets into Mathematica?

Is there a way to copy and paste code snippets from SE to Mathematica if these snippets are interspersed with text? Like e.g. in Morphing Graphics, color and location in both the question and answer, ...
Yves Klett's user avatar
  • 15.4k
21 votes
4 answers
1k views

What's wrong with this FFT-based Von Kármán vortex street simulation?

About 9 years ago, I came across this interesting website, and found the following paragraph with a broken Mathematica code sample: When fluid passes an object, it can leave a trail of vortices ...
xzczd's user avatar
  • 67k
14 votes
2 answers
1k views

A more convenient Fourier series

Personally, I feel the design of FourierSeries/FourierSinSeries/FourierCosSeries/...
xzczd's user avatar
  • 67k
7 votes
4 answers
607 views

What is wrong with my approach to solving a heat transfer PDE?

I wanna solve the following heat transfer PDE using Mathematica. $\qquad u_{xx}=u_{t}$ with following conditions: $\qquad \begin{cases}u(x,0)=sin(x) &0<x<\pi &,t>0\\u_{x}(0,t)=1\\...
Moreza7's user avatar
  • 83
13 votes
1 answer
583 views

why can't Mathematica solve the wave PDE on string when adding a dispersion term?

Could someone possibly gives an insight as to why DSolve can solve $$ \frac{\partial^{2}u}{\partial t^{2}}=\frac{\partial^{2}u}{\partial x^{2} }\qquad t>0 $$ ...
Nasser's user avatar
  • 146k
7 votes
2 answers
897 views

Laplace PDE inside a disk

I can't get Mathematica to solve this standard textbook PDE, which is Laplace inside a disk of some radius. One of the boundary conditions needed is that the solution is finite (bounded) in center of ...
Nasser's user avatar
  • 146k
3 votes
3 answers
891 views

Solve initial-boundary value problem of heat equation without NDSolve or DSolve

I want to solve the following pde pde = D[u[t, x], t] - D[u[t, x], x, x] == 0 with the boundary conditions defined as ...
Daniel's user avatar
  • 31
7 votes
1 answer
432 views

Problems with DSolve and NDSolve for Dirichlet problem on an annulus

To solve the Dirichlet problem on an annulus, I do the following in 12.2 on Windows 10 Pro ...
user64494's user avatar
  • 27.1k
2 votes
2 answers
656 views

Laplace's equation with mixed boundary condition using separation of variables

The equation and boundary condition are defined in the picture where $T_1$, $T_2$, $T_3$, $k$ and $h$ are constant value. I am trying to use variable separation to solve the problem. If $T(x,y)$ ...
Mulang Song's user avatar
1 vote
2 answers
491 views

How to obtain the exact solution of a partial differential equation?

I know that Mathematica can solve a PDE numerically, but I wonder if it is possible to obtain the exact solution. For example, consider the heat equation $$u_t = \kappa u_{xx} $$ Is it possible to ...
Kiera's user avatar
  • 11
8 votes
2 answers
362 views

Two-dimensional Laplacian coupled with another equation leading to a BVP with integral bc(s)

I have the two-dimensional Laplacian $(\nabla^2 T(x,y)=0)$ coupled with another equation. The Laplacian is defined over $x\in[0,L], y\in[0,l]$. On manipulating the second equation (which I have ...
Avrana's user avatar
  • 297
3 votes
1 answer
697 views

Inverse Laplace transform of this complicated function

I have been solving a coupled PDE system analytically and I need to find the inverse Laplace transform of $(1)$ and get $T(x,y)$. $s$ is the Laplace domain variable and $\alpha, \beta, \gamma, T_{fi}, ...
Avrana's user avatar
  • 297
2 votes
2 answers
1k views

Comparing analytical solution with numerical solution of Helmholtz equation in a unit square

I am just learning PDE, and I am interested to compare analytical solution with numerical solution of Helmholtz equation in a unit square with zero boundary condition. I am not sure if it possible. ...
Lila's user avatar
  • 91
2 votes
2 answers
307 views

Symbolic solution for Laplace equation with pure Neumann b.c. and constraint at a point

Starting problem: $$ \begin{cases} \nabla^2 f = 0 & \text{on} \; \Omega \\ \frac{\partial}{\partial\mathbf{n}} f = y\,n_x - x\,n_y & \text{on} \; \partial\Omega \end{cases} $$ with $\Omega \...
πρόσεχε's user avatar
5 votes
1 answer
384 views

how to obtain solution for $u_t+u=u_{xx}$

I was trying to verify my hand solution for this PDE using Mathematica. Is a trick to help Mathematica obtain solution to $u_{t}+u=u_{xx}$ with initial conditions $u(x,0)=f(x)$ and boundary ...
Nasser's user avatar
  • 146k

15 30 50 per page