Asgnt 5 - HW Chapter 4 with two-dim Newton 2010Apr20

Asgnt 5 - HW Chapter 4 with two-dim Newton 2010Apr20 -...

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

Do all problems on the pages that follow. 1 Assignment 5: e-mail programs and output to: keithdeng@gmail.com due Tues 4/20/10 9:50AM hand in other material in class Tues 4/20 (or email)

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

View Full Document
Programming problem 1. Find on the next page an outline for a C program that solves two nonlinear equations f 1 (x,y) = 0 f 2 (x,y) = 0 for x and y using the Newton-Raphson method. Complete this program and obtain the solution to the given equations. Your program output should resemble the format given below. You need print the solution and corresponding function values only at the final iteration when either the solution is obtained or the maximum number of iteration is exceeded with no solution. Exercise the program to show these two cases. 2 Sample program output: (when program converges) Please enter initial approximations close to solution! For this EXAMPLE type : 2.0 0.25 2 .25 ----------------------------------------------------- The initial approximation are : 2.000000 0.250000 ------------------------------------------------------
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/21/2010 for the course ESE 124 taught by Professor Sussman-fort during the Spring '08 term at SUNY Stony Brook.

Page1 / 7

Asgnt 5 - HW Chapter 4 with two-dim Newton 2010Apr20 -...

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

View Full Document
Ask a homework question - tutors are online