Detaljert undervisningsplan

L?sning p? oppgaver gjennomg?tt i plenum legges ut p? nettet etter timen (send mail til hovedforeleser Hans Petter Langtangen (hpl@ifi.uio.no) hvis dette ikke er gjort).

18/8-24/8

Oppgaver i plenum: 1.1 (1plus1.py, side 44), 1.2 (hello_world.py, side 44), 1.3 (seconds2years.py, side 44). PDF

Forelesninger: kap. 1 (formulas). Foiler. Forberedelser: les kap.1 + oppg. 1.1, 1.2, 1.3.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: 1.6 (interest_rate.py, side 45), 1.8 (formulas_shapes.py, side 45), 1.9 (sin2_plus_cos2.py, side 46). PDF

25/8-31/8

Oppgaver i plenum: 1.4 (length_conversion.py, side 45), 1.12 (egg.py, side 48), 2.1 (f2c_table_while.py, side 84), 2.4 (odd.py, side 84), 2.7 (ball_table1.py, side 85), 2.3 (primes.py, side 84). PDF

Forelesninger: kap. 2 (loops, lists). Foiler. Forberedelser: les kap.2 + oppg. 1.4, 1.12, 2.1, 2.4, 2.7, 2.3.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: 1.17 (find_errors_roots.py, side 50), 2.11 (sum_for.py, side 86), 2.12 (interest_rate_loop.py, side 87), 2.5 (sum_int.py, side 85). PDF

Obligatoriske innleveringsoppgaver: 1.10 (gaussian1.py, side 47), 1.11 (kick.py, side 47) PDF.

1/9-7/9

Oppgaver i plenum: 2.6 (coor.py, side 85), 2.13 (inverse_sine.py, side 87), 2.14 (index_nested_list.py, side 87), 3.14 (hw_func.py, side 135), 3.17 (egg_func.py, side 136), 3.22 (maxmin_list.py, side 138). PDF

Forelesninger: kap. 3 (functions, if-tests). Foiler. Forberedelser: les kap.3 + oppg. 2.6, 2.13, 2.14, 3.14, 3.17, 3.22.

Forelesere: Benjamin Kehlet og Hans Petter Langtangen.

Anbefalte oppgaver: 3.1 (f2c.py, side 128), 2.2 (f2c_approx_table.py, side 84), 2.21 (time_while.py, side 90), 3.30 (L3_recursive.py, side 142), 3.31 (cos_sum.py, side 142), 3.15 (sinesum1.py, side 135), 3.6 (trapezint.py, side 130). PDF

Obligatoriske innleveringsoppgaver: 2.8 (ball_table2.py, side 85), 2.10 (sum_while.py, side 86), 2.16 (ball_table3.py, side 88) PDF.

8/9-14/9

Oppgaver i plenum: 2.18 (repeated_sqrt.py, side 89), 2.19 (machine_zero.py, side 89), 2.20 (compare_floats.py, side 90), 3.2 (sum_func.py, side 128), 4.1 (f2c_qa.py, side 211), 4.2 (f2c_cml.py, side 212), 4.3 (f2c_file_read.py, side 212). PDF

Forelesninger: kap. 4 (user input). Foiler. Forberedelser: les kap.4 + oppg. 2.18, 2.19, 2.20, 3.2, 4.1, 4.2, 4.3.

Forelesere: Hans Petter Langtangen og Benjamin Kehlet.

Obligatoriske innleveringsoppgaver: 2.2 (f2c_approx_table.py, side 84), 3.3 (roots_quadratic.py, side 129), 3.11 (area_triangle.py, side 134), 3.16 (gaussian2.py, side 136), 3.23 (Heaviside.py, side 139) PDF.

15/9-21/9

Oppgaver i plenum: 4.4 (f2c_file_read_write.py, side 212), 4.5 (f2c_cml_exc.py, side 212), 4.6 (objects_qa.py, side 213), 4.7 (objects_cml.py, side 213), 4.17 (user_formula2.py, side 216 - referansen til programmet user_formula.py er feil: integrate.py er riktig), 5.6 (simulate_vector_computing.py, side 281), 5.7 (slicing.py, side 281), 5.9 (plot_ball1.py, side 281), 5.10 (plot_ball2.py, side 282), 5.11 (plot_ball3.py, side 282), 5.13 (plot_trajectory.py, side 282). PDF

Forelesninger: kap. 5 (arrays, plotting). Foiler. Forberedelser: les kap.5 + oppg. 4.4, 4.5, 4.6, 4.7, 4.17, 5.6, 5.7, 5.9, 5.10, 5.11, 5.13.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: 4.16 (weekday.py, side 215), 4.18 (unnamed_exception.py, side 216), 4.19 (convert_temp.py, side 216), 4.20 (sinesum2.py, side 217), 4.21 (sinesum3.py, side 217), 4.22 (math_identities_failures.py, side 217), 5.29 (water_wave_velocity.py, side 290), 5.38 (plot_velocity_pipeflow.py, side 295), 5.39 (sinesum1_plot.py, side 295), 5.43 (energy_physics.py, side 296), 5.44 (plot_w.py, side 297). PDF

