Resolve dependent variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Resolve dependent variables
Hi everybody
I have a system of equations with three variables that depend on each other and that are solved by iteration. What I am trying to do is to leave this system of equations in function to the variables ds, Ds and Dliq.
To better understand what I want, I have attached an example of what I want to do.
In advance thanks for the help.
Solved! Go to Solution.
- Labels:
-
Chemical_Engineering
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Terrys example shows what you basically have to do to turn a solve block into a function of some arguments.
But the approach will fail in your example because the result of the solve block is a vector with elements of different dimensions (2x dimensionless and 1x speed). This is something Mathcad cannot deal with.
So you would have to correct for this additionally - either make v.s dimensionless or make the other two with dimension speed.
See the attached of some ways how to accomplish that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
You can define a function to equal the "Find" statement. This is called parameterizing the solve block.
Here is an example. You can do the same in your instance.
Cheers
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Terrys example shows what you basically have to do to turn a solve block into a function of some arguments.
But the approach will fail in your example because the result of the solve block is a vector with elements of different dimensions (2x dimensionless and 1x speed). This is something Mathcad cannot deal with.
So you would have to correct for this additionally - either make v.s dimensionless or make the other two with dimension speed.
See the attached of some ways how to accomplish that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much to both
