Computational Thinking Activities with MATLAB

Engineering Wearable Alerts

Alert Simulations computational thinking module

Students choose features of a computer algorithm that could be used to improve their wearable alert so that it only alarms at specified times. Students test and refine their algorithm against computer simulations of user scenarios.

When students launch each activity, it will open and run in their browser with MATLAB Online.

User Scenarios

View simulations of four scenarios where users may be in text neck position.

Continuous Text Neck Time

Set a timer to determine how many continuous minutes a user can stay in text neck before activating the alert.

Total Text Neck Time

Set a timer to determine how many minutes total a user can stay in text neck before activating the alert.

Two-Hour Simulation

View a simulation of a user’s neck position over an extended period.

An Algorithm for Continuous Text Neck Time

Add features to the algorithm to create an alert that turns on and off as desired.

An Algorithm for Total Text Neck Time

Add features to the algorithm to create an alert that turns on and off as desired.

Test Your Settings

Test your algorithm using a simulation of the user’s neck position over a two-hour period.

Modify User Behavior

Modify how the computer models human behavior, then test your algorithm again.

Youth Engineering Solutions (YES) has created a teacher guide with lessons plans to facilitate the implementation of these live scripts in your classroom. To download free teacher and student materials, visit the YES website.