Thinkcspy Chapter 8 Lab: Experimenting with 3n+1
Experimenting With the 3n+1 Sequence Instructions In this lab my job was to take the initial code, graph the iterations and find the max number of iterations from one of…
Experimenting With the 3n+1 Sequence Instructions In this lab my job was to take the initial code, graph the iterations and find the max number of iterations from one of…
I won't lie, this lesson's exercises were challenging. Some of them I actually needed to look at the answers for help. Nearly all of them required some extra research. The…
Approximating the Value of Pi In this lab, our task was to simulate throwing darts at a 2x2 board, count how many landed in the circle out of the total…
Problem 4 Modify the turtle bar chart program from the previous chapter so that the bar for any value of 200 or more is filled with red, values between #…
Problem 1 Use the drawsquare function we wrote in this chapter in a program to draw the image shown below. Assume each side is 20 units. (Hint: notice that the…
Plotting a Sine Wave Create and set up the turtle and the screen. Iterate the angle from 0 to 360. Generate the sine value for each angle. Move the turtle…
So this lesson only had 4 exercises (from what I could see, anyway), but for some reason they start at 16. At any rate, this lesson was about modules. math…
This lesson had a bunch of exercises in it, but I just picked a few that best showcased what I learned which was mostly about using for loops and the…
Problem 3 Many people keep time using a 24 hour clock (11 is 11am and 23 is 11pm, 0 is midnight). If it is currently 13 and you set your…