Problem
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 problem has the conditions
and
.
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 from one point where the concentration is maintained at a constant value into a medium in which the concentration is zero far away. 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 Solvers6
Suggested Problems
-
Find the peak 3n+1 sequence value
2571 Solvers
-
The Hitchhiker's Guide to MATLAB
3414 Solvers
-
Lychrel Number Test (Inspired by Project Euler Problem 55)
113 Solvers
-
Minimum Distance Point to Segment
63 Solvers
-
427 Solvers
More from this Author325
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!