SlideShare a Scribd company logo
1 of 26
PRESENTED BY


 OSAMA TAHIR
   09-EE-88
  SECTION (A)
LEAST SQUARE

 The least squares technique is the simplest and
  most commonly applied form and provides a
  solution to the problem through a set of points.
The term least squares describes a frequently
used approach to solving overdeter-mined or
inexactly specied systems of equations in an
approximate sense. Instead of solving the
equations exactly, we seek only to minimize the
sum of the squares of the residuals
LEAST SQUARE

 least square method is widely used to find
  or estimate the numerical values of the
  parameters to fit a function to a set of data
  and to characterize the statistical
  properties of estimates.
GRAPH
 A cubic fitting is defined as the smoothest
  curve that exactly fits a set of data points.
 Generalizing from a straight line the ith
  fitting function for a cubic fitting can be
  written as:



                                   2            3
si x      ai     bi x       ci x        di x
2            3
     yx       a0     a1 x   a2 x          a3 x

 The residual of above equation is
     n
R2         [ y (a0    a1 x a 2 x 2       a3 x 3 )] 2   0
     i 1
 Now we take its partial derivatives
   The partial derivatives are
                    n
  2
R / a0      2           [y    (a 0    a1 x      .....      a 3 x 3 )]    0
                i 1
                n
  2
R / a1     2            [y   ( a0    a1 x     .....      a 3 x 3 )] x    0
               i 1
                n
R 2 / a2   2            [y   (a0     a1 x    .....      a 3 x 3 )] x 2   0
               i 1

                n
 2
R / a3     2            [y   (a0     a1 x    .....      a 3 x 3 )] x 3   0
               i 1
n                             n                 n
           a 0 n a1         xi      ......     a3        xi3                 y
                      i 1                            i                 i 1


     n                n                                  n                       n
                                2                                  3
a0         xi   a1          x   i     ......        a3         x   i                 xi y
     i 1              i 1                                i                   i 1
Cont...

 Now to write this least square equation
In matrix form
    y0          1 x0 x0 x0 2   3       a0
    y1          1 x1 x12 x13           a1
    y2          1 x2 x2 x2 2   3
                                       a2
    y3          1 x x2 x3              a
                      3   3    3         3
In Matrix notation the equation for a Polynomial is
given by
Y=XA
,

          Cont ...


    This can be solved by premultiplying by the transpose



                          xt y       x t xa

                                 t     1   t
                        a ( x x) x y
EXAMPLES
Example…
A bioengineer is studying the growth of a genetically
engineered bacteria culture and suspects that is it
approximately follows a cubic model. He collects six data
points listed below

Time in Days   1      2      3       4      5        6
Grams          2.1    3.5    4.2     3.1    4.4      6.8



 Let we solve it by cubic fitting method
     ax3 + bx2 + cx + d = y
Cont …

 This gives six equations with four
  unknowns
      a + b + c + d = 2.1
     8a + 4b + 2c + d = 3.5
    27a + 9b + 3c + d = 4.2
    64a + 16b + 4c + d = 3.1
   125a + 25b + 5c + d = 4.4
    216a + 36b + 6c + d = 6.8
Cont...

 The corresponding matrix equation is

                                         2 .1
                    a                    3 .5
                    b                    4 .2
                    c                    3 .1
                    d                    4 .4
                                         6 .8
Cont ...
                                          0 .2
 a
 b               t     1    t
                                           2 .0
              ( x x)       x y
 c                                        6 .1
 d                                         2 .3

     So that the best fitting cubic is

         y = 0.2x3 - 2.0x2 + 6.1x - 2.3
 cubic fittings are preferred over other
  methods because they provide the simplest
  representation that exhibits the desired
  appearance of smoothness

 Cubic fittings provide a great deal of
  flexibility in creating a continuous smooth
  curve both between and at tenor points.
 If we have damped curves or very humped
  curves then we can not obtain usefull results
  from Cubic Fitting Method..because they are
  used for smooth curves
