Maple Assignment 2 - Analytic Geometry and Calculus III | MATH 113, Study notes of Analytical Geometry and Calculus

Maple Assignment 2 Material Type: Notes; Class: Recitation for Lecture 001; Subject: Mathematics; University: George Mason University; Term: Fall 2008;

Typology: Study notes

Pre 2010

Uploaded on 12/09/2008

koofers-user-ae3
koofers-user-ae3 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 113, Fall 2004, Prof. Sachs Maple Assignment 2, due Wednesday, December 1
This assignment will enhance your understanding of Newton’s Method for solving f(x) = 0.
You will work on this in student computer labs (Johnson Center, Innovation) or with a
personal copy of Maple. You may collaborate with other students, but your final work
should be yours and you should be capable of explaining it on an exam or quiz.
The assignment: Carry out the calculations requested below. Turn in a print-out from your
work with answers to the questions. Use the attached cover sheet for your assignment.
1. Create a numerical estimate for πby solving the equation cos(x/2) = 0 starting at
x0= 2.5.
2. Create another estimations for πby solving tan(x/4) 1 = 0.
3. Do problem 23 from text, section 3.7, using Maple.
The following sample Maple code will be very useful. Here I am calculating the square
root of 5 by solving x25 = 0.
> f := x> x25; (call f the function)
> df := x>2x; (call the derivative df)
> Digits := 20; (tell Maple to display 20 digits)
> x[1] := 2; (start at 1)
> f or n f rom 1to 10 do x[n+ 1] := x[n]f(x[n])/df (x[n]); od; (do the
loop end is od)
pf2

Partial preview of the text

Download Maple Assignment 2 - Analytic Geometry and Calculus III | MATH 113 and more Study notes Analytical Geometry and Calculus in PDF only on Docsity!

Math 113, Fall 2004, Prof. Sachs Maple Assignment 2, due Wednesday, December 1 This assignment will enhance your understanding of Newton’s Method for solving f (x) = 0. You will work on this in student computer labs (Johnson Center, Innovation) or with a personal copy of Maple. You may collaborate with other students, butshould be yours and you should be capable of explaining it on an exam or quiz your final work. The assignment: Carry out the calculations requested below. Turn in a print-out from yourwork with answers to the questions. Use the attached cover sheet for your assignment.

  1. x Create a numerical estimate for π by solving the equation cos(x/2) = 0 starting at 0 = 2.5.
  2. Create another estimations for π by solving tan(x/4) − 1 = 0.
  3. Do problem 23 from text, section 3.7, using Maple. The following sample Maple code will be very useful.root of 5 by solving x (^2) − 5 = 0. Here I am calculating the square

fdf := := x x−− > x > 22 ∗− x 5;; (call the derivative df)(call f the function) Digitsx[1] := 2; := 20; (start at 1)(tell Maple to display 20 digits) f or n f rom 1 to 10 do x[n + 1] := x[n] − f (x[n])/df (x[n]); od; (do the loop – end is od)

Maple assignment 2, cover sheet Name:

Write out your main conclusions on this sheet. Attach other Maple work.

  1. A table of values for Newton’s method is:
  2. A table of values for Newton’s method is:
  3. A table of values for Newton’s method is: