SlideShare a Scribd company logo
1 of 22
NMC Presentation
BY:-
Mukul Dev Khunte
Guided by:-
Dr. G.K.Singh
Head Dept. of Mathematics
History-Sir Leonhard Euler
• Name: Sir Leonhard Euler
• Born : 15 April 1707, Switzerland
• Died : 18 September 1783, Saint Petersburg
Russia
• Education: University of Basel (1720–1723)
• Contributions to mathematics and physics:
Euler worked in almost all areas of
mathematics, such as geometry, infinitesimal
calculus, trigonometry, algebra, and number
theory, as well as continuum physics, lunar
theory and other areas of physics
Euler’s Method
Consider the equation
𝑑𝑦
𝑑𝑥
=f(x,y) …….(1)
Given that Y(x0)=y0 its curve of solution through
P(x0,y0) is shown dotted in figure. Now we have to
find ordinate of any other point at Q on this
curve.
Dividing the curve into ‘n’ equal sub-interval each
of width ‘h’. So we approximate the tangent for
LL1
So Y1=L1P1=LP+R1P1
=y0+PR1 tan𝜃 =y0+hf(x0,y0)
Euler’s Method
Repeating this process n times
yn+1=yn+hf(xn,yn) ……….(2)
Where xn=x0+nh
Equation 2 is called as Euler’s Method for finding
an approximate solution.
Working of Euler’s Method
1.Given function is taken for the first approximation. Using initial boundary condition
and value of ‘h’.
**If the value of ‘h’ is not given than the initial and final value(required value) is
divided into ‘n’ sub-intervals for finding value of ‘h’.
2.After getting the first approximation the second approximation is taken for the
function of x0+h
And y1 .
Than the Euler’s Method become y2=y1+hf(x0 +h,y1)
where y1 is the value obtain from first approximation .
3.Similerly approximations are taken out until x0 +h=xn (Required value of y at any
point xn )
Example
Question : Apply Euler’s Method to solve y’=x+y .Given y(0)=0.Find y at x=0.8 using
step length 0.2 .
Solution : Given,
y’=x+y , y(0)=0 ,h=0.2
Than using Euler’s Method
yn+1=yn+hf(xn,yn) …………..(1)
Putting n=0, for finding first approximation than we have,
y1=y0+hf(x0,y0)
y1=0+0.2×0 =0
Putting n=1, for finding second approximation than we have,
y2=y1+hf(x1,y1)
Example
y2=0+0.2× 0.2 =0.4
Putting n=2, for finding third approximation than we have,
y3=y2+hf(x2,y2)
y3=0.04+0.2× .44=0.128
Putting n=3, for finding forth approximation than we have,
y4=y3+hf(x3,y3)
y4=0.128+0.2×0.728=0.2736
At y(0.8)=0.2736 Answer.
Modified Euler’s Method
In the Euler’s Modified method , The curve of the solution in the interval LL1 is
approximates by the tangent at P such as at P1 we have,
Y1=y0+hf(x0,y0)
Than the slope of the curve of the solution through P1 is computed at the tangent at P1
to P1Q1 is drawn meeting the ordinate through L2 in P2(x0+2h,y2)……1
Now we find better approximation y1’ of y(x0+h) by taking the slope of the curve as the
mean of the slope of the tangent at P and P1 i.e.
Y1’=y0+
ℎ
2
{f(x0+y0)+f(X0+h,Y1)}…..2
As the slope of the tangent at P1 is not known, We take Y1 is found in equation (1)
Modified Euler’s Method
Euler method
yn+1 =yn+hf(xn,yn)
Where xn=x0+nh
Euler’s Modified Method is
yn+1=yn+
ℎ
2
{f(xn , yn)+f(xn+1 ,yn+1)}
Working of Modified Euler’s Method
1. First we find the first approximation using Euler’s Method.
2. The approximated value of y1 is than modified using Euler modified method.
3. The approximated value of y1 from Euler modified method is again approximated
until the equal value of y1 is found.
4. The value of y1 is taken for the approximation of y2 using Euler method.
5. And the process continues.
Example
Question : Apply Euler’s Modified Method to solve y’=x+y .Given y(0)=1.Find y at x=0.2
using step length 0.1 .
Solution : Given,
y’=x+y , y(0)=1 ,h=0.1
Than using Euler’s Method,
yn+1=yn+hf(xn,yn) …………..(1)
Putting n=0,
y1=y0+hf(x0,y0) ; y1=1+0.1(1)=1.1
Than using Euler’s Modified Method,
yn+1=yn+
ℎ
2
{f(xn , yn)+f(xn+1 ,yn+1)}……(2)
Example
y1=y0+
ℎ
2
{f(x0 , y0)+f(x1 ,y1)}
y1 =1+
0.1
2
(1+1.2)=1.11
Repeating process will give
y1 =1.1105
Than using Euler’s Method, Putting n=1;
y2=y1+hf(x1,y1)
y2=1.1105+0.1(0.1+1.1105)=1.23155
Than using Euler’s Modified Method,Putting n=1;
y2=y1+
ℎ
2
{f(x1 , y1)+f(x2 ,y2)}
Example
y2=1.1105+
0.1
2
(1.2105+1.43155)=1.2426
Repeating process will give
y2=1.2432
At y(0.2)=1.2432 Answer.
Fitting of Nonlinear Curve
1. y=a𝒙 𝒃
Taking logarithms,𝑙𝑜𝑔10 𝑦 = 𝑙𝑜𝑔10 𝑎 + 𝑏𝑙𝑜𝑔10 𝑥
Y=A+bX ……(1) Where A= 𝑙𝑜𝑔10 𝑎, X=𝑙𝑜𝑔10 𝑥,Y= 𝑙𝑜𝑔10 𝑦
Normal equation for (1) are,
𝑌=nA+b 𝑋
𝑋𝑌=A 𝑋+b 𝑋2
From A & b can be determine .Than a can be calculated from A= 𝑙𝑜𝑔10 𝑎.
Fitting of Nonlinear Curve
2. y=a𝒆 𝒃𝒙
Taking logarithms,𝑙𝑜𝑔10 𝑦 = 𝑙𝑜𝑔10 𝑎 + 𝑏𝑥𝑙𝑜𝑔10 𝒆
Y=A+bX ……(1) Where A= 𝑙𝑜𝑔10 𝑎 , B=𝑏 𝑙𝑜𝑔10e ,Y= 𝑙𝑜𝑔10 𝑦
Normal equation for (1) are,
𝑌=nA+B 𝑥
𝑥𝑌=A 𝑥+B 𝑥2
From A & B can be determine .Than “a” and “b” can be calculated from A= 𝑙𝑜𝑔10 𝑎
, B=𝑏 𝑙𝑜𝑔10e .
Fitting of Nonlinear Curve
3. xya=b
Taking logarithms,𝑙𝑜𝑔10 𝑥 + 𝑎𝑙𝑜𝑔10 𝑦 = 𝑙𝑜𝑔10 𝑏
𝑙𝑜𝑔10 𝑦=
1
𝑎
𝑙𝑜𝑔10 𝑏 -
1
𝑎
𝑙𝑜𝑔10 𝑥
Y=A+BX ……(1) Where X= 𝑙𝑜𝑔10 𝑥 , B=-
1
𝑎
, A =
1
𝑎
𝑙𝑜𝑔10 𝑏 ,Y= 𝑙𝑜𝑔10 𝑦
Normal equation for (1) are,
𝑌=nA+B 𝑋
𝑋𝑌=A 𝑋+B 𝑋2
From A & B can be determine .Than “a” and “b” can be calculated from A =
1
𝑎
𝑙𝑜𝑔10 𝑏
, B=-
1
𝑎
.
Fitting of Nonlinear Curve-Working
1.Given relation eg-xya=b is first arranged in the form of linear law using logarithm.
2.Observed set of “n” values is substituted in equation.
3.Normal equation for each constant is formed.(i.e. 𝑋=nA+B 𝑋 , 𝑋𝑌=A 𝑋+b 𝑋2)
4.Solve these normal equations as simultaneous equation for obtain the values of A,B.
5.Substitute these values of A,B, in relation with a,b. Which will give the values of
“a”, “b”.
6.Substituting the values of “a” and “b” in given equation will give curve of best fit.
Example
Question : An experiment gave the following value:
It is known that v and t are connected by a relation v=atb .Find the best possible
values of a and b.
Solution : We have v=atb .
Taking log10 both side will give,
log10v=log10a+blog10t …..(1)
Equation 1 can be written as;
Y=A+bX ……..(2)
Where X=log10t ,Y=log10v, A=log10a
v(ft/min) 350 400 500 600
t(min) 61 26 7 2.6
Example
Than the Normal equations are ,
𝑌=nA+b 𝑋 …… (3)
𝑋𝑌=A 𝑋+b 𝑋2 ……..(4)
Now 𝑋, 𝑌, 𝑋𝑌, 𝑋2 are calculated in the following table;
v t X=log10t Y=log10v XY X2
350 61 1.7853 2.5441 4.542 3.187
400 26 1.415 2.6021 3.682 2.002
500 7 0.8451 2.6990 2.281 0.714
600 2.6 0.4150 2.7782 1.153 0.172
4.4604 10.6234 11.658 6.075
Example
Therefor equation 3 and 4 become
4A+4.46b=10.623
4.46A+6.075b=11.075
Solving these ,A=2.845,b=-0.1697 and a=Antilog(2.845)=699.8
Refrences
• Higher Engineering Mathematics by B.S. Grewal (40th edition)-Khanna Publishers.
• Numerical Methods in Engineering and Science by Dr. B.S. Grewal, Khanna Publishers.
• The Minitab Blog (http://blog.minitab.com/)
presentation on Euler and Modified Euler method ,and Fitting of curve

More Related Content

What's hot

Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula Deep Dalsania
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Viraj Patel
 
1st order differential equations
1st order differential equations1st order differential equations
1st order differential equationsNisarg Amin
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rulehitarth shah
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal intervalDr. Nirav Vyas
 
Vector calculus
Vector calculusVector calculus
Vector calculusraghu ram
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference InterpolationVARUN KUMAR
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.Abu Kaisar
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equationsDiler4
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite differenceManthan Chavda
 

What's hot (20)

newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
 
Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
 
1st order differential equations
1st order differential equations1st order differential equations
1st order differential equations
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rule
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
 
Power method
Power methodPower method
Power method
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Runge kutta
Runge kuttaRunge kutta
Runge kutta
 
Runge Kutta Method
Runge Kutta MethodRunge Kutta Method
Runge Kutta Method
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 
Interpolation
InterpolationInterpolation
Interpolation
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Z transform
Z transformZ transform
Z transform
 

Similar to presentation on Euler and Modified Euler method ,and Fitting of curve

Introduction to Differential Equations
Introduction to Differential EquationsIntroduction to Differential Equations
Introduction to Differential EquationsVishvaraj Chauhan
 
Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2Dr. Nirav Vyas
 
Lecture3 ode (1) lamia
Lecture3 ode (1) lamiaLecture3 ode (1) lamia
Lecture3 ode (1) lamiamalkinh
 
Lecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdfLecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdfSantiagoGarridoBulln
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its applicationKrishna Peshivadiya
 
Rbsc class-9-maths-chapter-4
Rbsc class-9-maths-chapter-4 Rbsc class-9-maths-chapter-4
Rbsc class-9-maths-chapter-4 Arvind Saini
 
Computational techniques
Computational techniquesComputational techniques
Computational techniquesRafi Dar
 
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert SpacesApproximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert SpacesLisa Garcia
 
Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3Dr. Nirav Vyas
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesEnrique Valderrama
 
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docxMA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docxsmile790243
 

Similar to presentation on Euler and Modified Euler method ,and Fitting of curve (20)

Introduction to Differential Equations
Introduction to Differential EquationsIntroduction to Differential Equations
Introduction to Differential Equations
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2
 
Lecture3 ode (1) lamia
Lecture3 ode (1) lamiaLecture3 ode (1) lamia
Lecture3 ode (1) lamia
 
Lecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdfLecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdf
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
 
BOOLEAN ALGEBRA.ppt
BOOLEAN ALGEBRA.pptBOOLEAN ALGEBRA.ppt
BOOLEAN ALGEBRA.ppt
 
Rbsc class-9-maths-chapter-4
Rbsc class-9-maths-chapter-4 Rbsc class-9-maths-chapter-4
Rbsc class-9-maths-chapter-4
 
Computational techniques
Computational techniquesComputational techniques
Computational techniques
 
Daa chapter7
Daa chapter7Daa chapter7
Daa chapter7
 
Calc 6.1b
Calc 6.1bCalc 6.1b
Calc 6.1b
 
project
projectproject
project
 
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert SpacesApproximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
Approximation Methods Of Solutions For Equilibrium Problem In Hilbert Spaces
 
Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examples
 
Imc2016 day1-solutions
Imc2016 day1-solutionsImc2016 day1-solutions
Imc2016 day1-solutions
 
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docxMA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
 
Imc2017 day2-solutions
Imc2017 day2-solutionsImc2017 day2-solutions
Imc2017 day2-solutions
 
Cs jog
Cs jogCs jog
Cs jog
 
Maths digital text
Maths digital textMaths digital text
Maths digital text
 

More from Mukuldev Khunte

Basics of Composite Material (QnA)
Basics of Composite Material (QnA) Basics of Composite Material (QnA)
Basics of Composite Material (QnA) Mukuldev Khunte
 
Indian Rail Steel- Pearlitic and Bainitic Rails and comparision
Indian Rail Steel- Pearlitic and Bainitic Rails and comparisionIndian Rail Steel- Pearlitic and Bainitic Rails and comparision
Indian Rail Steel- Pearlitic and Bainitic Rails and comparisionMukuldev Khunte
 
BASIC MECHANICAL WORKING PROCESSES /METAL FORMING
BASIC MECHANICAL WORKING PROCESSES /METAL FORMINGBASIC MECHANICAL WORKING PROCESSES /METAL FORMING
BASIC MECHANICAL WORKING PROCESSES /METAL FORMINGMukuldev Khunte
 
Art history presentation
Art history presentation Art history presentation
Art history presentation Mukuldev Khunte
 
Ppt on destructive testing and non destructive testing.
Ppt on destructive testing and non destructive testing.Ppt on destructive testing and non destructive testing.
Ppt on destructive testing and non destructive testing.Mukuldev Khunte
 

More from Mukuldev Khunte (7)

Basics of Composite Material (QnA)
Basics of Composite Material (QnA) Basics of Composite Material (QnA)
Basics of Composite Material (QnA)
 
Indian Rail Steel- Pearlitic and Bainitic Rails and comparision
Indian Rail Steel- Pearlitic and Bainitic Rails and comparisionIndian Rail Steel- Pearlitic and Bainitic Rails and comparision
Indian Rail Steel- Pearlitic and Bainitic Rails and comparision
 
BASIC MECHANICAL WORKING PROCESSES /METAL FORMING
BASIC MECHANICAL WORKING PROCESSES /METAL FORMINGBASIC MECHANICAL WORKING PROCESSES /METAL FORMING
BASIC MECHANICAL WORKING PROCESSES /METAL FORMING
 
Steel melting shop
Steel melting shop Steel melting shop
Steel melting shop
 
Art history presentation
Art history presentation Art history presentation
Art history presentation
 
Energy resources
Energy resourcesEnergy resources
Energy resources
 
Ppt on destructive testing and non destructive testing.
Ppt on destructive testing and non destructive testing.Ppt on destructive testing and non destructive testing.
Ppt on destructive testing and non destructive testing.
 

Recently uploaded

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 

presentation on Euler and Modified Euler method ,and Fitting of curve

  • 1. NMC Presentation BY:- Mukul Dev Khunte Guided by:- Dr. G.K.Singh Head Dept. of Mathematics
  • 2. History-Sir Leonhard Euler • Name: Sir Leonhard Euler • Born : 15 April 1707, Switzerland • Died : 18 September 1783, Saint Petersburg Russia • Education: University of Basel (1720–1723) • Contributions to mathematics and physics: Euler worked in almost all areas of mathematics, such as geometry, infinitesimal calculus, trigonometry, algebra, and number theory, as well as continuum physics, lunar theory and other areas of physics
  • 3. Euler’s Method Consider the equation 𝑑𝑦 𝑑𝑥 =f(x,y) …….(1) Given that Y(x0)=y0 its curve of solution through P(x0,y0) is shown dotted in figure. Now we have to find ordinate of any other point at Q on this curve. Dividing the curve into ‘n’ equal sub-interval each of width ‘h’. So we approximate the tangent for LL1 So Y1=L1P1=LP+R1P1 =y0+PR1 tan𝜃 =y0+hf(x0,y0)
  • 4. Euler’s Method Repeating this process n times yn+1=yn+hf(xn,yn) ……….(2) Where xn=x0+nh Equation 2 is called as Euler’s Method for finding an approximate solution.
  • 5. Working of Euler’s Method 1.Given function is taken for the first approximation. Using initial boundary condition and value of ‘h’. **If the value of ‘h’ is not given than the initial and final value(required value) is divided into ‘n’ sub-intervals for finding value of ‘h’. 2.After getting the first approximation the second approximation is taken for the function of x0+h And y1 . Than the Euler’s Method become y2=y1+hf(x0 +h,y1) where y1 is the value obtain from first approximation . 3.Similerly approximations are taken out until x0 +h=xn (Required value of y at any point xn )
  • 6. Example Question : Apply Euler’s Method to solve y’=x+y .Given y(0)=0.Find y at x=0.8 using step length 0.2 . Solution : Given, y’=x+y , y(0)=0 ,h=0.2 Than using Euler’s Method yn+1=yn+hf(xn,yn) …………..(1) Putting n=0, for finding first approximation than we have, y1=y0+hf(x0,y0) y1=0+0.2×0 =0 Putting n=1, for finding second approximation than we have, y2=y1+hf(x1,y1)
  • 7. Example y2=0+0.2× 0.2 =0.4 Putting n=2, for finding third approximation than we have, y3=y2+hf(x2,y2) y3=0.04+0.2× .44=0.128 Putting n=3, for finding forth approximation than we have, y4=y3+hf(x3,y3) y4=0.128+0.2×0.728=0.2736 At y(0.8)=0.2736 Answer.
  • 8. Modified Euler’s Method In the Euler’s Modified method , The curve of the solution in the interval LL1 is approximates by the tangent at P such as at P1 we have, Y1=y0+hf(x0,y0) Than the slope of the curve of the solution through P1 is computed at the tangent at P1 to P1Q1 is drawn meeting the ordinate through L2 in P2(x0+2h,y2)……1 Now we find better approximation y1’ of y(x0+h) by taking the slope of the curve as the mean of the slope of the tangent at P and P1 i.e. Y1’=y0+ ℎ 2 {f(x0+y0)+f(X0+h,Y1)}…..2 As the slope of the tangent at P1 is not known, We take Y1 is found in equation (1)
  • 9. Modified Euler’s Method Euler method yn+1 =yn+hf(xn,yn) Where xn=x0+nh Euler’s Modified Method is yn+1=yn+ ℎ 2 {f(xn , yn)+f(xn+1 ,yn+1)}
  • 10. Working of Modified Euler’s Method 1. First we find the first approximation using Euler’s Method. 2. The approximated value of y1 is than modified using Euler modified method. 3. The approximated value of y1 from Euler modified method is again approximated until the equal value of y1 is found. 4. The value of y1 is taken for the approximation of y2 using Euler method. 5. And the process continues.
  • 11. Example Question : Apply Euler’s Modified Method to solve y’=x+y .Given y(0)=1.Find y at x=0.2 using step length 0.1 . Solution : Given, y’=x+y , y(0)=1 ,h=0.1 Than using Euler’s Method, yn+1=yn+hf(xn,yn) …………..(1) Putting n=0, y1=y0+hf(x0,y0) ; y1=1+0.1(1)=1.1 Than using Euler’s Modified Method, yn+1=yn+ ℎ 2 {f(xn , yn)+f(xn+1 ,yn+1)}……(2)
  • 12. Example y1=y0+ ℎ 2 {f(x0 , y0)+f(x1 ,y1)} y1 =1+ 0.1 2 (1+1.2)=1.11 Repeating process will give y1 =1.1105 Than using Euler’s Method, Putting n=1; y2=y1+hf(x1,y1) y2=1.1105+0.1(0.1+1.1105)=1.23155 Than using Euler’s Modified Method,Putting n=1; y2=y1+ ℎ 2 {f(x1 , y1)+f(x2 ,y2)}
  • 14. Fitting of Nonlinear Curve 1. y=a𝒙 𝒃 Taking logarithms,𝑙𝑜𝑔10 𝑦 = 𝑙𝑜𝑔10 𝑎 + 𝑏𝑙𝑜𝑔10 𝑥 Y=A+bX ……(1) Where A= 𝑙𝑜𝑔10 𝑎, X=𝑙𝑜𝑔10 𝑥,Y= 𝑙𝑜𝑔10 𝑦 Normal equation for (1) are, 𝑌=nA+b 𝑋 𝑋𝑌=A 𝑋+b 𝑋2 From A & b can be determine .Than a can be calculated from A= 𝑙𝑜𝑔10 𝑎.
  • 15. Fitting of Nonlinear Curve 2. y=a𝒆 𝒃𝒙 Taking logarithms,𝑙𝑜𝑔10 𝑦 = 𝑙𝑜𝑔10 𝑎 + 𝑏𝑥𝑙𝑜𝑔10 𝒆 Y=A+bX ……(1) Where A= 𝑙𝑜𝑔10 𝑎 , B=𝑏 𝑙𝑜𝑔10e ,Y= 𝑙𝑜𝑔10 𝑦 Normal equation for (1) are, 𝑌=nA+B 𝑥 𝑥𝑌=A 𝑥+B 𝑥2 From A & B can be determine .Than “a” and “b” can be calculated from A= 𝑙𝑜𝑔10 𝑎 , B=𝑏 𝑙𝑜𝑔10e .
  • 16. Fitting of Nonlinear Curve 3. xya=b Taking logarithms,𝑙𝑜𝑔10 𝑥 + 𝑎𝑙𝑜𝑔10 𝑦 = 𝑙𝑜𝑔10 𝑏 𝑙𝑜𝑔10 𝑦= 1 𝑎 𝑙𝑜𝑔10 𝑏 - 1 𝑎 𝑙𝑜𝑔10 𝑥 Y=A+BX ……(1) Where X= 𝑙𝑜𝑔10 𝑥 , B=- 1 𝑎 , A = 1 𝑎 𝑙𝑜𝑔10 𝑏 ,Y= 𝑙𝑜𝑔10 𝑦 Normal equation for (1) are, 𝑌=nA+B 𝑋 𝑋𝑌=A 𝑋+B 𝑋2 From A & B can be determine .Than “a” and “b” can be calculated from A = 1 𝑎 𝑙𝑜𝑔10 𝑏 , B=- 1 𝑎 .
  • 17. Fitting of Nonlinear Curve-Working 1.Given relation eg-xya=b is first arranged in the form of linear law using logarithm. 2.Observed set of “n” values is substituted in equation. 3.Normal equation for each constant is formed.(i.e. 𝑋=nA+B 𝑋 , 𝑋𝑌=A 𝑋+b 𝑋2) 4.Solve these normal equations as simultaneous equation for obtain the values of A,B. 5.Substitute these values of A,B, in relation with a,b. Which will give the values of “a”, “b”. 6.Substituting the values of “a” and “b” in given equation will give curve of best fit.
  • 18. Example Question : An experiment gave the following value: It is known that v and t are connected by a relation v=atb .Find the best possible values of a and b. Solution : We have v=atb . Taking log10 both side will give, log10v=log10a+blog10t …..(1) Equation 1 can be written as; Y=A+bX ……..(2) Where X=log10t ,Y=log10v, A=log10a v(ft/min) 350 400 500 600 t(min) 61 26 7 2.6
  • 19. Example Than the Normal equations are , 𝑌=nA+b 𝑋 …… (3) 𝑋𝑌=A 𝑋+b 𝑋2 ……..(4) Now 𝑋, 𝑌, 𝑋𝑌, 𝑋2 are calculated in the following table; v t X=log10t Y=log10v XY X2 350 61 1.7853 2.5441 4.542 3.187 400 26 1.415 2.6021 3.682 2.002 500 7 0.8451 2.6990 2.281 0.714 600 2.6 0.4150 2.7782 1.153 0.172 4.4604 10.6234 11.658 6.075
  • 20. Example Therefor equation 3 and 4 become 4A+4.46b=10.623 4.46A+6.075b=11.075 Solving these ,A=2.845,b=-0.1697 and a=Antilog(2.845)=699.8
  • 21. Refrences • Higher Engineering Mathematics by B.S. Grewal (40th edition)-Khanna Publishers. • Numerical Methods in Engineering and Science by Dr. B.S. Grewal, Khanna Publishers. • The Minitab Blog (http://blog.minitab.com/)