Math and Programming Projects

I discovered this project through an article in Mathematics Teacher and adapted it to be used in several of my classes. Students will gather data on house values and compare Zillow's price of their home (or neighbor's home). Students use Excel and Word to present their "comparables" professionally.

This is a popular project over the last decade as Starbucks growth seemed unbounded. The reality is the growth would be along a function called a logistic model, but for exploration of exponential growth patterns, I ask the students make a exponential regression to model the growth of Starbucks locations. Students are asked to address Howard Schultz about his company's stores seemingly located on every corner.

These are a set of lessons, instructions, and blocks of starting code to design your first html pages and small sites. These are beginner guides that go with my lessons at Seattle Academy or video lessons (soon to come).

These are a set of lessons, instructions, and blocks of starting code to design an old pirate game called "Shut the Box." I use these lessons to teach game design using js,jQuery,css, and HTML.

These are a set of lessons, instructions, and blocks of starting code to design a game using JavaScript and HTML 5 canvas to make a game called StarCatcher. Originally, I created the StarCatcher game in Python as a perfect mix of introductory programming and algebra. Two players compete to capture the most stars bouncing around the screen. With just a few changes, my students change the theme to make a plethera of different games.

This project was orginal done in Python with Pygame. I am slowly moving all my old Python projects to the new HTML 5 so students can see post their work easily for viewers to see. Using the new canvas tag, HTML and JS can combine to do amazing things.

This is the code to start all of my python projects. I use Version 2.7 of Python located at Python.org. There are video lessons that go with these projects linked in the navigation bar above. Enjoy!

This is the code I use to start all python projects using the pygame library (object oriented interactions). I use Version 2.5.4 (old very stable update) or 2.7 of Python located at Python.org with the pygame library. Some Mac OS have had trouble with pygame for python 2.7, so I use the older version as a backup. This program imports and initialize pygame library settings; opens a window for the game or project; and starts the game/project loop with proper quitting sequence. Happy Coding!

This is the first of a my lesson in Programming using the language Python. I use Version 2.7 of Python located at Python.org. There are video lessons that go with these projects linked in the navigation bar above. Enjoy!

This is one of my favorite creations in python I thought it would be cool to make my own grapher to use as a teaching tool in my math classes. I guessed other's might like to create their own, so I have made video lessons to build it from scratch or you can copy the code here to use for further projects like Calculus integrals.

This is one of my favorite python projects I have worked on with a student. Ian Jackson's senior project was to learn python and create a game for the math department to use in their classroom. This is .zip file that contains a folder with an executable (.exe) file that works with most Windows operating systems. Enjoy!

David Johns and Electric Teaching ~ All Rights Reserved © 2015