Obligatoriske innleveringsoppgaver: 4.9 (ball_qa.py, side 214), 4.10 (ball_cml.py, side 214), 4.11 (ball_cml_qa.py, side 214), 4.12 (ball_cml_tcheck.py, side 214) PDF.

22/9-28/9

Oppgaver i plenum: 5.27 (judge_plot.py, side 290), 5.37 (animate_Taylor_series.py, side 294), A.1 (sequence_limits.py, side 627), A.7 (growth1_index_ip1.py, side 630). PDF

Forelesninger: app. A (difference eqs.). Foiler. Forberedelser: les app.A + oppg. 5.27, 5.37, A.1, A.7.

Forelesere: Hans Petter Langtangen og Are Magnus Bruaset.

Anbefalte oppgaver: A.6 (fortune_and_inflation2.py, side 629), A.12 (diffeq_midpoint.py, side 632), A.13 (arclength.py, side 633), A.19 (growth_logistic2.py, side 636). PDF

Obligatoriske innleveringsoppgaver: 4.14 (ball_file_read_write.py, side 214), 5.2 (fill_arrays_loop.py, side 280), 5.3 (fill_arrays_vectorized.py, side 280), 5.12 (f2c_shortcut_plot.py, side 282), 5.26 (plot_wavepacket.py, side 290) PDF.

29/9-5/10

Oppgaver i plenum: A.14 (sin_Taylor_series_diffeq.py, side 633), 5.14 (read_2columns.py, side 282), 5.16 (read_density_data.py, side 283), 5.17 (fit_density_data.py, side 284), A.9 (Newton2.py, side 631). PDF

Forelesninger: kap. 6 (dictionaries, strings, files). Foiler. Forberedelser: les kap.6 + oppg. A.14, 5.14, 5.16, 5.17, A.9.

Foreleser: Are Magnus Bruaset.

Anbefalte oppgaver: 6.5 (stars_data_dict1.py, side 366), 6.6 (stars_data_dict2.py, side 366), 6.13 (text2func.py, side 369). PDF

Obligatoriske innleveringsoppgaver: 5.30 (plot_Taylor_sin.py, side 291), 5.31 (plot_wavepacket_movie.py, side 291), A.3 (growth_years_efficient.py, side 629), A.5 (fortune_and_inflation1.py, side 629) PDF.

6/10-12/10

Midttermineksamen.

13/10-19/10

Oppgaver i plenum: 6.7 (humans.py, side 367), 6.9 (area_triangle_dict.py, side 367), 6.10 (poly_repr.py, side 368), 6.11 (poly_diff.py, side 368), 7.1 (F.py, side 429), 7.2 (Account2.py, side 429), 7.3 (Account3.py, side 429). PDF

Forelesninger: kap. 7.1-7.2 (classes). Foiler. Forberedelser: les kap.7.1-7.2 + oppg. 6.7, 6.9, 6.10, 6.11, 7.1, 7.2, 7.3.

Forelesere: Benjamin Kehlet og Hans Petter Langtangen.

Anbefalte oppgaver: 6.12 (cml_functions.py, side 368), 6.14 (temperature_data.py, side 370), 5.18 (fit_pendulum_data.py, side 285), 6.15 (wavepacket_report.py, side 370). PDF

Obligatoriske innleveringsoppgaver: A.15 (cos_Taylor_series_diffeq.py, side 634), 5.21 (position2velocity.py, side 286, 2 poeng), 6.3 (density_improved.py, side 365), 6.4 (read_error.py, side 366) PDF.

20/10-26/10

Oppgaver i plenum: 7.12 (Sum.py, side 433), 7.10 (Hello.py, side 432), 7.11 (F2.py, side 432), 7.13 (dYdt.py, side 433), E.1 (simple_ODE_func.py, side 764), E.2 (simple_ODE_class.py, side 765), 6.15 (wavepacket_report.py, side 370). PDF

Forelesninger: app. E.1 (ODEs) og kap. 7.3-7.4 (special methods). Foiler. Forberedelser: les kap.7.3-7.4, app.E.1 + oppg. 7.12, 7.10, 7.11, 7.13, E.1, E.2, 6.15.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: 7.7 (Line2.py, side 431), 7.18 (Derivative_protected.py, side 436), E.8 (body_in_fluid.py, side 767), E.5 (Heuns_method.py, side 766), 7.29 (Vec2D_lists.py, side 440), 7.31 (Vec.py, side 441). PDF

Obligatoriske innleveringsoppgaver: 5.15 (write_cml_function.py, side 283), 7.4 (geometric_shapes.py, side 430), 7.6 (Line.py, side 430), 7.5 (Quadratic.py, side 430) PDF.

27/10-2/11

