Homework 5

# Homework 5 - 6 1 9 39 1 1 6 4 9 8 40 1 9 8 7 7 8 41 1 9 7 6...

This preview shows pages 1–3. Sign up to view the full content.

Imran Mandani Homework 5 1. = + . x 2sinx 0 02 is the formulation to choose. If the other one were chosen, then the solution diverges. Also the second one has no sign changes and two variables of the same degree. This would cause problems. 2. = +. =. x 2sin0 02 02 3. = . +. =. x 2sin 02 02 059 4. = . +. =. x 2sin 059 02 139 5. 6. Eventually, this converges to 1.9076 7. 8. 9. Function ss(xguess, x) 10. x = xguess 11. Do 12. x = 2 sin(xguess) + 0.02 13. abserr = Abs(x) 14. Loop While abserr > 0.00000001 15. xguess = x 16. End Function 17. 18. Excel results 19. 0 . 0 2 20. 1 . 8 9 8 3 5 21. 1 . 9 0 7 4 7 3 22. 1 . 9 0 7 6 1 7 23. 0 . 0 5 9 9 9 7 24. 1 . 9 1 3 6 6 5 25. 1 . 9 0 7 7 1 6 26. 1 . 9 0 7 6 2 1 27. 0 . 1 3 9 9 28. 1 . 9 0 3 5 29. 1 . 9 0 7 5 30. 1 . 9 0 7 6

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 3 8 8 5 5 1 8 31. 0 . 2 9 8 9 3 3 32. 1 . 9 1 0 2 6 8 33. 1 . 9 0 7 6 6 1 34. 1 . 9 0 7 6 2 35. 0 . 6 0 9 0 0 2 36. 1 . 9 0 5 8 6 2 37. 1 . 9 0 7 5 9 1 38. 1 . 9 0 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 6 1 9 39. 1 . 1 6 4 9 8 40. 1 . 9 8 7 7 8 41. 1 . 9 7 6 3 7 42. 1 . 9 7 6 1 9 43. 1 . 8 5 6 8 6 4 44. 1 . 9 6 8 5 2 45. 1 . 9 7 6 7 46. 1 . 9 7 6 1 9 47. 1 . 9 3 8 7 2 2 48. 1 . 9 8 1 2 6 49. 1 . 9 7 6 2 7 50. 1 . 9 7 6 1 9 51. 1 . 8 8 6 1 5 1 52. 1 . 9 7 2 8 4 53. 1 . 9 7 6 1 4 54. 1 . 9 7 6 1 9 55. 1 56. 1 57. 1 58. 1 . 9 2 1 3 7 3 . 9 7 8 4 . 9 7 6 2 3 . 9 7 6 1 9 59. 60. Newton-Raphson? Couldn’t figure it out. 61. Newton-Raphson? Couldn’t figure it out. 62. 63....
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

Homework 5 - 6 1 9 39 1 1 6 4 9 8 40 1 9 8 7 7 8 41 1 9 7 6...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online