part 1: python programming week 4:...
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/1.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/2.jpg)
– 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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/3.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/4.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/5.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/6.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/7.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/8.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/9.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/10.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/11.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/12.jpg)
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,](https://reader033.vdocuments.us/reader033/viewer/2022051909/5ffe78a10199e456a665800d/html5/thumbnails/13.jpg)
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?