Introduktionskurs K+Kf+Bt, ht 2004, vecka 1,vecka 2

Obs: vi lägger mest tid på Matlabövning!

Theory

AMB&S chap. 7, 8.
Lecture 3 (ps), Lecure 3 (pdf).

Goal:
Understanding the rational numbers, their algebra, and decimal represenatations. Recalling the basics of Euclidean geometry including Pythagoras' theorem, the geometric definitions of cos(v) and sin(v), and the fundamental formulas for cos(v+w) and sin(v+w).

Excercises: (ej obligatoriska)
7.1, 7.2, 7.4, 7.5a-d, 7.6, 7.7, 7.8a-c, 7.9ab, 7.10a-c, 7.11a-d, 7.13,
8.1, 8.2, 8.5.

Matlab

Goal:
Learning to use Matlab as an elementary calculator, including variable assigments and list/vector operations such as .*, ./ and .^.
Learning to use the basic programming elements if, for and while in Matlab, to run code from script files, and some elementary graphics.

Topics:
+, -, *, /, ^, (), ., ans, variable assignments, who, whos, clear, lists/vectors, indexing, :, list operations, .*, ./, .^, ,, ;, workspace, save load, quit.
script files, edit, if, elseif, else, end, ==, <, >, <=, >=, ~, &, |, for, while, return, text variables, eval, disp, path, mkdir, cd, pwd, documentation, type, help, plot, xlabel, ylabel, title, hold, subplot, grid.

Arbeta med dessa uppgifter: Introduktion till Matlab.

Här finns fler Matlabövningar om du har tid: Matlab Intro I, Matlab Intro II, Matlab Intro III (dessa finns också tryckta i räknestugehäftet).

/stig