Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

johnnnboyyy Group Title

Fine the root of the equation f(x)=2x(1−x^2+x)ln(x)-x^2+1 in the interval [0, 1] by Newton’s method where x0=0.5... The problem I am getting is that when I calculate x1 = x0 - f(x)/f'(x), I get 0, but the root is at 0.32... ideas?

  • one year ago
  • one year ago

  • This Question is Closed
  1. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Are you sure that's the right equation? That has no roots in the interval [0,1].

    • one year ago
  2. johnnnboyyy Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Yep, that is what is on my assignment. The original ? was to write a computer program that iterates through 5 times and calculates the root using Newton's method, but my program works for everything except this function.

    • one year ago
  3. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    If the equation is\[2x(1−x^2+x)\ln(x)-x^2−1,\] there are no roots. If it's \[2x(1−x^2+x)(\ln(x)-x^2−1),\]there is a root.

    • one year ago
  4. johnnnboyyy Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    well the original function was f(x)=2x(1-x^2+x)ln(x)=x^2-1, not sure if that changes things?

    • one year ago
  5. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Ah. Then you should get \[2x(1-x^2+x)\ln(x)-x^2\large{\bf +1}.\] That might work better

    • one year ago
  6. johnnnboyyy Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    yeah I made a typo in the original question... still I get stuck calculating x1 being equal to 0

    • one year ago
  7. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Let me see what I get.

    • one year ago
  8. johnnnboyyy Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I get x1 = 0.5 - (-0.116434)/(-0.232868), which is 0.5 - 0.5 = 0

    • one year ago
  9. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Hmm. I am getting the same thing as well. Perhaps try x=.49 or something.

    • one year ago
  10. johnnnboyyy Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    it specifically says use x0=0.5. I just think my professor didn't double check his own work.

    • one year ago
  11. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    That's a likely guess. The sequence also doesn't converge to anything is \(x_0>.5\), so you might try something just below .5 after noting that \(x_0=.5\) sent you straight to 0.

    • one year ago
  12. johnnnboyyy Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    yeah choosing x0 = 0.4 works nicely. Hopefully he acknowledges his mistake and gives me credit for it. Thanks for taking the time to look at the problem though.

    • one year ago
  13. KingGeorge Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    No problem.

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.