From Programming for Engineers

Main: Tank Overflow Analysis: Python Programming Introduction

Below is an example problem that demonstrates whether a tank of particular dimensions will overflow with a certain amount of time. The tutorial shows how to define variables, perform volume calculations, determine whether the tank will overflow with an IF statement, and print out a message.

This same example problem is also demonstrated with Visual Basic for Applications in Excel and in the MATLAB scripting language


comments powered by Disqus
Retrieved from http://apmonitor.com/che263/index.php/Main/PythonProgram
Page last modified on May 14, 2014, at 10:13 PM