Oppgaver i plenum: E.32 (MidpointIter_func.py, side 778), E.33 (MidpointIter_class.py, side 779), 8.1 (flip_coin.py, side 505), 8.3 (choose_color.py, side 506), 7.25 (Polynomial_sub.py, side 439). PDF

Forelesninger: kap. 8 (random numbers, simulation). Foiler. Forberedelser: les kap.8 + oppg. E.32, E.33, 8.1, 8.3, 7.25.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: E.7 (arclength_ODE.py, side 767), 8.16 (compute_prob_vec.py, side 509), 8.14 (freq_2dice.py, side 509), 8.20 (dependent_random_numbers.py, side 510). PDF

Obligatoriske innleveringsoppgaver: 7.23 (Polynomial_exp.py, side 438), 7.28 (Polynomial_dict.py, side 440), E.6 (tank_ODE.py, side 766), 7.22 (Integral_eff.py, side 438) PDF.

3/11-9/11

Oppgaver i plenum: 8.4 (4balls_from10.py, side 506), 8.5 (rolling_dice.py, side 506), 8.13 (draw_balls.py, side 508), 8.15 (flip_coin_vec.py, side 509), 9.1 (dir_subclass.py, side 591), 9.3 (sin_plus_quadratic.py, side 592), 9.4 (Polynomial_hier.py, side 593), 9.6 (PolarPoint.py, side 593). PDF

Forelesninger: kap. 9.1-9.3 (OO programming), app. E.2 (ODE systems). Foiler. Forberedelser: les app.E.2, kap.9.1-9.3 + oppg. 8.4, 8.5, 8.13, 8.15, 9.1, 9.3, 9.4, 9.6.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: 9.8 (boundary_layer_derivative.py, side 594), 9.9 (Sine12.py, side 594), 9.10 (numdiff_classes.py, side 594), 7.33 (minmaxf.py, side 442). PDF

Obligatoriske innleveringsoppgaver: 8.2 (compute_prob.py, side 505), 8.6 (one6_ndice.py, side 506), 8.8 (sum_4dice.py, side 507), 8.9 (sum_s_ndice_fair.py, side 507) PDF.

10/11-16/11

Oppgaver i plenum: 9.14 (MCint_class.py, side 596), E.4 (odesolver_cml.py, side 765), E.12 (pizza_cooling1.py, side 770), E.29 (radioactive_decay2.py, side 777), E.24 (ForwardEuler_sys_func2.py, side 776). PDF

Forelesninger: app. E.3 (OO for ODEs), kap. 9.3. Foiler. Forberedelser: les app. E.3, kap. 9.3 + oppg. 9.14, E.4, E.12, E.29, E.24.

Foreleser: Hans Petter Langtangen.

Anbefalte oppgaver: 9.17 (Rootfinders.py, side 598), E.14 (pizza_cooling3.py, side 772). PDF

Obligatoriske innleveringsoppgaver: 9.2 (Cubic_Poly4.py, side 592), 9.11 (Backward2.py, side 595), E.23 (yx_ODE_FE_vs_RK4.py, side 775, 2 poeng), E.16 (radioactive_decay.py, side 773, 2 poeng) PDF.

17/11-23/11

Oppgaver i plenum: E.34 (MidpointIter.py, side 779), E.51 (oscillator_v1.py, side 792). PDF

Forelesninger: Om det avsluttende prosjektet ang. modellering av smittsomme sykdommer (med innlevering neste uke). Evt. repetisjon av temaer og oppgaver, evt. nye oppgaver (send mail til hpl@simula.no!). Ingen forelesning 20/11!. Foiler.

Anbefalte oppgaver: E.53 (oscillator.py, side 793). PDF

Obligatoriske innleveringsoppgaver: E.30 (RungeKutta2_func.py, side 778), E.31 (RungeKutta2.py, side 778, 2 poeng), E.13 (pizza_cooling2.py, side 771, 2 poeng) PDF.

24/11-30/11

Obligatoriske innleveringsoppgaver: E.41 (SIR.py, side 782, 2 poeng), E.42 (SIR_class.py, side 784, 2 poeng), E.43 (SIRV.py, side 785, 2 poeng), E.44 (SIRV_varying_p.py, side 786, 2 poeng), E.45 (SIRV_optimal_duration.py, side 786, 2 poeng), E.46 (SIZR.py, side 786, 2 poeng), E.47 (Night_of_the_Living_Dead.py, side 789, 2 poeng), E.48 (war_on_zombies.py, side 789, 4 poeng) PDF.

Merk

Ingen flere forelesninger etter 18. november, men vi kan ha en siste repetisjon av temaer eller oppgaver, oppklaring av problemer, mm. tirsdag 16. desember 14-16 dersom det kommer inn tilstrekkelig antall kokrete forslag til aktiviteter (send epost til hpl@simula.no eller skriv melding i piazza.com). Evt. beskjed vil bli publisert her og under beskjeder p? hjemmesiden.

Av Hans Petter Langtangen
Publisert 21. apr. 2015 21:32