Hi!

Can someone answer to this question: I have user function called f(x), is there some way to get x from equation f(x) = CONST without writing f^(-1) function? Does MAGMA provide numericall solving or something like this?

2 posts
• Page **1** of **1**

Hi!

Can someone answer to this question: I have user function called f(x), is there some way to get x from equation f(x) = CONST without writing f^(-1) function? Does MAGMA provide numericall solving or something like this?

Can someone answer to this question: I have user function called f(x), is there some way to get x from equation f(x) = CONST without writing f^(-1) function? Does MAGMA provide numericall solving or something like this?

- resolvent
**Posts:**1**Joined:**Mon Nov 05, 2012 7:19 pm

Yes, you can solve f(x) = c without writing the inverse f^{-1} function. I will direct you to the chapter on solving nonlinear equations in any standard scientific computing or numerical analysis text (e.g., Scientific Computing: An Introductory Survey, by Michael Heath). Newton's Method is one such method, but requires writing the derivative df(x). Broyden's Method requires only f(x), not the derivative.

If f(x) is linear, so the problem can be written as Ax=b for matrix A and vectors x and b, then MAGMA provides software to solve that. Also, one step in implementing Newton's or Broyden's Method is to solve a linear system of equations, which again, MAGMA can do.

-mark

If f(x) is linear, so the problem can be written as Ax=b for matrix A and vectors x and b, then MAGMA provides software to solve that. Also, one step in implementing Newton's or Broyden's Method is to solve a linear system of equations, which again, MAGMA can do.

-mark

- mgates3
**Posts:**441**Joined:**Fri Jan 06, 2012 2:13 pm

2 posts
• Page **1** of **1**

Users browsing this forum: Baidu [Spider], Google [Bot], Yahoo [Bot] and 1 guest