Email is sforcey (AT) uakron.edu (...this is the best way to get a hold of
me)
Office hours:
TBA
If you can't make my office hours, let me know and we can try to
set up
a time to meet.
Textbook: Eloquent Javascript by Haverbeke (free, see below), Winning Ways for your Mathematical Plays by Conway, and Introductory
Combinatorics by Brualdi.
Course Syllabus.
The syllabus will include information about grading
policies. You
should definitely read it.
Here's an approximate schedule of
what we'll be doing this summer.
Homework and Quizzes
Homework quizzes will be posted here on this webpage, along with the due date for the
quiz to be turned in.
No makeup quizzes will be given, but 15 quiz/homework points will be dropped.
Easy to get started: just write a program in text (samples follow) and save as .htm.
Then just open with any browser. JS is still the most popular language among developers.
Below are some easy sample programs to get started! To run the code, click the link. To see the code, add this term to the beginning of each URL: view-source: ...or after clicking on a linked program then click on tools and developer tools, and then look at elements (in Chrome) or script (in Explorer).
This one just prints Hello World to the screen and the console. To see the latter, open tools and developer tools, and then look at console.
This one calculates the value of sin(x)/x for any input.
This demonstrates better output use, and if-statements: test how close to 100 floating points can be.
What is 100.0000000000000071054273576?
Here is a great tutorial by Matt Mongeau for writing javascript games.
Here's the Pvs.P Awesome Pong variation wawesome and I
wrote using Mr. Mongeau's code: top player uses a-w-s-d, bottom uses arrows; first to 10 points wins.
Additional notes:
1) The complement of the empty set is the whole set U ( universe). Complement of {} = U.
2) Subtracting works even when there is no overlap: it is just the whole first set, since there is nothing to subtract. A - B = A, when A intersect B = {}.
3) A - {} = A.
4) A union {} = A.
5) A intersect {} = {}
6) {} - A = {}
JSON: sets in JavaScript!
This one demos the notation: notice the nested sets!
Use view-source to see the code, and tools:developer-tools:console to see the output of this JSON demo .
For sequences: the Online Encyclopedia of Integer Sequences
Here is the open question of counting numbers of posets.
Here is the open question of counting numbers of polyhedra.