Problem statement
In the solution of a problem involving diffusion, the following ordinary differential equation arises
where a is a positive constant and primes denote differentiation with respect to the independent variable η. The function f and its derivatives vanish at infinity, and it is subject to the constraint
Write a function to solve this problem—that is, return values of f at specified values of η.
Background
The physical problem involves diffusion of a quantity instantaneously injected at a point—for example, a spill of a contaminant in an initially clean river. The ODE results from transforming the diffusion equation—a partial differential equation in time and a spatial coordinate—with a similarity solution.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5798 Solvers
-
Which values occur exactly three times?
5240 Solvers
-
Return unique values without sorting
999 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
449 Solvers
-
Create Volcano (or Atoll) martix. It is an extension of Bullseye matrix problem.
159 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!