how to use the "system of equations" function

how to use the "system of equations" function - Сообщения

#1 Опубликовано: 31.12.2021 22:44:30
John

John

0 сообщений из 12 понравились пользователям.

Группа: User

Hi, guys:

I'm a new one to SMath. and have a question on system of equations.

here is a simple question

smath soe.png

how to get the result of x, y without using the matrix? I tried solve and findroot, but can't get the value of x, y.

Thank you for the help

Happy New Year!
#2 Опубликовано: 01.01.2022 07:59:32
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

how to get the result of x, y without using the matrix? I tried solve and findroot, but can't get the value of x, y.


You can't use solve() for nonlinear equations. (more than one unknowns)
You can use roots(), FindRoot() or al_nleqsolve().
Here is your equation solved in various ways.

Regards

solvers.sm (10 КиБ) скачан 46 раз(а).

2022-01-01_13-58.png
#3 Опубликовано: 01.01.2022 10:17:57
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

how to get the result of x, y without using the matrix ?


Matrix style is more commonly encountered in Engineering projects.
That add-on will enrich your future projects.

Jacobi.PNG

#4 Опубликовано: 01.01.2022 11:22:51
John

John

0 сообщений из 12 понравились пользователям.

Группа: User

Excellent reply!

FindRoot is better for my condition, I need units.

Thanks Overlord!

2022-01-01_222042.png

Wrote

Wrote

how to get the result of x, y without using the matrix? I tried solve and findroot, but can't get the value of x, y.


You can't use solve() for nonlinear equations. (more than one unknowns)
You can use roots(), FindRoot() or al_nleqsolve().
Here is your equation solved in various ways.

Regards


#5 Опубликовано: 01.01.2022 11:25:11
John

John

0 сообщений из 12 понравились пользователям.

Группа: User

Thank you, Jean, you're right, I need more practice.

Wrote

Wrote

how to get the result of x, y without using the matrix ?


Matrix style is more commonly encountered in Engineering projects.
That add-on will enrich your future projects.



#6 Опубликовано: 01.01.2022 15:38:12
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Matrix style is more commonly encountered in Engineering projects.


That example has only one CAS route ... naturally 15 D.

Solve Tridiagonal.PNG
#7 Опубликовано: 01.01.2022 20:24:17
John

John

0 сообщений из 12 понравились пользователям.

Группа: User

Thanks! Jean
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений