need help with python hw

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

need help with python hw

Post by answerhappygod »

need help with python hw
Need Help With Python Hw 1
Need Help With Python Hw 1 (20.85 KiB) Viewed 60 times
Problem 1 Find the error formula between the exact integral and the Trapezoid integral for the 4th power. Let f(x) = kx4.k is a constant. You will need to find List f(x) dx - "[[(x1)+f(xo) 2 and show the exact error for the 4th order term is: €4 = NK ((x0+x1)-2xox1) 10 You will find sympy to be very helpful in doing the algebra. It won't do everything, you will have to use it wisely. 19]: from sympy import * h, xe, x1, k =symbols('h, xe, x1, k)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply