cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

system of equations

Marius_P
10-Marble

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

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Werner_E)

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.

 

Werner_E_0-1680185193584.png

Werner_E_1-1680185272783.png

 

 

View solution in original post

10 REPLIES 10

ValeryOchkov_0-1680100147810.png

 

Hi Valery,

 

I tried to do attribution, but it didn't work.

Werner_E
25-Diamond I
(To:Marius_P)

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.

Werner_E
25-Diamond I
(To:Marius_P)


@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? 

Werner_E
25-Diamond I
(To:Marius_P)

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.

Werner_E_0-1680173332614.png

Werner_E_1-1680173354243.png

ALL should now be a 12 x 1  row vector with all results.

 

 

Werner_E
25-Diamond I
(To:Werner_E)

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.

 

Werner_E_0-1680185193584.png

Werner_E_1-1680185272783.png

 

 

Announcements

Top Tags