MATLAB/Python Coding Teaching Materials: Mars Subsurface Depth Shielding

Professor Tamara Moore and a team at Purdue created a coding assignment to apply computational tools to real-world radiation-protection problems.

In this set of teaching materials, students will use MATLAB and/or Python to write a Main Script that reads data from a given table after retrieving a user’s input. The program will then provide a response based on the data from the table.  The problem is based on radiation hardening by shielding.  Students employ materials found on the surface of the red planet to create a shield to protect humans and technology from radiation effects.

The materials include lectures on relational and logical operators and indefinite and while loops.  It builds on prior knowledge of data initialization, data types, basic while looping structures, conditional statements, logical operators, and print statements to develop a functional program that meets specified criteria.

LO1: Apply conditional statements for input validation and data selection.

LO2: Use conditional statements and while loops to verify user input.

LO3: Develop a program to ensure the input meets specified criteria and displays data effectively.

Previous
Previous

MATLAB/Python Coding Teaching Materials: Solar Cell Radiation

Next
Next

MATLAB Microelectronic Coding Problem - Total Ionizing Dose Problem Set