I want the roots of a function using Mathcad
I want the roots of a function using Mathcad
(OP)
Hello Everyone,
Is there a way in mathcad to obtain the roots of a function f(omega)=0? I am doing it at the moment by first plotting the function and then searching for the places where it is equal to zero. But how do i solve the function directly without first plotting it?
Thanks!
Jimmy
Is there a way in mathcad to obtain the roots of a function f(omega)=0? I am doing it at the moment by first plotting the function and then searching for the places where it is equal to zero. But how do i solve the function directly without first plotting it?
Thanks!
Jimmy
RE: I want the roots of a function using Mathcad
RE: I want the roots of a function using Mathcad
TTFN

FAQ731-376: Eng-Tips.com Forum Policies
Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers
RE: I want the roots of a function using Mathcad
Peter Nachtwey
Delta Computer Systems
http://www.deltamotion.com
RE: I want the roots of a function using Mathcad
If I have f(x)=x^n+k1x^(n-1)+.....+k0 and I want the solution for f(x)=0
I first find the coefficients of f(x) using
G=f(x)coeffs,x------->
The coeffs --------> is obtained by using coeffs under Symbolic and the x is added by using the "comma" key on the keyboard. With the coeffients defined:
r:=polyroots(G)
r=
would give you the zeros of the function f(x)
Jimmy