# Seamlessly Integrate Coding in Mathematics and Science
Published: 2021-03-23
Category: Product
Category URL: https://codehs.com/blog/category/product
URL: https://codehs.com/blog/seamlessly-integrate-coding-in-mathematics-and-science-45522824e132

* * *

![undefined](https://prod.superblogcdn.com/site_cuid_cm264m3an0084qegvyd7aetst/images/0zxa-uifw9ofuyg0-1728980036893-compressed.0*zxa-UiFw9Ofuyg0_)

### 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](https://prod.superblogcdn.com/site_cuid_cm264m3an0084qegvyd7aetst/images/1mj0omlq2zhubsmype3axzw-1728980039765-compressed.png)

### **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.

- **Learn More:** [codehs.com/course/coding\_math/overview](http://codehs.com/course/coding_math/overview)
- **Levels:** Middle School & High School

_Area and Perimeter Coding in Math Program Example_

![undefined](https://prod.superblogcdn.com/site_cuid_cm264m3an0084qegvyd7aetst/images/1b1fmovefdyn3sguodzwwpw-1728980042159-compressed.png)

### **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!

- **Learn More:** [codehs.com/course/coding\_science/overview](http://codehs.com/course/coding_science/overview)
- **Levels:** Middle School & High School

_Adding Graphics Coding in Science Program Example_

* * *

**The CodeHS Interdisciplinary Coding Projects are now available!** Learn more about the [science](https://codehs.com/course/coding_science/overview) and [math](https://codehs.com/course/coding_math/overview) lessons that you can integrate into your classroom this school year.


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

