Thursday, October 31, 2013

October YouTube Wednesdays!

October YouTube Wednesdays!
October is devoted to one of my all time inspirations: Admiral Grace Murray Hopper.


60 Minutes!

Letterman!

Biographer!


September YouTube Wednesdays!
I started the year with the definition of filk:

 /filk/ n.,v. [from SF fandom, where a typo for `folk' was adopted as a new word] A popular or folk songwith lyrics revised or completely new lyrics and/or music, intended for humorous effect when read,and/or to be sung late at night at SF conventions. There is a flourishing subgenre of these called`computer filks', written by hackers and often containing rather sophisticated technical humor. 


Then I proceeded to show some Math Filks! I always start with Mathematicious which is a review of Regents Math. Then I introduce Tom Lehrer!

Regents Math Review!


Base 8 Arithmetic!


Periodic Table of Elements!


Research?



Well, that's all folks!

Sincerely,

Sunday, October 27, 2013

Teaching Math 5H UNIT 4 Applications of Differentiation, Quarter I, Week 7


Teaching Math 5H
UNIT 4 Applications of Differentiation

Quarter I Week 7: 10/21-10/25
We started UNIT 4: Application of Differentiation this week. We started talking about IVT, MVT, Min/Max and Optimization!


Quarter I Week 6: 10/14-10/18
This week we finished UNIT 3 with a discussion of the Chain Rule, Implicit Differentiation, Min/Max and Related Rates.

Quarter I Week 5: 10/07-10/11
Out sick.... However, I did start using DropBox, see below!

Quarter I Week 4: 9/30-10/04
We started UNIT 3 about Differentiation! We derived the Product and Quotient Rules. We did all 6 Trig Rules. We started talking about the Chain Rule.

Quarter I Week 3: 9/23-9/27
We finished UNIT 2 with a test! Our last topic concerned the existence of the derivative. BTW, we start with UNIT 2 since UNIT 1 is just a review of PreCalculus. We did a bit of that in 106 and 107 on Conics and Polar Notation.

Quarter I Week 2: 9/16-9/20
We are almost finished with UNIT 2: Continuity and Differentiablility! We demostrated the Power Rule using the Definition of the Derivative as the limit of the Difference Quotient. We even started the Trig Rules!


Quarter I Week 1: 9/9-9/13
AP Calculus BC started with a preCalc review in the form of the topic of Conic Sections! This is a great topic to review Cartesian and Polar Coordinates, as well as some algebra, trig and TI89 usage!

YouTube Wednesdays this month are about Admiral Grace Murray Hopper! The first video is linked above as it's not on YouTube anymore, CBS had me remove it.... I have the original in 2-6 minute clips. So, we watched the 1st half the week before I got sick and the 2nd half this week.

This week's YouTube Wednesday saw Gracey on Letterman right after she retired from the Navy.



ScreenCasts and SmartNotes and Code, 
oh my:
Below, you will usually find ScreenCasts from this week. SmartNotes are from a previous year's TI89 based course. We don't code much in this class except for programming the TI89.
UNIT 4 Applications of Differentiation:


SAGE Worksheets: MATH5H2013


SmartNotes and Assignments:
2013 Calculus DropBox


Well, that's all folks!

Sincerely,

Teaching Math 4R Chapter 11 Matrices, Quarter I, Week 7


Teaching Math 4R
Chapter 11 Matrices

Quarter I Week 7: 10/21-10/25
We are almost finished with Chapter 11 about Matrices. This week focused on nonLinear Systems. Then we reviewed solving Linear Systems using Determinants or Matrix Inverses. We even had a preQuiz on Thursday and a Quiz on Friday on Linear Systems. Next week we cover the last topic in CH11: Linear Programming. The preTest this Thursday and Test this Friday will include all the nonLinear and Linear Systems as well as Linear Programming.


Quarter I Week 6: 10/14-10/18
We continued Chapter 11 about Matrices. This week focused on Matrix Arithmetic and Matrix Algebra. First we need to know how to add, subtract, multiply and divide before we can do the Algebra, aka Arithmetic backwards! BTW, we aren't really dividing, we're multiplying by the reciprocal. So, we used reciprocals to solve Matrix Equations.

Quarter I Week 5: 10/07-10/11
Out sick.... However, I did start using DropBox, see below!

Quarter I Week 4: 9/30-10/04
We started Chapter 11 about Matrices this week! We started by reviewing 2x2 Systems Algebraically and Graphically. Then we introduced Guass-Jordan Elimination using Augmented Matrices!

Quarter I Week 3: 9/23-9/27
We finished CH12 this week with a test! Our last topics included Proof By Induction and The Binomial Expansion Theorem!



Quarter I Week 2: 9/16-9/20
This week we covered Geometric Sequences and Induction! Included below you will find ScreenCasts based on TI83 and SAGE. I also have SmartNotes from the TI83 ScreenCasts as well as SAGE Worksheets for the SAGE ScreenCasts!

Quarter I Week 1: 9/9-9/30:
PreCalculus is all new this year:
(1) My preCalculus for Juniors classes started the school year with Chapter 12 this year! We start with Chapter 12 so we don't waste a lot of time reviewing topics from Chapters 1 and 2 which are about solving Linear Equations and Quadratics! So, when midyear is upon us, we can switch to Calculus without skipping important topics at the end of the preCalculus text. As such, we cover as much preCalculus as we can in the Fall Semester and as much AP Calculus AB material as we can in the Spring in preparation for Calculus next year!

(2) We are using a Computer Algebra System called SAGE instead of the TI83. The grand experiment this year is to see how well students learn the Math while learning to code in python at the same time!

(3) We will be learning a lot of python in class. You can learn some python code on your own too with this online, interactive textbook!

I actually have 2 different preCalculus classes. PreCalculus 4R and preCalculus 4H cover the same material and is comprised mostly of Juniors. The difference between these to groups is that 4R takes AP Calculus AB next year and 4H takes AP Calculus BC. Also, we cover material a little more in-depth for the 4H student and our tests may be a bit more challenging.


ScreenCasts and SmartNotes and Code, 
oh my:
Below, you will find ScreenCasts from this unit. The SmartNotes are from last year's TI83 based course. SAGE code from this week, in the form of worksheets, are also included below so you can see our new approach.


SAGE Chapter 11:

TI83 Chapter 11:


Code for MATH4R2013:
mySage 

SmartNotes and Assinmnents:
2013 PreCalculus DropBox 

Well, that's all folks!

Teaching AP CompSci: CH3 Intro to Object Oriented Programming, Quarter I, Week 7


Teaching AP CompSci: 
CH3 Intro to Object Oriented Programming

Quarter I Week 7: 10/21-10/25
We continued Lab3 which talks about writing your own classes from scratch. We are doing the end of chapter exercises as labs. We do the odds together so I can model new concepts. I am rerecording the odd exercises as ScreenCasts for YouTube. The students complete the evens as labwork in groups. New Lab1 ScreenCasts are done. New Lab2 ScreenCasts are almost done. Sorry, there's no new ScreenCasts for Lab 3 yet. I have a link to my old Lab3 ScreenCasts. See my DropBox link for all our code so far. See links below.


Quarter I Week 6: 10/14-10/18
We started Lab3 which talks about writing your own classes from scratch. We have to come up with our own Contructors, Accessors and Mutators for the first time. We also discussed Abstraction and Encapsulation! Sorry, there's no ScreenCasts for Lab 3 yet.

Quarter I Week 5: 10/07-10/11
Out sick.... However, I did start using DropBox and I added some screencasts for Lab 2, see below!

Quarter I Week 4: 9/30-10/04
This week we finished Lab2 by introducing the StdDraw class from Princeton's CS101 course. Here we used Object Based Programming to draw Rectangles, Ellipses and Lines! See all the code linked below from my PasteBin account (last link). I've also been redoing my ScreenCasts in the APCS Shorts playlist on my YouTube channel (see below too)!

Quarter I Week 3: 9/23-9/27
This week we started Lab2 based on Chapter 2. In this chapter we discuss constructing objects from existing classes: Rectangle, Color, Random and String. We started talking about Constructors, Accessors and Mutators as well a Private Instance Fields. I'm reworking the ScreenCasts as short summaries after class. I have a new playlist (see below) with only HelloWorld so far.


Quarter I Week 2: 9/16-9/20
We had a good week this week! We finished Lab1 based on Chapter 1 Exercises 1-8 (see Code and ScreenCasts below). We basically covered everything you ever wanted to know about main() methods and println()! We just started talking about Chapter 2 and Lab 2, Object Based Programming (using existing classes, constructors, objects, accessors) at the end of the week.

Our networking and various hardware issues are all corrected now (except the HP Color LaserJet is still down). My networking issues required setting up a static IP on the SmartBoard or Teacher PC. So, I have access to all my sites at school, finally!

address: 10.5.129.25
netmask: 255.255.0.0
broadcast: 10.5.0.254
dns: 10.1.1.19
proxy: NONE! (was 10.0.0.125)

There's a bit of lag on the LAN. So, I think I'll make Static IPs for the students too as there may be a DHCP conflict. However, the student stations are required to have the proxy.

Also, most students can access the ssh server from home. Some of us have Linux running at home which makes accessing java files the same as in class. Some students are logging in using putty from WIN but cannot use GUI applications from home (WIN graphics engine does not recognize the LIN graphics engine). Some have Mac at home and find that the MAC terminal works just like the Linux terminal at home including GUI ssh tunnels using: "ssh -Y userid@173.251.48.56"

Quarter I Week 1: 9/9-9/13
APCS had a slow start this year with a lot of networking and server issues. I think we're up to snuff now. We're in Chapter 1 of Cay Horstmann's fabulous text. All we did was write serveral versions of HelloWorld. This is a fine way to become familiar with our Linux based system. 

We talked about how to use our server from home using putty in Windows or a terminal in Mac and Linux land.

We also talked about CLI vs GUI, ASCII and Unicode, SSH vs FTP, javac vs java, etc. We also talked about the importance of comments and self-documenting code!

What's new this year is that I'm trying to stick to a CLI for coding in java all day every day! All we need is a shell or terminal to run javac, java and a text editor. This way we call login from home and do our work the same way we do in class even from a Mac terminal or by using putty in Windows!


ScreenCasts and SmartNotes and Code, 
oh my:
Below, you will usually find ScreenCasts from this week. We don't have too many SmartNotes in this course. Please see our sample code!

New Lab1:


New Lab2:


Old Lab3:


Code for APCS: 2013 APCS DropBox


Well, that's all folks!

Friday, October 25, 2013

CIS(theta) 2013-2014 October Meeting I Linux Install Fest!




CIS(theta) 2013-2014 
October 
Meeting I
Linux Install Fest!
 
We downloaded 8 copies the latest version of Ubuntu Desktop 64bit ISO: 13.10 Saucy Salamander. Then we burned 8 DVDs and reinstalled the Linux partition on the first row of 8 PCs in our classroom. I did all the tweaks the following day.

Next week I'll reinstall the 2nd row and the Geek Squad will do all the tweaks. I like to keep the Student Stations very simple. So, we will only tweak as follows:

(1) configure Network (eth0, proxy)
(2) configure Appearence and Brightness 
(3) configure Printers
(4) sudo apt-get update (after setting sources to main).
(5) sudo apt-get upgrade
(6) install WINE
(7) copy VTI to the desktop
(8) extract SAGE to the desktop

September: Administrativa!
Meeting I

(1) Wreath of the Unknown Server: We visited our first ssh server, Colossus, which is still in the switch room though dormant. I set it up for the first time in 1995 running Slackware Linux. Colossus ran for 12 years straight, 24x7 never having to shut down, reboot or even have anything re-installed!

(2) Display Case Unveiled: We took down a ton of fractal prints and ray tracings from Room 429 to the 2 cases on the 1st floor near the art wing. We decorated both cases as best we could and left before anyone saw us. Must have been gremlins.

(3) Recruiting: We decided that we have more than enough qualified CIS(theta) members for this year's Geek Squad, so we tabled that topic.

(4) Planning: We have to wait another 2 weeks 10/4 at which point Ubuntu 13.10 Desktop Edition should be available for a mini install fest. After that, we may use bootable cluster Linux CD distros such as BCCD and pelicanHPC to learn MPI using C++ or Python. We also talked about installing an MPI stack on each hdd along with public key authenticated ssh. We would like to make a fractal zoom animation.

(5) Summary: This year's CIS(theta) team is off to a good start. Shadowfax, our 100 core cluster, is in good hands!
==================================
What we are researching II (Oct+Nov)
MPI, PVM, MOSIX
Fractals, PovRay, Blender
==================================
What we are researching I (Sept)
Look what this school did in the 80s: 
Thomas Jefferson High courses
http://academics.tjhsst.edu/compsci/parallel
Thomas Jefferson High paper
http://www.tjhsst.edu/~rlatimer/techlab07/BWardPaperQ3-07.pdf
Thomas Jefferson High ftp
http://www.tjhsst.edu/~rlatimer/techlab07
Thomas Jefferson High teacher
http://www.tjhsst.edu/~rlatimer
==================================
Today's Topic:
CIS(theta) 2013-2014 - Linux Install Fest! - Meeting 1
Today's Attendance:
CIS(theta) 2013-2014: 100%
Today's Reading:
Chapter 2: Building Parallel Programs (BPP)
==================================
Membership (alphabetic by first name):
CIS(theta) 2013-2014: BryanS, CheyenneC, DanielG, HarineeN, RichardH, RyanW, TatianaR, TylerK

CIS(theta) 2012-2013: Kyle Seipp
CIS(theta) 2011-2012: Graham Smith, George Abreu, Kenny Krug, LucasEager-Leavitt
CIS(theta) 2010-2011: David Gonzalez, Herbert Kwok, Jay Wong, Josh Granoff, Ryan Hothan
CIS(theta) 2009-2010: Arthur Dysart, Devin Bramble, Jeremy Agostino, Steve Beller
CIS(theta) 2008-2009: Marc Aldorasi, Mitchel Wong
CIS(theta) 2007-2008: Chris Rai, Frank Kotarski, Nathaniel Roman
CIS(theta) 1988-2007: A. Jorge Garcia, Gabriel Garcia, James McLurkin, Joe Bernstein, ... too many to mention here!
==================================




Well, that's all folks!








Friday, October 18, 2013

Teaching AP CompSci: CH3 Intro to Object Oriented Programming, Quarter I, Week 6

Teaching AP CompSci: 
CH3 Intro to Object Oriented Programming

Quarter I Week 6: 10/14-10/18
We started Lab3 which talks about writing your own class from scratch. We have to come up with our own Contructors, Accessors and Mutators for the first time. We also discussed Abstraction and Encapsulation! Sorry, there's no ScreenCasts for Lab 3 yet.

Quarter I Week 5: 10/07-10/11
Out sick.... However, I did start using DropBox and I added some screencasts for Lab 2, see below!

Quarter I Week 4: 9/30-10/04
This week we finished Lab2 by introducing the StdDraw class from Princeton's CS101 course. Here we used Object Based Programming to draw Rectangles, Ellipses and Lines! See all the code linked below from my PasteBin account (last link). I've also been redoing my ScreenCasts in the APCS Shorts playlist on my YouTube channel (see below too)!

Quarter I Week 3: 9/23-9/27
This week we started Lab2 based on Chapter 2. In this chapter we discuss constructing objects from existing classes: Rectangle, Color, Random and String. We started talking about Constructors, Accessors and Mutators as well a Private Instance Fields. I'm reworking the ScreenCasts as short summaries after class. I have a new playlist (see below) with only HelloWorld so far.


Quarter I Week 2: 9/16-9/20
We had a good week this week! We finished Lab1 based on Chapter 1 Exercises 1-8 (see Code and ScreenCasts below). We basically covered everything you ever wanted to know about main() methods and println()! We just started talking about Chapter 2 and Lab 2, Object Based Programming (using existing classes, constructors, objects, accessors) at the end of the week.

Our networking and various hardware issues are all corrected now (except the HP Color LaserJet is still down). My networking issues required setting up a static IP on the SmartBoard or Teacher PC. So, I have access to all my sites at school, finally!

address: 10.5.129.25
netmask: 255.255.0.0
broadcast: 10.5.0.254
dns: 10.1.1.19
proxy: NONE! (was 10.0.0.125)

There's a bit of lag on the LAN. So, I think I'll make Static IPs for the students too as there may be a DHCP conflict. However, the student stations are required to have the proxy.

Also, most students can access the ssh server from home. Some of us have Linux running at home which makes accessing java files the same as in class. Some students are logging in using putty from WIN but cannot use GUI applications from home (WIN graphics engine does not recognize the LIN graphics engine). Some have Mac at home and find that the MAC terminal works just like the Linux terminal at home including GUI ssh tunnels using: "ssh -Y userid@173.251.48.56"

Quarter I Week 1: 9/9-9/13
APCS had a slow start this year with a lot of networking and server issues. I think we're up to snuff now. We're in Chapter 1 of Cay Horstmann's fabulous text. All we did was write serveral versions of HelloWorld. This is a fine way to become familiar with our Linux based system. 

We talked about how to use our server from home using putty in Windows or a terminal in Mac and Linux land.

We also talked about CLI vs GUI, ASCII and Unicode, SSH vs FTP, javac vs java, etc. We also talked about the importance of comments and self-documenting code!

What's new this year is that I'm trying to stick to a CLI for coding in java all day every day! All we need is a shell or terminal to run javac, java and a text editor. This way we call login from home and do our work the same way we do in class even from a Mac terminal or by using putty in Windows!


ScreenCasts and SmartNotes and Code, 
oh my:
Below, you will usually find ScreenCasts from this week. We don't have too many SmartNotes in this course. Please see our sample code!

Lab2:



Code for APCS:2013 APCS DropBox


Well, that's all folks!