Advertisement
jpglickwebber

chapter 14 hw

Apr 5th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. \documentclass[12pt]{article}
  2. \title{Handout 14 Homework}
  3. \author{Jesse Webber}
  4. \date{\today}
  5.  
  6. \begin{document}
  7.  
  8. \textbf{Task 1}
  9.  
  10. \
  11.  
  12. $\frac{dy}{dx}=\frac{1}{y+yx^2}$
  13.  
  14. $\frac{dy}{dx}=\frac{1}{y}\frac{1}{1+x^2}$
  15.  
  16. $\int ydy = \int \frac{dx}{1+x^2}$
  17.  
  18. $\frac{1}{2}y^2=arctan(x)+C$
  19.  
  20. $\frac{1}{2}1^2=arctan(0)+C$
  21.  
  22. $\frac{1}{2}=0+C$
  23.  
  24. $C=\frac{1}{2}$
  25.  
  26. $\frac{1}{2}y^2=arctan(x)+\frac{1}{2}$
  27.  
  28. $\frac{1}{2}y^2=arctan(20)+\frac{1}{2}$
  29.  
  30. $y^2=2arctan(20)+1$
  31.  
  32. $y=\sqrt{2arctan(20)+1} \approx 2.010392$
  33.  
  34. \
  35.  
  36.  
  37. \textbf{Task 2}
  38.  
  39. \
  40.  
  41. \begin{tabular}{|r|r|}
  42. \hline
  43. n & Estimation of y(20) \\
  44. \hline
  45. 1 & 1.04986 \\
  46. \hline
  47. 5 & 1.32605 \\
  48. \hline
  49. 10 & 1.58095 \\
  50. \hline
  51. 100 & 1.98315 \\
  52. \hline
  53. 200 & 1.99676 \\
  54. \hline
  55. 300 & 2.00141 \\
  56. \hline
  57. 400 & 2.00360 \\
  58. \hline
  59. \end{tabular}
  60. \textbf{Table 1:} Estimating y(20) as n increases
  61.  
  62. \
  63.  
  64. It takes around 300,000 boxes to get within .00001 of the actual value of y(20)
  65.  
  66. \
  67.  
  68. \textbf{Task 3}
  69.  
  70. \
  71.  
  72. See attachment
  73.  
  74. \
  75.  
  76. \textbf{Task 4}
  77.  
  78. \
  79.  
  80. The improved Euler's Method and 4\textsuperscript{th} Order Runge Kutta Method each required an n of about a million to be accurate within .00001 of the actual value of y(20)
  81.  
  82. \
  83.  
  84. \textbf{Task 5}
  85.  
  86. \
  87.  
  88. \begin{tabular}{|l|r|r|r|}
  89. \hline
  90. Method & n=1000 & n=2000 & n=3000 \\
  91. \hline
  92. Euler's Method & 0.125 & 0.251 \\
  93. \hline
  94. Improved Euler's Method & 0.379 \\
  95. \hline
  96. 4\textsuperscript{th} Order Runge Kutte & 0.290 \\
  97. \hline
  98. \end{tabular}
  99.  
  100.  
  101. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement