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

Навыки: Python, Математика

Показать больше: python code convert binary data csv, python code option prices data, python code for data analysis, python plot streaming data, python code to extract data from xml file, python plot multiple data frames, scatter plot categorical data python, python code to extract data from twitter, python code for data visualization, python code to download google finance data, python code to fetch data from website, python code to extract data from word document, elliptic curve cryptography python code, how to plot stock data in python, plot accelerometer data python, python code for data validation, python code to generate synthetic data, data preprocessing in python code, data science python code academy, how to plot classification data in python

О работодателе:
( 2 отзыв(-а, -ов) ) New Delhi, India

ID проекта: #28291647



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.

₹1500 INR за 1 день
(80 отзывов(-а))

4 фрилансеров(-а) готовы выполнить эту работу в среднем за ₹4090


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

₹11111 INR за 3 дней(-я)
(11 отзывов(-а))

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 за 7 дней(-я)
(4 отзывов(-а))

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

₹2250 INR за 1 день
(0 отзывов(-а))