lab1 - ECOR 1606 Fall 2009 Lab #1 Students are to hand...

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

View Full Document Right Arrow Icon
ECOR 1606 Fall 2009 Lab #1 Students are to hand execute all of the following algorithms with the specified inputs, create a text file called “ lab1.txt ” containing the step by step results (i.e. show your work), and submit this file as lab #1 for their lab section to gain experience with the “submit” system, and to prove their attendance at the lab. They are also to produce a flowchart for each algorithm and have these flowcharts checked by a TA before leaving the lab. Optional: If students have time left at the end, they can experiment with rewriting their flowcharts using a flowchart drawing tool: http://www.drawanywhere.com . Instructions to get started can be found in provided file “ drawanywhere.html ”. 1. Finding the square root of a number: Algorithm: write "1" at the top of a piece of paper compute 0.5 * (1 + number) write this value below the "1" while (the last two values on the paper are more than 0.00001 apart) do compute 0.5 * ( last value on paper + ( number / last value on paper ) )
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.

This note was uploaded on 02/28/2011 for the course MATH 101 taught by Professor Duke during the Spring '11 term at University of Ottawa.

Page1 / 3

lab1 - ECOR 1606 Fall 2009 Lab #1 Students are to hand...

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