+ All Categories
Home > Documents > Part 1: Python Programming Week 4:...

Part 1: Python Programming Week 4:...

Date post: 21-Sep-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
13
MATH0011: Mathematical Methods II Part 1: Python Programming Week 4: Maths
Transcript
Page 1: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

MATH0011: Mathematical Methods II

Part 1: Python Programming

Week 4: Maths

Page 2: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

– Two hour programming class● Tuesday 2:00–4:00, Birkbeck, 414/415● Tuesday 5:00–7:00, Foster Court B29● Wednesday 1:00–3:00, Christopher Ingold, G20● Wednesday 3:00–5:00, Christopher Ingold, G20● Thursday 9:00–11:00, Birkbeck 414/415● Friday 9:00–11:00, Birkbeck 414/415

Page 3: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Common questions● != means “is not equal to”.● ! is not factorial. Factorial is math.factorial.● if a: is the same as if a == True:.● if not a: is the same as if a == False:.

Page 4: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

numpy

Vectors, vector functions, etc

(not installed by default)

Page 5: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

matplotlib

For ploting graphs

(not installed by default)

Page 6: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Projects● Deadline: Friday 8 March● To be completed in pairs

– You can choose your partner.● Each pair must choose one project to

complete.● I will be sending you a questionnaire during

reading week asking:1) who you are working with2) which project you are doing.

● Instructions for how to hand in will be added to Moodle during reading week.

Page 7: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Ofce hours

Until the project deadline, I will continue holding ofice hours in the 5th floor common room

– Mondays 2-3– Thursdays 2-3

In deadline week, there will be more ofice hours. I’ll send info in a Moodle message nearer the time.

Page 8: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Project 1: Newton’s Method

Page 9: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Project 2: Bitcoin

Page 10: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Project 3: Goldbach’s conjecture

Every even integer greater than 2 can be expressed as the sum of two primes.

Page 11: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Project 4: A pair of ODEs

Page 12: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

Project 5: The Mandelbrot set

Page 13: Part 1: Python Programming Week 4: Mathsmscroggs.co.uk/teaching/math0011-week4-slides-for-moodle.pdf · Week 4: Maths – Two hour programming class Tuesday 2:00–4:00, Birkbeck,

FeedbackLater this week, you will be sent a feedback questionnaire. Please write comments. Specific things I would like feedback on:

● What did you think of the mix of lectures and computer classes?

● What did you think of the notes & exercises sheets? Was there enough explanation? Was there enough practice?

● Has this course encouraged you to do more programming / take more courses including programming?


Recommended