Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I am having slight difficulty graphing this Mathcad problem. When I try, it sends me an error along the lines of "all evaluations either resulted in a complex number or error." The problem is trying to plot the concentration versus position of diffusion/flux through a thin layer membrane. I have to turn it in by tonight, so I would love any help!!
Thank you!
Solved! Go to Solution.
You have two more undefined functions CB1(x), and CBL.(x)
And you're trying to solve for CB(x).
Need to define the functions you're not solving for.
Thank you for your response! I am not sure how to define them because they are my boundary conditions?
One problem is that odesolve returns a function name, so on the LHS you need CB, not CB(x). CB is the function you then plot. Also, however, you have two undefined functions: CB1(x) and CBL(x). what are they supposed to be?
Ok, now I understand the LHS part. The two functions are the boundary conditions of the system. The surface concentration is denoted by CB1 while CBL is supposed to the concentration at a point (L distance) away from the starting point (CB1). I am not sure how to define these two functions. If you are willing, I would really appreciate help through a Mathcad file... even if it is not how my problem is set up, I think it would be helpful for me to see something similar.
If they are boundary conditions then
CB(0)=100
CB(0.08)=10^-7
But I don't know what they are supposed to represent in this equation:
Something like this perhaps?
Thank you all for your help! Got it figured out!!
Or in Prime with units