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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Solve block

dilraj
6-Contributor

Solve block

When i change the value of E in solve block it changes the value of both E and n , but when i change the value of n , nothing happens. Here n and E are two variables i need to find. Other values on left hand side need to be fixed.

Screenshot_3.jpg

If you know any other method to solve, please let me know

1 ACCEPTED SOLUTION

Accepted Solutions
ViktorKorobov
13-Aquamarine
(To:dilraj)

dilraj,

Use the symbolic equal sign (Ctrl+=) to define equations within the Solve Block.20170924_syseq.png

 

 

 

Viktor

View solution in original post

12 REPLIES 12
ViktorKorobov
13-Aquamarine
(To:dilraj)

dilraj,

Use the symbolic equal sign (Ctrl+=) to define equations within the Solve Block.20170924_syseq.png

 

 

 

Viktor
dilraj
6-Contributor
(To:ViktorKorobov)

Thank you, but could you also explain why the values are changing when i change value of n and e ? is there any other method with which i can get stable answer.


@dilraj wrote:

Thank you, but could you also explain why the values are changing when i change value of n and e ? is there any other method with which i can get stable answer.


Use please the symbolic solution

Solve.png

Function Find uses numerical methods to solve the system of equations. The solution returned can depend on the guess values.
Here we can find a symbolic solution.20170924_syseq2.png

 

 

Viktor

Виктор, ваш таракан прибежал быстрее моего!

Но там одно решение. И оно не должно зависеть от первого предположения!


@ValeryOchkov wrote:

Виктор, ваш таракан прибежал быстрее моего!

Но там одно решение. И оно не должно зависеть от первого предположения!


Не должно. Но зависит!20170924_syseq3.png

 

 

Viktor

 We need study this.

May be it is тараканы in numerical methods! 

The numerical solver has problem too - with units

Solve-2.png

LucMeekes
23-Emerald III
(To:ValeryOchkov)

You mean the symbolic solver has problems with units. That's why you should use undefined symbols when doing symbolics:

 

LM_20170924_symbolic.png

That's close enough to zero.

 

Success!

Luc

The symbolic engine works with 2 variable GPa but the numeric one with 1 variable

Solve-3.png

And what about тараканьи бега?

dilraj
6-Contributor
(To:ViktorKorobov)

That is amazing. Thank you so much 


@dilraj wrote:

That is amazing. Thank you so much 


You welcome!

I am glad to help You!

Top Tags