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

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

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

View Full Document Right Arrow Icon
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)
Background image of page 1

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

View Full DocumentRight Arrow Icon
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 ------------------------------------------------------
Background image of page 2
Image of page 3
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 Right Arrow Icon
Ask a homework question - tutors are online