Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
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.
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.
Hi Valery,
I tried to do attribution, but it didn't work.
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.
Hello Werner,
Thank you very much for your reply.
Could you tell me please what do you mean by "[ ]" before solve?
I forgot to mention that I am using Mathcad Prime version.
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.
@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,.....).
Hello Werner,
Could you check please the attached file to see if I understood it and implemented correctly?
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.
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.