|
Solve Nonlinear Equations OnlineNonlinear equations occur in all fields of engineering. A given task is reduced to the form f(x)=0. The object is to find values of x that satisfy this condition. This doesn't always have to be ALL values. Most times, we are interested only in values between xmin and xmax. Often it is difficult, if not impossible, to find an explicit solution. With the aid of computer power, the approximate solutions made possible by numerical analysis are readily attainable. The ancient method of halving the interval, whose inefficiency when done by hand has spawned numerous more efficient methods, can be safely resurrected. The method requires a graph of f(x) to be drawn between xmin and xmax. Where the graph crosses the 0-line, we have a solution. This online service of Engineers Compendium was inspired by the clever work of Lutz Tautenhahn, who developed the JavaScript Diagram Builder. How do you use this service?Your biggest challenge is to express your task in the form f(x)=0, where f(x) must be written in Javascript math syntax. Javascript is very good at many things, but mathematics isn't one of them. You have four operators plus brackets, eight built-in constants, and seventeen functions at your disposal.
The operators are: + - * / (not even ^, but there is pow) It is amazing what creative minds can do with this meagre fare. Check out some of the examples in the margin. You are encouraged to submit your own solution to this growing list. Your rewards for doing so are:
When you have your f(x), type it into the formula box. You know the range of xmin and xmax where results are of interest to you. You also know the approximate ymin and ymax to be expected within this range. This isn't important to the solution, but it produces a nice graph. Type these values into the appropriate boxes. Note that ymin must be less than 0 and ymax must be greater than 0. Logically, if the graph doesn't straddle the 0-line, there is no solution within the range of interest. Finally, decide your error-tolerance, type this into the box labelled "Tol:", and click <Solve>. There are three things to know about the tolerance:
. |
EXAMPLES
open in a separate window ladder The Ladder in the Mine ku-value Reinforced Concrete Design ku Value capacitance Capacitance of a Simple Circuit engineering a+b*x^2*exp(c*x) a+b*x+c*x^2+d*x^3 ...
|