cp30710 - Alan Drummond ECE 3331 Section 02349 Spring 2007...

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

View Full Document Right Arrow Icon
Alan Drummond ECE 3331 Section 02349 Spring 2007 Project #3 ############################################################################# The purpose of this project is to generate random Latin squares from a data set in a file and test to see if each is a 'magic' square. ############################################################################# Data Set 1: Each of the 4 Latin squares will be 5x5 in size. (In layman's terms, num is 4, and n is 5.) |1 2 3 4 5 | |5 1 2 3 4 | |4 5 1 2 3 | |3 4 5 1 2 | |2 3 4 5 1 | This Latin square is not a magic square. |1 5 3 2 4 | |2 3 4 5 1 | |5 4 1 3 2 | |3 1 2 4 5 | |4 2 5 1 3 | This Latin square is not a magic square. |3 4 2 5 1 | |1 5 3 2 4 | |4 2 1 3 5 | |5 3 4 1 2 | |2 1 5 4 3 | This Latin square is not a magic square. |3 5 1 2 4 | |4 3 2 5 1 | |1 4 5 3 2 | |2 1 3 4 5 | |5 2 4 1 3 | This Latin square is not a magic square. Data Set 2: Each of the 1 Latin squares will be 10x10 in size. (In layman's terms, num is 1, and n is 10.)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

cp30710 - Alan Drummond ECE 3331 Section 02349 Spring 2007...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online