Announcements

Learning Objectives and Outcomes

In this lecture, you will...

By the end of this lecture, you should be able to...

In Class Work

<aside> 💡 How are numbers represented in commonly used programming languages? In C, you can decide whether to use integers or floating point values by declaring a variable as int or float. MATLAB defaults to double precision floating point numbers. Python also uses floating point. Both MATLAB and Python round the value displayed to the end user.

</aside>

<aside> 💡 Fixed point numbers are an alternative to floating point numbers. Here's a fun article about why the programming language COBOL is still widely used today, and the limitations of some modern programming languages such as Python and Java. This came to a head during the pandemic because many government systems run COBOL and needed to update e.g. code for processing unemployment applications.

</aside>