{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# pset6 - Massachusetts Institute of Technlogy o Department...

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

Massachusetts Institute of Techn ology Department of Aeronautics and Astronautics Cambridge, MA 02139 16.01/16.02 Unified Engineering I, II Fall 2003 Problem Set 6 Name: Time Spent (min) C14 C15 C16 U2 M1 Study Time Due Date:10/14/03 Announcements:

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

View Full Document
UNIFIED ENGINEERING Fall 2003 I. Kristina Lundqvist Problem C14. (Unified Computers and programming) 1. Design an Ada95 package to: a. Accept 9 integers and store them in a 1-dimensional array b. Display the unsorted array as a 3x3 matrix assuming: i. Data is in row-major order ii. Data is in column-major order c. Sort the array using the bubble sort algorithm. Turn in a hard copy of your algorithm. 2. Implement your package in Ada95 and write a test program to demonstrate its functionality. Turn in a hard copy of your code listing (package and test program) and an electronic copy of your code.
UNIFIED ENGINEERING Fall 2003 I. Kristina Lundqvist Problem C15. (Unified Computers and programming) 1. Write an algorithm to invert a 3x3 matrix. Your algorithm should account for singularities and non-invertible matrices. 2. Implement your algorithm using the matrix package. Turn in a hard copy of your code listing and an electronic copy of your code.

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

View Full Document
UNIFIED ENGINEERING Fall 2003 I. Kristina Lundqvist
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 6

pset6 - Massachusetts Institute of Technlogy o Department...

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

View Full Document
Ask a homework question - tutors are online