Day 170: Programming

Algebra is wrapping up work with the quadratic formula. Today we went over how to write a program for the quadratic formula on Ti calculators.

I started ’em off with a step-by-step explanation of writing a program to find the slope of a line between any two given points. After testing it a few times, I passed around this sheet of code;

Quadprogram

Students either went at it themselves or looked up to the smartboard where I was working through writing the program with a document camera. I know there are programs out there with less lines of code and if then commands for the discriminant, but for only one day of programming I felt this was more than enough.

They then used the program to correct an assignment from yesterday. For the last 5 minutes of class, we worked through writing code for this mystery program:

IMG_0652

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s