Applications in
“The Real World”???

 The cubic fitting method (CFM) is probably
  the most popular technique in statistics.
 In mathematics it is used to solve different
  curved spaces.
 It is used in the manufacturing of plumbing
  materials.
 It is much important in mechanical and
  Electrical and Civil Engineering
REFERENCES...

 Wikipedia.com
 Advanced Engineering Mathematics
 Nocedal J. & Wright, S. (1999). Numerical
  optimization. New youk
 NUMARICAL ANALYSIS
THANKYOU

FOR YOUR ATTENTION

More Related Content

What's hot

4.1 quadratic functions
4.1 quadratic functions4.1 quadratic functions
4.1 quadratic functionsmorrobea
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygonsaa11bb11
 
Cramer’s rule of matrix
Cramer’s rule of matrixCramer’s rule of matrix
Cramer’s rule of matrixAbi Malik
 
April 1, 2014
April 1, 2014April 1, 2014
April 1, 2014khyps13
 
Bahan ajar Program Linear
Bahan ajar Program LinearBahan ajar Program Linear
Bahan ajar Program LinearAlnadiraPutri
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algosimpleok
 
1627 simultaneous equations and intersections
1627 simultaneous equations and intersections1627 simultaneous equations and intersections
1627 simultaneous equations and intersectionsDr Fereidoun Dejahang
 
Identidades trigonometricas
Identidades trigonometricasIdentidades trigonometricas
Identidades trigonometricasNumael Sanchez
 
Unit 4 Review
Unit 4 ReviewUnit 4 Review
Unit 4 Reviewrfrettig
 
Jan. 13 polynonial sketching
Jan. 13 polynonial sketchingJan. 13 polynonial sketching
Jan. 13 polynonial sketchingRyanWatt
 
April 10, 2015
April 10, 2015April 10, 2015
April 10, 2015khyps13
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solvedKuntal Bhowmick
 

What's hot (19)

Mth 4108-1 c
Mth 4108-1 cMth 4108-1 c
Mth 4108-1 c
 
Ecuaciones lineales 1
Ecuaciones lineales 1Ecuaciones lineales 1
Ecuaciones lineales 1
 
4.1 quadratic functions
4.1 quadratic functions4.1 quadratic functions
4.1 quadratic functions
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygons
 
Cramer’s rule of matrix
Cramer’s rule of matrixCramer’s rule of matrix
Cramer’s rule of matrix
 
CRAMER’S RULE
CRAMER’S RULECRAMER’S RULE
CRAMER’S RULE
 
April 1, 2014
April 1, 2014April 1, 2014
April 1, 2014
 
Bahan ajar Program Linear
Bahan ajar Program LinearBahan ajar Program Linear
Bahan ajar Program Linear
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algo
 
Bresenhams
BresenhamsBresenhams
Bresenhams
 
1627 simultaneous equations and intersections
1627 simultaneous equations and intersections1627 simultaneous equations and intersections
1627 simultaneous equations and intersections
 
Identidades trigonometricas
Identidades trigonometricasIdentidades trigonometricas
Identidades trigonometricas
 
Unit 4 Review
Unit 4 ReviewUnit 4 Review
Unit 4 Review
 
Jan. 13 polynonial sketching
Jan. 13 polynonial sketchingJan. 13 polynonial sketching
Jan. 13 polynonial sketching
 
Cramer's Rule
Cramer's RuleCramer's Rule
Cramer's Rule
 
April 10, 2015
April 10, 2015April 10, 2015
April 10, 2015
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solved
 
Final exam mariluz 1
Final exam mariluz 1Final exam mariluz 1
Final exam mariluz 1
 
Ch02 2
Ch02 2Ch02 2
Ch02 2
 

Similar to numarial analysis presentation

