how to write this boundary conditions in matlab code

2 views (last 30 days)
This is my boundary condition i need to use explicit ftcs numerical difference scheme
𝐶|𝑥=0 = 1 mg/L, 𝑑𝐶 𝑑𝑥 |𝑥=𝐿 = 0, 𝐶|𝑡=0 = 1 mg/L
  1 Comment
Torsten
Torsten on 3 Apr 2022
No need to use a difference scheme.
Solution is C = 1 mg/L for all x and all t.

Sign in to comment.

Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!