Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use matlab to solve 1 to 5 and include the screenshot of the result , thank you ! Homework #9 Applied Programming, ENGR 10573
please use matlab to solve 1 to 5 and include the screenshot of the result , thank you !
Homework #9 Applied Programming, ENGR 10573 Spring 2016 Due Monday, Apr. 25 uploaded through TCU eCollege DropBox by 12:00 Midnight. Upload one function, student! astnamehowmework9 () ?n a single m-file that runs each problem along with all of the subfunctions that work that particular problem. The homework problems should run sequentially showing plots and the proof that each subfunction works correctly. The single m-file that you turn in is the code that will be graded. Open a new figure for every figure by using the figure command. Ensure that you organize each problem properly and answer the question fully. Also ensure that your answers make sense 1. Use the Matlab function, integral() to numerically integrate the function, y2x-4 from 1 to 5. You will have to create a function and pass a function handle to -euad ). See Attaway 14.5. (Answer 4/3) 2. Write a function using "for-loops" to integrate the mathematical function in Problem #1 using Rectangular integration. Use "Left-corner" Rectangular Integration. The function should take as inputs, a, b, N and a function handle and output the integrated result. (try N 1000) (Answer4/3) for-loops ", integrate the same function in Problem #1 using Trapezoidal Using integration. Use the same function structure as in Problem #2. (Answer 3. -43 4. Using "for-loops", integrate the same function in Problem #1 using Simpson's 13 and 3/8 Rule integration. Use the same function structure as in Problem #2 (try N-100) (Answer4/3) 5. Write three different functions using "for-loops" to integrate the Gaussian normal distribution curve from [-0, ?. [-2?, 2 ?], and I-3?, 3?, using Rectangular integration. Perform all three types of Rectangular integration: 1) Left-corner; 2) Midpoint and 3) Right-corner. Use the same function structure as in Problem #2. Let be 0 and let ? be 1, (try N-1000) (Answer :--68.2%,-95.4%,--99.7%) 2iuStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started