Answered step by step
Verified Expert Solution
Question
1 Approved Answer
28 1 Introduction In dynamics, when we consider kinematic variables (a, ) during erratic motion along a direction (or to determine velocity attainted, distance travelled
28 1 Introduction In dynamics, when we consider kinematic variables (a, ) during erratic motion along a direction (or to determine velocity attainted, distance travelled etc. These integral kinematic qualities and some illustrative relations are shown below. axis), we often integrate 1 relations are founded on the definitions of these fo Where variables with subscript 0 are the initial vahues. While it may be possible to integrate kinematic variables analytically, there are times when such integrations are tedious. In such cases one can resort to numerical methods to integrate functions. Many modern software packages have in-built functions to integrate functions numerically. But, in this assignment you will write code in Matlab to integrate functions numerically adopting the Simpson's method. 2 Simpson's method Among different numerical methods adopted to realize numerical integrations, Simpson's method is a well known method to integrate functions. If f = f(z) is a continuous function that is to be integrated between the limits a and b, the Simpsons method to integrate employing n/2 steps, where n is even is given below. n/2 (32i-1) +f(2 where, b- a 3 Assignment UIsing appropriate loop statements, write a Matlab script to integrate a function numerically for user-defined n values (note: n is a even number). Adopt the code to solve the two problems given below. Upload your Matlab script fles and your solutions (scanned-pages/images are fine but they have to be clear & legible) to elearning by 11/28/17 (midnight)
Step 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