code_by_math
()
Home
|
Lessons
|
Login
|
Sandbox
|
About
Learn code. Learn math.
There's a lot here. If you
login
we'll track your progress.
Start here
Displaying text
How programs flow
Programming as a calculator
Dividing by zero
Testing divisibility
Literal vs. to-be text
Using absolute values
Using Pi on the computer
Using square roots
Random numbers
Reading text from the keyboard
Getting clicks from the mouse
Square roots and the distance formula
Square roots and the Pythagorean Theorem
Finding Pythagorean Triples
Simple Graphics and Drawing
Drawing pixels
Choose a plotting color
Clearing the screen
Drawing lines
Drawing circles
Drawing with text
Draw something!
The Cartesian Coordinate System
Zoom in or out
Variables in programming
Introduction
Mathematical expressions with variables
Calculate a tip
Calculate a tip (with keyboard input)
Distance formula with variables
Changing a variable in one line
Rescaling a result
Drawing lines with the mouse
Drawing circles with the mouse
The slope of a line
The for-loop: counting over a range of numbers
Using for-loops to count
More for-loop counting
Make math practice problems
Making math-facts tables
Study the absolute value
Adding numbers like Carl Gauss did
Adding numbers to find Pi
Finding square roots
Iterating a function
Interating the logistic function
Iterate for a square-root
A clever for-loop for Pi
The for-loops: making graphs
Make it snow
Graph a line in slope-intercept form
Graph the absolute value
Graph a parabola
The Lorenz Attractor
The for-loops: Simple computer animation
Animate a single pixel
Animate a more complex shape
Animate with laws of physics
Object with air-drag
Exploding text
Animated text-banner
The if-statement: Asking true or false questions
Introduction
True/false with variables
Compound true/false questions
The if-statement
Divisibility tester (1)
Divisibilty tester (2)
Checking random numbers
Graphing inequalities (x-axis)
Graphing inequalities (xy-plane)
Graphing systems of inequalities
Throwing darts to find Pi
Solving Quadratic Equations
The Pythagorean Theorem Calculator
Fermat's Last Theorem
Functions in programming
Introduction
Returning values
Convert between Celsius and Fahrenheit
Finding the Greatest Common Divisor (GCD)
Reducing fractions with the GCD
A better GCD calculator
Least common multiple (LCM)
Finding common denominators using the LCM
Add fractions and reduce answer to lowest terms
Is a number prime?
The Fibonacci Sequence
The Factorial
Computing Pi using factorials
Testing the derivative
Doing integrals numerically
Using sine and cosine
Introduction
Plot a circle
Plot a star
Plot a sine wave
Test the famous sin/cos identity
Test the sin/cos identity graphically
Make cool polar plots
Coaxing Pi from the computer
Strings of text
Introduction
The length of a string
Comparing strings
Comparing strings (2)
Finding Palindromes
Palindromic squares
Patterns in Pi ($\pi$)
Patterns in Pi ($\pi$) (more)
The while-loop
Introduction
Type some words
Average some numbers
Mouse clicks
You guess my number
I'll guess your number
Solving equations
Arrays
Introduction
Loops and arrays
Arrays and averaging numbers
Arrays and histograms
Histogram Pi's digits
Histogramming uniform rnd nums
Normally distributed rnd nums
Do something for real
Make a Google Chart
Work with Google Maps
Make a professional (x,y) plot
Draw 3D graphics
120 total lessons.