# (Solved) : Task 2 Numerical Computation 11 Marks Create Python Module Called Numericalpy Within Modul Q42771136 . . . Task 2: Numerical Computation (11 Marks) Create a Python module called numerical.py. Within this module implement the following three tasks. Part A: Continued Fractions (3 Marks) Write a function continued fraction (n) that takes as input non-negative integer n and then computes an approximation for the value of e using the first n + 1 terms of the continued fraction: ex2+ 1+ 2 Input: a non-negative integer n. Output: an approximation for the value of e using the first n + 1 terms of the continued fraction. Examples a) Calling continued fraction (2) returns 2.7272727272727275. E.g. e^2+ + b) Calling continued fraction (3) returns 2.7169811320754715. E.g. e 2 + 1 Show transcribed image text Task 2: Numerical Computation (11 Marks) Create a Python module called numerical.py. Within this module implement the following three tasks. Part A: Continued Fractions (3 Marks) Write a function continued fraction (n) that takes as input non-negative integer n and then computes an approximation for the value of e using the first n + 1 terms of the continued fraction: ex2+ 1+ 2 Input: a non-negative integer n. Output: an approximation for the value of e using the first n + 1 terms of the continued fraction. Examples a) Calling continued fraction (2) returns 2.7272727272727275. E.g. e^2+ + b) Calling continued fraction (3) returns 2.7169811320754715. E.g. e 2 + 1

Answer to Task 2: Numerical Computation (11 Marks) Create a Python module called numerical.py. Within this module implement the fo…

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.