12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Overview Today
Solution of ordinary differential equations with
Mathematica and Matlab.
Examine formulati
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Overview Today
Examine image and 3-D graphics in Matlab
Examples used in this lecture are:
http:/geoweb.m
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Overview
Part 1: Python Language Basics getting started.
Part 2: Python Advanced Usage the utility of Pyt
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Overview
Part 1: Python Language Basics getting started.
Part 2: Python Advanced Usage the utility of Pyt
12.010 Computational Methods of
Scientific Programming
Matlab Lecture 4
Lecturers
Thomas A Herring
Chris Hill
Review of Last Lecture
Analysis of the some of the functions needed for the
GUI developme
12.010 Computational Methods of
Scientific Programming
Matlab Lecture 3
Lecturers
Thomas A Herring
Chris Hill
Summary of last class
Continued examining Matlab operations
path and addpath commands
V
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Summary
Today we finish up C and start C+
Final C topics
Structures: A method for grouping like variable
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Summary
Finished up C with structures and memory management
Started with C+
C+ is C with the addition of
12.010 Computational Methods of
Scientific Programming
Matlab Lecture 2
Lecturers
Thomas A Herring
Chris Hill
Summary of Introduction to Matlab
Looked at the basic features of Matlab:
Getting help
12.010 Computational Methods of
Scientific Programming
Matlab Lecture 1
Lecturers
Thomas A Herring
Chris Hill
Summary of Todays class
We will look at Matlab:
History
Getting help
Variable definiti
12.010 Computational Methods of
Scientific Programming
Lecture 9
Todays lecture
C in more detail
Summary
LAST LECTURE
Basic C
Syntax v. Fortran
THIS LECTURE
Examined C-pointers
File Input/Output
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Mathematica
Look in more detail at some of the programming
features in Mathematica
There are many of thes
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Mathematica
History
Developed between 1986-1988 at Wolfram Research
Mathematica 1.0 released in 1988
Ma
12.010 Computational Methods of
Scientific Programming
Lecture 8
Todays lecture
Start C/C+
Basic language features
C History and Background
Origins 1973, Bell Labs
Public K&R C The C Programming Langu
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Review Lecture 01
Language characteristics:
Compiled versus interactive
Numeric versus symbolic
Algorit
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Review of last lecture
Start examining the FORTRAN language
Development of the language
Philosophy of la
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Review and todays lecture
So far we have covered most of the features of Fortran 77
although there are sti
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Review of Lecture 5
Looked at Fortran commands in more detail
Control through if and do statements.
Logi
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Review of Lecture 2
Examined computer hardware
Computer basics and the main features of programs
Program
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Review of Lecture 4
Looked at Fortran commands in more detail
Looked at variables and constants
IO comma
12.010 Computational Methods of
Scientific Programming
Lecturers
Thomas A Herring
Chris Hill
Todays class:
Basic content of course and class expectations
Overview of languages
Overview of program d