# Maths Python code

1) for an input test, define function, where the function defines an ODE so the following code works:

if type(f) !=function:

return("'f' has be a function")

2) Help me figure out why the following code says there is an error even if qn is in fact a vector:

if type(qn) !=[login to view URL]:

return("'qn' has to be a numpy array")

3) Show that the local truncation error of the single step algorithm is fourth order by checking the error in solving a single step of the IVP

dq/dt = t − q, q(0) = 0 ⇒ q(t) = exp(−t) + t − 1

converges at the expected rate as the timestep is modified. The convergence rate should be shown as a plot. Plot the error against dt, using an appropriate scale. By fitting an appropriate curve to the data using polyfit, which should also be plotted, give evidence to show that the single step algorithm is converging at fourth order.

4) Implement the implicit Gauss-Radau algorithm usng either the root or fsolve function (attached in the file)

5) (optional) document all code

I have also uploaded all my code so far.

Needs to be done within the next 36 hours

Beceriler: Python, Matematik

İşveren Hakkında:
( 2 değerlendirme ) New Delhi, India

Proje NO: #28291647

## Seçilen:

ilyarotov02

Hello, how are you? I am an expert in Mathematics and Physics and Python Programming. I have a lot of experiences in Numerical methods. So I think I can help you. Kindly contact with me. Thanks.

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% INR
(80 Değerlendirme)
6.2

## Bu iş için 4 freelancer ortalamada ₹4090 teklif veriyor

BOSIREX

Am a Mechatronic engineer with 5 year experience in python programming and I believe i can handle your task to perfection

₹11111 INR in 3 gün içinde
(11 Değerlendirme)
4.1
nikafanasnikafan

Hello, How are you? I read your project detail carefully. I know numerical methods like as RK method, GR algorithm... I can help you well. Please contact with me. thanks. Nikita.

₹1500 INR in 7 gün içinde
(4 Değerlendirme)
3.1
prithvisingh0075

hey there I am an android and python developer my previous project in python was image classifier using auto encoder and decoder DM me let's discuss your project

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% INR
(0 Değerlendirme)
0.0