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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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.

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

1 ACCEPTED SOLUTION

Accepted Solutions
13-Aquamarine
(To:dilraj)

dilraj,

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

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

dilraj,

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

Viktor
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.

24-Ruby IV
(To:dilraj)

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

13-Aquamarine
(To:ViktorKorobov)

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.

Viktor
24-Ruby IV
(To:ViktorKorobov)

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

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

13-Aquamarine
(To:ValeryOchkov)

@ValeryOchkov wrote:

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

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

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

Viktor
24-Ruby IV
(To:ViktorKorobov)

We need study this.

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

24-Ruby IV
(To:ValeryOchkov)

The numerical solver has problem too - with units

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:

That's close enough to zero.

Success!

Luc

24-Ruby IV
(To:LucMeekes)

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

6-Contributor
(To:ViktorKorobov)

That is amazing. Thank you so much

24-Ruby IV
(To:dilraj)

@dilraj wrote:

That is amazing. Thank you so much

You welcome!