7.curves Further Mathematics Zimbabwe Zimsec Cambridge
7.curves   Further Mathematics Zimbabwe Zimsec Cambridge7.curves   Further Mathematics Zimbabwe Zimsec Cambridge
7.curves Further Mathematics Zimbabwe Zimsec Cambridgealproelearning
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidelarunsmm
 
Review for the Third Midterm of Math 150 B 11242014Probl.docx
Review for the Third Midterm of Math 150 B 11242014Probl.docxReview for the Third Midterm of Math 150 B 11242014Probl.docx
Review for the Third Midterm of Math 150 B 11242014Probl.docxjoellemurphey
 
Y11+gdc+maximize+your+use+of+the++ev+2
Y11+gdc+maximize+your+use+of+the++ev+2Y11+gdc+maximize+your+use+of+the++ev+2
Y11+gdc+maximize+your+use+of+the++ev+2estelav
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxMazwan3
 
Midterm Study Guide
Midterm Study GuideMidterm Study Guide
Midterm Study Guidevhiggins1
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)CrackDSE
 
Math powerpoint
Math powerpointMath powerpoint
Math powerpointAcoy1
 
Math powerpoint
Math powerpointMath powerpoint
Math powerpointAcoy1
 
Algeopordy
AlgeopordyAlgeopordy
AlgeopordyJessica
 
Add maths complete f4 & f5 Notes
Add maths complete f4 & f5 NotesAdd maths complete f4 & f5 Notes
Add maths complete f4 & f5 NotesBright Minds
 
Graphing quadratics
Graphing quadraticsGraphing quadratics
Graphing quadraticslothomas
 

Similar to numarial analysis presentation (20)

7.curves Further Mathematics Zimbabwe Zimsec Cambridge
7.curves   Further Mathematics Zimbabwe Zimsec Cambridge7.curves   Further Mathematics Zimbabwe Zimsec Cambridge
7.curves Further Mathematics Zimbabwe Zimsec Cambridge
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 
Review for the Third Midterm of Math 150 B 11242014Probl.docx
Review for the Third Midterm of Math 150 B 11242014Probl.docxReview for the Third Midterm of Math 150 B 11242014Probl.docx
Review for the Third Midterm of Math 150 B 11242014Probl.docx
 
Em01 ba
Em01 baEm01 ba
Em01 ba
 
Y11+gdc+maximize+your+use+of+the++ev+2
Y11+gdc+maximize+your+use+of+the++ev+2Y11+gdc+maximize+your+use+of+the++ev+2
Y11+gdc+maximize+your+use+of+the++ev+2
 
1010n3a
1010n3a1010n3a
1010n3a
 
Mcq exemplar class 12
Mcq exemplar class 12Mcq exemplar class 12
Mcq exemplar class 12
 
Mcq exemplar class 12
Mcq exemplar class 12Mcq exemplar class 12
Mcq exemplar class 12
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptx
 
Midterm Study Guide
Midterm Study GuideMidterm Study Guide
Midterm Study Guide
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
 
Graph functions
Graph functionsGraph functions
Graph functions
 
Bonus math project
Bonus math projectBonus math project
Bonus math project
 
Math powerpoint
Math powerpointMath powerpoint
Math powerpoint
 
Math powerpoint
Math powerpointMath powerpoint
Math powerpoint
 
add math form 4/5
add math form 4/5add math form 4/5
add math form 4/5
 
Algeopordy
AlgeopordyAlgeopordy
Algeopordy
 
Add maths complete f4 & f5 Notes
Add maths complete f4 & f5 NotesAdd maths complete f4 & f5 Notes
Add maths complete f4 & f5 Notes
 
Graphing quadratics
Graphing quadraticsGraphing quadratics
Graphing quadratics
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

