Page 1 of 1

Homework 6, due October 30, 2008.

Posted: Fri Oct 17, 2008 3:51 pm
by goodwine
Reading Assignment: chapter 6 from the course text.

Collaborative Assignment: Consider
  • Image
and
  • Image
Write a FORTRAN program that
  • uses a parameter that is equal to 4 and is used in the declarations for A and B;
  • uses DATA statements to assign the values to the elements of A and B;
  • prints, in a reasonable format, A and B;
  • computes and prints the products AB and BA; and,
  • computes the prints the product ABBA.
Individual Assignment:
  1. Write a FORTRAN assignment that prompts the user to enter the four elements of a vector X and computes the products AX and BX and prints the result. Check your program using
    • Image
    and using matlab to to compute the product.
  2. Write a FORTRAN program that computes the product AB (you may copy this part from the collaborative program above), then interchanges the 3rd and 4th rows and prints the result.

Re: Homework 6, due October 30, 2008.

Posted: Tue Oct 28, 2008 2:20 pm
by mroemer
Do you want us to turn anything in to show we checked our program in matlab for the individual problem?

Re: Homework 6, due October 30, 2008.

Posted: Tue Oct 28, 2008 3:51 pm
by goodwine
mroemer wrote:Do you want us to turn anything in to show we checked our program in matlab for the individual problem?
No, you do not have to submit the check in matlab.

Re: Homework 6, due October 30, 2008.

Posted: Tue Oct 28, 2008 9:58 pm
by twallac1
Tim Wallace
Homework 6

Re: Homework 6, due October 30, 2008.

Posted: Thu Oct 30, 2008 2:49 pm
by kschlax
All 3 Programs: