Can someone help me with calculus?
Trapezoidal Rule: \(\Large\frac{h}{2}(y_0+2y_1+2y_2+...+2y_{n-1}+y_n)\) h = (b-a)/n, where [a,b] is your interval
how do I plug this in?
a = 0 b = pi n = 4
You will have four different x values, plug them into the equation given to find the y values, and plug those into the formula
Divide the interval into four equal subsections
so you get the x values 0, pi/4, pi/2, 3pi/4, and pi
Small correction: you'll have FIVE (not four) x-values, which determine the FOUR subintervals of the domain [0, pi]. For each of these FIVE x-values, find the corresponding y-value: \[f _{0}, f _{1},f _{2},f _{3}, f _{4}\]
oops, yeah, that's what I meant. Thanks for the correct @mathmale
What does " h " mean to you (coco)?
correction*
Coco: Your turn. All set to go? Or have you questions?
Join our real-time social learning platform and learn together with your friends!