undefined

Seamlessly Integrate Coding in Mathematics and Science

Announcing the New CodeHS Interdisciplinary Coding Projects!

Reinforce and extend students’ understanding of mathematics and science while they learn computer science! Integrating coding across subjects is a great way to:

  • Introduce students to programming who might not otherwise take a full year-long computer science course
  • Showcase that coding is valuable in a variety of disciplines and careers
  • Develop strong critical thinking and problem-solving skills

CodeHS is excited to launch a series of independent, standalone interdisciplinary projects. The goal of these coding projects is for students to build math or science-related projects that demonstrate their proficiency in the respective subjects, as well as computer science.

Try integrating coding in an algebra, physics, geometry, or biology class!

undefined

Coding in Math

Here’s a preview of some math-related coding projects available now:

Categorizing Triangles: [Middle School, 1–3 Hours] Students use Turtle Graphics in Python to create a program that draws and categorizes triangles based on user input and proper if/else statements, functions, and mathematical operators.

Factors and Multiples: [Middle School, 5–8 Hours] Students explore real-life applications of a number’s factors and multiples, along with how to leverage computational power to make the calculations even easier.

Shapes and The Pythagorean Theorem: [Middle School, 4–6 Hours] Students learn to code with variables and user input in order to develop a final program that determines the dimensions of a roof and the quantity of construction materials needed.

The Formula Solver: [High School, 3–5 Hours] Students learn to build programs that solve various real-life formulas based on a user’s input.

Vector Math: [High School, 3–5 Hours] Students reinforce their understanding of vector measurements as they learn to program with them in a variety of physical applications.

Orbital Precision: [High School, 1 Hour] Students explore the impact of using more digits of Pi when calculating the orbit of Nasa Satellites. Note: Students should be familiar with basic loops, conditional, and print statements in Java before attempting.

Area and Perimeter Coding in Math Program Example
undefined

Coding in Science

Here’s a preview of some science-related coding projects available now:

Punnett Square Generator: [High School, 2–4 Hours] Students use Turtle Graphics in Python to create their own Punnett Square generator by using if/else statements, string indexing, and string methods to print the genotypes from each allele pair.

Exploring Collisions: [High School, 2–4 Hours] Students use JavaScript graphics to create their own elastic collision simulation using conservation of momentum and kinetic energy equations.

Bouncing Ball Simulation: [High School, 2–4 Hours] Students create a bouncing ball simulation in JavaScript, complete with gravity and collisions!

Adding Graphics Coding in Science Program Example

The CodeHS Interdisciplinary Coding Projects are now available! Learn more about the science and math lessons that you can integrate into your classroom this school year.