You can now read 10 articles in a month for free on BostonGlobe.com. Read as much as you want anywhere and anytime for just 99¢.

The Boston Globe

Business

Helping students crack computer science code

Rob MacDonald scrawled an equation on a whiteboard, graphed it, then asked the students in his advanced calculus class to write a formula to calculate slope at any point on the curve.

It was just the third day of school, and the seniors at Beaver Country Day School in Chestnut Hill furiously went to work, with most punching numbers into calculators and scribbling in notebooks. But one student, Lucas Cassels, turned to his laptop and a programming language called Python, which he has used to write a basic software application that can complete the assignment for him. All he had to do was input MacDonald’s equation, pick a point, and the app spit out the slope.

Loading comments...

You have reached the limit of 10 free articles in a month

Stay informed with unlimited access to Boston’s trusted news source.

  • High-quality journalism from the region’s largest newsroom
  • Convenient access across all of your devices
  • Today’s Headlines daily newsletter
  • Subscriber-only access to exclusive offers, events, contests, eBooks, and more
  • Less than 25¢ a week