Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how we can write initial and boundary conditions in C++

0 votes
asked Apr 8, 2018 by sana

how we can write initial and boundary conditions in C++,given below

ρ(L, t) = ρmin + (ρL ρmin)ekt, ρ(x, 0) = 0 for 0 x < L, ρ(L, 0) = ρL n(0, t) = 0, n(L, t) = nLekt, n(x, 0) = 0 for 0 x < L, n(L, 0) = nL

c(0, t) = c0, c(L, t) = 0, c(x, 0) = c0(x) for 0 < x ≤ L

ρ(L, t) = ρmin + (ρL ρmin)ekt, ρ(x, 0) = 0 for 0 x < L, ρ(L, 0) = ρL n(0, t) = 0, n(L, t) = nLekt, n(x, 0) = 0 for 0 x < L, n(L, 0) = nL

c(0, t) = c0, c(L, t) = 0, c(x, 0) = c0(x) for 0 < x L

Please log in or register to answer this question.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...