Question
Problem 3 Easy one here. Lets find the integral of f(x) = (sin (2x) + cos(2x))2 from 0 to 2n. a) Use Trapezoidal rule on excel to do this numerically with step size of 0.1. b) Optional .. try this by hand .. symbolically ... (you did take calc !! ) c) Do this both numerically and symbolically with MATLAB using built in functions. Like "trapz" (this is 4 lines of code !! ) d) Find the derivative at x= 3 i. Numerically with excel 1. Plot derivative as a function of deta x used ii. Numerically with MATLAB using the built in function iii. Symbolically with MATLAB iv. by hand (calculus)
Question image 1