80 likes | 166 Views
Computation and Simulation EE317 2008-2009 Assignment Two. By: Shimiao Cheng, Femi Adeleke , Hanieh Alirezaeeabyaneh. some examples of the use of numerical solvers for real-life engineering/ physics ODE problems. Mathematical models when simulating the
E N D
Computation and Simulation EE317 2008-2009Assignment Two By: Shimiao Cheng, Femi Adeleke, HaniehAlirezaeeabyaneh
some examples of the use of numerical solvers for real-life engineering/physics ODE problems • Mathematical models when simulating the behavior of physical, chemical, and biological systems often include one or more ordinary differential equations (ODES) and these equations are usually solved numerically. • You have already seen acceleration a=x'' (second order derivative) and v=x′ (first order derivative) in the high school. • First order Ordinary Differential Equations. In engineering applications, a first order ODE usually appears in the context of an initial value problem.
y(x0) = y0, d/dx y(x) = f(x, y(x)). The function f might be a linear or non-linear function of the independent variable x and the dependent parameter y. Euler Method , The simplest approach to solving this type of equation numerically is based on finite difference approximations to the derivative. In general, yn+1 = yn + hf(xn,yn) Effectively, we are approximating the curve y(x) by a polygon, whose first side is tangent to the curve at x0 .
Runge -Kutta Method, This method uses the estimate yn+1 = yn +1/6(A1 + 2A2 + 2A3 + A4) where the auxiliary estimates are given by A1 = f(xn, yn) A2 = f(xn +h/2,yn +h/2 A1) A3 = f(xn +h/2,yn +h/2 A2) A4 = f(xn + h, yn + hA3)
Present the results of your efforts to numerically solve (in Matlab) the ordinary differential equation dy/dx= x + y, with y(0) = 0 in the range (0; 10). Note that the exact solution is y(x) = ex-x-1.
A projectile is fired from the origin (0; 0) at angle µ to the x-direction with initialvelocity V0.
Finally, respond (briefly) to Mr. O Meara’s comments • According to what David O’meara said, we will completely agree with him about the level of education in schools that has not met the objectives of student for their third level education. • Because of this, the department of education need carefully choosing the teaching material which has to to meet the needs of the society . • Another improvement which can be done is to have a better quality service in each guidance consular department. They play a major role in influencing student to pick the right field in college.
Thank you & Questions