Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

comparisations

Status
Not open for further replies.

Guest
Is it possible to solve comparisations in mathcad?
ex : x³ +5x² +x +7 = 0
Thanks a lot

rbergiers@hotmail.com
 
Replies continue below

Recommended for you

If your after the roots of the polynomial listed in your thread, the answer is yes. Use the polyroots function in Mathcad to solve for those.
 
A program called MATHSERV is available at:
where ordinary BASIC code can be typed in any word processor and the results are typed back into the document.

I would enter the function:
FX = "(x^3 + 5*x^2 + x + 7)"

Then I would find the high-low range of roots:
graph(FX, -10, 5)
(the results of the "graph" function can't be posted here)

Then I discover there is only one result:
RES = bisect(FX,-7,-5,.0001) := -5.0748

Regards, Helmut
 
Define the function

f(x) := x3+5x2+7

make a guess

x:=-1

Use the root function

R:=root(f(x),x) Steven van Els
SAvanEls@cq-link.sr
 
Go to "Resource Center" Icon. Click in "Solve Equations" and open the example " open the Quick Sheet "Finding the Root of a Polynomial".

There are other examples that could be useful for your purpose.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor