Page 132 - Mathematics GRADE 9, DE-STREAMED (MTH1W)
P. 132

   radius = 0
height = 0
volumeCylinder = 0
output “What is the radius of the cylinder?”
store user input as radius
output ”What is the height of the cylinder?”
store user input as height
volumeCylinder = π * radius^2 * height
output “The volume of the cylinder is”, volumeCylinder, “cubic units.”
3. Provide students with sample code that calculates the sum of the first five terms in the sequence 1, 2
1, 1, 1 , 1 , ... . Then have them alter the code to add more terms and explore the limit of this sum. 4 8 16 32
4. Provide students with sample code that finds the least value in a set of data, and have them alter the code to find the greatest value.
5. Provide students with sample code that determines the amount of interest earned each month for an investment earning simple interest. Have them alter the code for an investment earning interest that is compounded monthly.
Overall expectation
C3. Application of Relations
represent and compare linear and non-linear relations that model real-life situations, and use these representations to make predictions
Specific expectations
By the end of this course, students will:
C3.1 Application of Linear and Non-Linear Relations
compare the shapes of graphs of linear and non-linear relations to describe their rates of change, to make connections to growing and shrinking patterns, and to make predictions
131
         













































































   130   131   132   133   134