numarial analysis presentation

  • 1.
  • 2. PRESENTED BY OSAMA TAHIR 09-EE-88 SECTION (A)
  • 3.
  • 4. LEAST SQUARE  The least squares technique is the simplest and most commonly applied form and provides a solution to the problem through a set of points. The term least squares describes a frequently used approach to solving overdeter-mined or inexactly specied systems of equations in an approximate sense. Instead of solving the equations exactly, we seek only to minimize the sum of the squares of the residuals
  • 5. LEAST SQUARE  least square method is widely used to find or estimate the numerical values of the parameters to fit a function to a set of data and to characterize the statistical properties of estimates.
  • 7.  A cubic fitting is defined as the smoothest curve that exactly fits a set of data points.
  • 8.
  • 9.  Generalizing from a straight line the ith fitting function for a cubic fitting can be written as: 2 3 si x ai bi x ci x di x
  • 10. 2 3 yx a0 a1 x a2 x a3 x The residual of above equation is n R2 [ y (a0 a1 x a 2 x 2 a3 x 3 )] 2 0 i 1
  • 11.  Now we take its partial derivatives  The partial derivatives are n 2 R / a0 2 [y (a 0 a1 x ..... a 3 x 3 )] 0 i 1 n 2 R / a1 2 [y ( a0 a1 x ..... a 3 x 3 )] x 0 i 1 n R 2 / a2 2 [y (a0 a1 x ..... a 3 x 3 )] x 2 0 i 1 n 2 R / a3 2 [y (a0 a1 x ..... a 3 x 3 )] x 3 0 i 1
  • 12. n n n a 0 n a1 xi ...... a3 xi3 y i 1 i i 1 n n n n 2 3 a0 xi a1 x i ...... a3 x i xi y i 1 i 1 i i 1
  • 13. Cont...  Now to write this least square equation In matrix form y0 1 x0 x0 x0 2 3 a0 y1 1 x1 x12 x13 a1 y2 1 x2 x2 x2 2 3 a2 y3 1 x x2 x3 a 3 3 3 3 In Matrix notation the equation for a Polynomial is given by Y=XA
  • 14. , Cont ... This can be solved by premultiplying by the transpose xt y x t xa t 1 t a ( x x) x y
  • 16. Example… A bioengineer is studying the growth of a genetically engineered bacteria culture and suspects that is it approximately follows a cubic model. He collects six data points listed below Time in Days 1 2 3 4 5 6 Grams 2.1 3.5 4.2 3.1 4.4 6.8 Let we solve it by cubic fitting method ax3 + bx2 + cx + d = y
  • 17. Cont …  This gives six equations with four unknowns a + b + c + d = 2.1 8a + 4b + 2c + d = 3.5 27a + 9b + 3c + d = 4.2 64a + 16b + 4c + d = 3.1 125a + 25b + 5c + d = 4.4 216a + 36b + 6c + d = 6.8
  • 18. Cont...  The corresponding matrix equation is 2 .1 a 3 .5 b 4 .2 c 3 .1 d 4 .4 6 .8
  • 19. Cont ... 0 .2 a b t 1 t 2 .0 ( x x) x y c 6 .1 d 2 .3 So that the best fitting cubic is y = 0.2x3 - 2.0x2 + 6.1x - 2.3
  • 20.
  • 21.  cubic fittings are preferred over other methods because they provide the simplest representation that exhibits the desired appearance of smoothness  Cubic fittings provide a great deal of flexibility in creating a continuous smooth curve both between and at tenor points.
  • 22.  If we have damped curves or very humped curves then we can not obtain usefull results from Cubic Fitting Method..because they are used for smooth curves
  • 23. Applications in “The Real World”???  The cubic fitting method (CFM) is probably the most popular technique in statistics.  In mathematics it is used to solve different curved spaces.  It is used in the manufacturing of plumbing materials.  It is much important in mechanical and Electrical and Civil Engineering
  • 24. REFERENCES...  Wikipedia.com  Advanced Engineering Mathematics  Nocedal J. & Wright, S. (1999). Numerical optimization. New youk  NUMARICAL ANALYSIS
  • 25.