You are here:

Advanced Math/Numerical method

Advertisement


Question
QUESTION: I understand this topic a bit only & i'm lack of resources on this topic. I'm wondering if you can provide me some more examples on this topic & some websites providing examples with questions on this. A)Use the iterative formula x_(n+1)=-(4-e^(x_n))^.5 & x0=-2 to find in turn x1,x2 & x3 & hence write down an approximation to the negative root of the equation,giving your answer to 3 decimal places. An attempt to evaluate the positive root of the equation is made using the iterative formula x_(n+1)=(4-e^(x_n)) with x0=1.3. B)describe the result of such an attempt. Thanks a million.

ANSWER: A) Use x0 as -2.  Evaluate the function (4 - e^x)^0.5 with x=x0.
In other words, calculate e^x, subtract that from 4, and
then take the squareroot.  This will give you some value that
is called x1.

With x1, do the same thing that was done with x0.
Using x=x1, calculate e^x, subtract if from 4, and take the
squareroot.  This will give you a value for x2.

With x2, find x3.

B) Do the same thing, but start with x0 = 1.3.
Using the formula, if you haven't guessed, that's use x=x0,
calculate e^x, subtract the result from 4, and take the root.
This will give you x1.

Using x=x1, do the formuula (4 - e^x)^0.5 again to get x2.
Do it again to get x3.

Now back to the fact you need more examples, here we go.

Suppose you have the function f(x) = x - √3.
We know that f'(x) = 1.

At this time, I'll give you a better way.
It's called Newton's method.

x[n+1] = x[n] - f(x[n])/f'(x[n]).

Let's take a wild answer that's not even close, like x[0] = 70.
By Newton's method, x[1] = 1.732, and that's close enough.

Let's try f(x) = x² - 7.
It can be seen that f'(x) = 2x.

Taking x[n+1] = x[n] - f(x[n])/f'(x[n]), we get
-1   -6   -2
-4   9   -8
-2.875   1.23   -5.75
-2.655   0.05   -5.309782609
-2.646   0, so there's no need to go and farther.  It can be stated
that x² - 7 will give √7, which (to three decimals) we have seen
is -2.646.  Note that if we started with a different root, we
might have gotten to 2.646.  Now if you look at the functional
error, you get around 0.001316.

The main website to be used is
http://en.wikipedia.org/wiki/Root-finding_algorithm,
for that the website with definitions to many math functions.

Another website is http://www.efunda.com/math/num_rootfinding/num_rootfinding.cfm.
This will show how the Bisection, Secant, false position, and
Newton-Raphson methods are done.


---------- FOLLOW-UP ----------

QUESTION: (a) i got this answer x=1.965 is it correct? (b) can i said it is divergent & no real root. Thanks

Answer
(a) Here are my results:
  xn   4   exp(x)    -4+EXP(x)
  --   -   ------   -----------
x0   -2   4   0.13534   -3.864664717    =x1
x1   -3.8647   4   0.02097   -3.979030048    =x2
x2   -3.9790   4   0.01870 -3.981296228    =x3
x3   -3.9813   4   0.01866   -3.981338566   

(b) I got a root, and there is only 1, for the second derivative
will give you any extreme points, and there are none since it
is never 0, which means (since the function is continuous)
it can only cross the axis once.

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scott A Wilson

Expertise

I can answer any question in general math, arithetic, discret math, algebra, box problems, geometry, filling a tank with water, trigonometry, pre-calculus, linear algebra, complex mathematics, probability, statistics, and most of anything else that relates to math. I can even tell you it takes me over 2,000 steps to go a mile, but is that relevant?

Experience

Experience in the area; I have tutored people in the above areas of mathematics for almost two years in AllExperts.com. I have tutored people here and there in mathematics since before I received a BS degree almost 25 years ago. In just two more years, I received an MS degree as well, but more on that later. I tutored at OSU in the math center for all six years I was there. Most students offering assistance were juniors, seniors, or graduate students. I was allowed to tutor as a freshman. I tutored at Mathnasium for well over a year. I worked at The Boeing Company for over 5 years. I received an MS degreee in Mathematics from Oregon State Univeristy. The classes I took were over 100 hours of upper division credits in mathematical courses such as calculus, statistics, probabilty, linear algrebra, powers, linear regression, matrices, and more. I graduated with honors in both my BS and MS degrees. Past/Present Clients: College Students at Oregon State University, various math people since college, over 7,500 people on the PC from the US and rest the world.

Publications
My master's paper was published in the OSU journal. The subject of it was Numerical Analysis used in shock waves and rarefaction fans. It dealt with discontinuities that arose over time. They were solved using the Leap Frog method. That method was used and improvements of it were shown. The improvements were by Enquist-Osher, Godunov, and Lax-Wendroff.

Education/Credentials
Master of Science at OSU with high honors in mathematics. Bachelor of Science at OSU with high honors in mathematical sciences. This degree involved mathematics, statistics, and computer science. I also took sophmore level physics and chemistry while I was attending college. On the side I took raquetball, but that's still not relevant.

Awards and Honors
I earned high honors in both my BS degree and MS degree from Oregon State. I was in near the top in most of my classes. In several classes in mathematics, I was first. In a class of over 100 students, I was always one of the first ones to complete the test. I graduated with well over 50 credits in upper division mathematics.

Past/Present Clients
My clients have been students at OSU, people nearby, friends with math questions, and several people every day on the PC, and you're probably make one more.

©2012 About.com, a part of The New York Times Company. All rights reserved.