system of equations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
system of equations
Hello,
I would like to solve a system of equations, but I receive the error "The symbolic result is too large to display". I need the symbolic result, because I would like to calculate the parameters of the electric circuit for which I wrote this system of equations. I'd appreciate it if you could help me with this issue.
I have attached the relevant file.
Thank you.
Marius
Solved! Go to Solution.
- Labels:
-
Algebra_Geometry
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
As your sheet is too complex for me to edit and show what I mean, here is a simple worksheet with some thoughts and explanations.
BTW, you may consider closing your other thread
Re: solve of equation with combination of coeffici... - PTC Community
or come back and ask if its not solved.
- 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 Valery,
I tried to do attribution, but it didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can turn the result into a function of the unknowns.
Use "result(xIcb0, xbeta,xR1043,.....) := [ ] solve... "
You will still get the message about the expression being too large, but you can use that function an can evaluate it numerically for any value of the unknown variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Werner,
Thank you very much for your reply.
Could you tell me please what do you mean by "[ ]" before solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I forgot to mention that I am using Mathcad Prime version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I used the function but unfortunately it doesn't work.
Please see attached the updated file.
Please let me know if there is any misinterpretation of your suggestion.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Marius_P wrote:
Hello Werner,
Thank you very much for your reply.
Could you tell me please what do you mean by "[ ]" before solve?
It just meant the vector with the equations followed by the symbolic "solve" - all unchanged as you wrote it in your sheet.
What I wanted to say was that you simply replace the variable result by the function definition result(xIcb0, xbeta,xR1043,.....).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Werner,
Could you check please the attached file to see if I understood it and implemented correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You defined a function which gets you just the first of the twelve values.
I had in mind y function which would return all 12 values at once by putting the function definition in front of the expression above.
You may also notice that the arguments you feed into a function must nOT have the same name which you used when you defined the function. So the local assignments like xR950 <- R950, etc are not necessary. Simply use R950 when you call your function.
Furthermore you used square brackets which defines a matrix. So your result [3.256]mA is a 1x1 matrix which, as I think, you did not intend.
ALL should now be a 12 x 1 row vector with all results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
As your sheet is too complex for me to edit and show what I mean, here is a simple worksheet with some thoughts and explanations.
BTW, you may consider closing your other thread
Re: solve of equation with combination of coeffici... - PTC Community
or come back and ask if its not solved.