Asgnt 4 - HW Chapter 3 add'l 2010March23

# Asgnt 4 - HW Chapter 3 add'l 2010March23 - Assignment 4...

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

` [email protected] Note: recall that Miracle C does not handle long integers, so any program using integers must employ numbers less than 32767 in magnitude. Assignment 4: e-mail programs and output to: [email protected] due Tues 3/23/2010 PAGE 1 Do all programs and problems shown. Omit problem 4.13 . hand in other material in class Tues 3/23 Alternatively, you may submit the solutions to these other problems as well via the email address above

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

View Full Document
PAGE 2 omit
3-dimensional fixed-point programming problem PAGE 3

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

View Full Document
Write a C program to solve the following simultaneous nonlinear equations using the fixed-point method. Use an initial guess to the solution of (x,y,z) = (2,2,2). You may model your program after and use any appropriate code from the one- dimensional case discussed in class. x = g 1 (x,y,z) = –0.02x 2 0.02y 2 0.02z 2 + 4 y = g 2 (x,y,z) = –0.05x 2 0.05z 2 + 2.5 z = g 3 (x,y,z) = 0.025x 2 + 0.025y 2 1.875 Your program should print to the screen as well as to a disk file, just as in the one- dimensional case. A correctly functioning program will have the following output for the first two
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 / 4

Asgnt 4 - HW Chapter 3 add'l 2010March23 - Assignment 4...

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

View Full Document
Ask a homework question - tutors are online