designreport7

# designreport7 - Benjamin Jones 02/19/2008 Design Report...

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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Benjamin Jones 02/19/2008 Design Report Laboratory 7 *Note: This will greate a *true* histogram graph of roots I. Get necessary input from user A. Get number to take roots of (must be 0&lt;x&lt;100) and of type double 1. Read input 2. Validate input, if not valid i. Exit program B. Get the amount of precision (must be postive) and of type double 1. Read input 2. Validate input, if not valid i. Exit program II. Setup plot parameters A. Set number to root as maximum Y value B. Initialize max values for axises 1. Max X is constant value 10 2. Max Y is gained from number to root III. Begin main plot sequence A. Initialize starting percent values, and y-axis values B. Print the header of format: Plot of first 10 roots of &lt;numberToRoot&gt; C. While percentage is less than or equal to 100 begin loop 1. Set old y value equal to new y value 2. New y value equals the current percentage (as a decimal) multiplied by maximum y value 3. New r value (difference) equals max y value minus new y value 4. If the percentage divides into four evenly (for y-axis scale)4....
View Full Document

## This lab report was uploaded on 04/18/2008 for the course ECEE 120 taught by Professor Carter during the Winter '08 term at University of Cincinnati.

### Page1 / 5

designreport7 - Benjamin Jones 02/19/2008 Design Report...

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

View Full Document
Ask a homework question - tutors are online