ASE 201 - Assignment due Sept 28

ASE 201 - Assignment due Sept 28 - For Loops, Switch...

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

View Full Document Right Arrow Icon
Reading : 2.11, p.113-114, 4.2 Written Exercises : 1. 3.7 2. Quiz 4.1 p. 174 #1-7. # 8,9 put in a print command right after the second ‘for’ command and print index1 and index2. Execute the commands and explain the difference between 8 & 9. (flow diagram not required) 3. Programming : This program is based on the balloon program you have written last week. Make sure your basic program is working. This week 1. you will vary the radius from 5 to 30 m in increments of 5 m. 2. For each value of R, you will generate a table of payload and maximum height. You will append the data values into 2 arrays for printing and plotting. 3. You will use the switch command to set different line styles and to create the LABEL array which you will send to the legend command. 4. You will generate a single plot(figure) with a graph of max height vs payload for each value of R. 5.
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

ASE 201 - Assignment due Sept 28 - For Loops, Switch...

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