The Data Science Labs on Differential and Integral Calculus (MA16290):
Fall 2023 offering (pick one):
Tu 2:30-5pm CRN 25495
Mo 5:30-8pm CRN 25496
A one credit course to accompany Calculus 2. Discover applications of differential and integral calculus to data science. You will also learn to program in Python and to use Arduino sensors and microprocessors to acquire data. No prior experience with Python or Arduino is required. The lab counts towards the Applications in Data Science Certificate. It also counts as a complementary elective for ECE (CMPE and BSEE).
Pre-requisite: Calculus 1
Co-requisite Calculus 2 (MA16020 or MA 162 or MA182 )
The class requires no work outside of the lab. There is no homework, no quiz, no test, no exam. All work is performed during the 150 minutes spent in the lab each week. If you do well in the class and display good collaboration and communication skills, you may be invited to become a (paid) TA for the course in future semesters.
The book for the class is available on github at:
https://thedatasciencelabs.github.io/DSLab_Calculus/
If you are taking Calculus 2 (any version) at the same time as this lab, you can earn honors credit for Calculus 2 by taking this lab. See syllabus for details.
Python Programming Topics Covered
•Primitive Data Types (e.g., numbers, strings)
•Expressions on Primitive Types
•Conditionals
•Loops
•Structured types (e.g., arrays, lists)
•Functions and methods
•File I/O operations
•Namespaces
•Modules
•Objects
•Classes
•Inheritance
•using a REPL system
•Function visualization with plots
•Data cleaning
•Boolean indexing
•Symbolic computation
Arduino Hardware used includes
•Raspberry Pi Pico (micro-python)
•Photoplethysmography (PPG) sensor
•Accelerometer
•Ultrasonic distance sensor
•OLED Display
•Tactile switch
Lab Topics by Week
• Intro to Notebooks:
• Determine your heart rate
• Estimate your blood flow
• Measure the height of tall and far away things
• Measure the speed of nearby things
• Design a project of your own
Acknowledgements
The development of this course was supported by Purdue’s College of Engineer and the Department of Mathematics. We thank Prof. Alina Alexeenko, Prof. Eric Nauman , Prof. Kristina Bross, Prof. Milind Kulkarni, Prof. Uli Walther and Dr. Natasha Duncan for their invaluable input and support.