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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

How to solve this non-linear system of eq?

Cornel
18-Opal

How to solve this non-linear system of eq?

Hi,

How to solve this non-linear system of equations:

Cornel_0-1716808977586.png

Cornel_0-1716809056131.png

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:Cornel)

You could use symbolic evaluation

Werner_E_1-1716813037042.png

But you can't evaluate the functions numerically because LambertW is a symbolic only function.

 

So you would have to resort to the numerics

Werner_E_4-1716813980842.png

 

 

 

 

 

View solution in original post

9 REPLIES 9
Werner_E
24-Ruby V
(To:Cornel)

You could use symbolic evaluation

Werner_E_1-1716813037042.png

But you can't evaluate the functions numerically because LambertW is a symbolic only function.

 

So you would have to resort to the numerics

Werner_E_4-1716813980842.png

 

 

 

 

 

This is:
Cornel_0-1716815856104.png


Now, how to find this?

Cornel_1-1716815974492.png

And this:

Cornel_3-1716816162196.png

 

Do you have any idea why V2 and V3 should not depend also on t, like V1(t)? Initially I was expected/thought that also V2 and V3 should depend on t in the solve block like V1(t): V2(t), V3(t), but it seems that V2 and V3 in solve block should not put to depend on variable t like V1(t).

This not work:

Cornel_2-1716816537067.png

 

I see that as you have posted firstly above works: this work

Cornel_3-1716816607306.png

Werner_E
24-Ruby V
(To:Cornel)


@Cornel wrote:

Do you have any idea why V2 and V3 should not depend also on t, like V1(t)?

 


They obviously do - otherwise you would just see constant functions when you plot. But "find" will only find numeric values, simple variables like V2 and not expressions like V2(t). Find looks for variables, not for functions!

You may provide the guess values for V2 and V3 just once (for the whole range of t) as I did or you may provide them as arguments of the function "sol" as you did. The latter would be necessary if you need to provide different guesses for different values of t which seems not to be the case here.

 

Werner_E
24-Ruby V
(To:Cornel)

Werner_E_0-1716822227024.png

 

Good, thank you. I think it's ok for now.

 

Werner_E
24-Ruby V
(To:Cornel)


@Cornel wrote:

Good, thank you. But attached also the Mathcad Prime file to be here.


Opened your sheet with P10 and have not saved what I did. Do you experience any problems in retyping it?

 

Time for maximum value can be derived similar to the other thread and is shown for V3 at the top of the pic I posted here.

 

 


I found also another way: based on this

 Sure, there are many ways to skin a cat 😉

Use whatever seems most appropriate to you.


@Werner_E wrote:


Opened your sheet with P10 and have not saved what I did. Do you experience any problems in retyping it?

It's ok.

Time for maximum value can be derived similar to the other thread and is shown for V3 at the top of the pic I posted here.

I realized this after I requested you to do. But it;s ok now.


 

I put also the circuit used in this topic for history purpose.

Cornel_0-1716818761574.png

 

Top Tags