This course will give you a kit of skills and tools that will help you do great things even if you're not a mathematical prodigy. All you need is a little computing expertise. This course is designed for novice programmers: no programming experience is required! We'll teach you all the basic skills you need.
We'll focus on using using computers to solve common problems you'll encounter in science and engineering. In particular we'll talk about using computers to analyze data, simulate data, and visualize data.
You can download all of the notes as a single document here, or get them individually below.
What's this all about?
Simple C programs; Variables; Loops; Putting it all together.
The Code Development Dance; More command-line tools; More operators and math functions; Nested loops.
Readin' and Iffin': Using scanf to read input from the user, and using "if" statements to make decisions.
"while" loops and "do" loops.
Using the fprintf and fscanf functions.
Using arrays, and looking out for some potential pitfalls.
Creating histograms and analyzing data.
Using strings while avoiding pitfalls.
Defining and using functions.
Approximating a definite integral with the "Trapezoid Rule", and doing "Monte Carlo" integration.
Creating and using your own libraries.
Using structures to pack multiple properties into single variables.
Testing and flipping bits.