SlideShare a Scribd company logo
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

Mth 4108-1 c
Mth 4108-1 cMth 4108-1 c
Mth 4108-1 c
outdoorjohn
 
Ecuaciones lineales 1
Ecuaciones lineales 1Ecuaciones lineales 1
Ecuaciones lineales 1
AngieDamianMojica
 
4.1 quadratic functions
4.1 quadratic functions4.1 quadratic functions
4.1 quadratic functions
morrobea
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygons
aa11bb11
 
Cramer’s rule of matrix
Cramer’s rule of matrixCramer’s rule of matrix
Cramer’s rule of matrix
Abi Malik
 
CRAMER’S RULE
CRAMER’S RULECRAMER’S RULE
CRAMER’S RULE
Kishan Kasundra
 
April 1, 2014
April 1, 2014April 1, 2014
April 1, 2014
khyps13
 
Bahan ajar Program Linear
Bahan ajar Program LinearBahan ajar Program Linear
Bahan ajar Program Linear
AlnadiraPutri
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algo
simpleok
 
Bresenhams
BresenhamsBresenhams
Bresenhams
Dharmendra Gupta
 
1627 simultaneous equations and intersections
1627 simultaneous equations and intersections1627 simultaneous equations and intersections
1627 simultaneous equations and intersections
Dr Fereidoun Dejahang
 
Identidades trigonometricas
Identidades trigonometricasIdentidades trigonometricas
Identidades trigonometricas
Numael Sanchez
 
Unit 4 Review
Unit 4 ReviewUnit 4 Review
Unit 4 Review
rfrettig
 
Jan. 13 polynonial sketching
Jan. 13 polynonial sketchingJan. 13 polynonial sketching
Jan. 13 polynonial sketching
RyanWatt
 
Cramer's Rule
Cramer's RuleCramer's Rule
Cramer's Rule
Abdul SAttar
 
April 10, 2015
April 10, 2015April 10, 2015
April 10, 2015
khyps13
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solved
Kuntal Bhowmick
 
Final exam mariluz 1
Final exam mariluz 1Final exam mariluz 1
Final exam mariluz 1
Maestra Luz Torres
 
Ch02 2
Ch02 2Ch02 2
Ch02 2
Rendy Robert
 

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 Cambridge
alproelearning
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
arunsmm
 
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
joellemurphey
 
Em01 ba
Em01 baEm01 ba
Em01 ba
nahomyitbarek
 
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
estelav
 
1010n3a
1010n3a1010n3a
1010n3a
Faiza Saher
 
Mcq exemplar class 12
Mcq exemplar class 12Mcq exemplar class 12
Mcq exemplar class 12
KarunaGupta1982
 
Mcq exemplar class 12
Mcq exemplar class 12Mcq exemplar class 12
Mcq exemplar class 12
KarunaGupta1982
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptx
Mazwan3
 
Midterm Study Guide
Midterm Study GuideMidterm Study Guide
Midterm Study Guide
vhiggins1
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
Arjuna Senanayake
 
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
 
Graph functions
Graph functionsGraph functions
Graph functions
Shakila Safri
 
Bonus math project
Bonus math projectBonus math project
Bonus math project
Kenton Hemsing
 
Math powerpoint
Math powerpointMath powerpoint
Math powerpoint
Acoy1
 
Math powerpoint
Math powerpointMath powerpoint
Math powerpoint
Acoy1
 
add math form 4/5
add math form 4/5add math form 4/5
add math form 4/5
Sofia Mahmood
 
Algeopordy
AlgeopordyAlgeopordy
Algeopordy
Jessica
 
Add maths complete f4 & f5 Notes
Add maths complete f4 & f5 NotesAdd maths complete f4 & f5 Notes
Add maths complete f4 & f5 Notes
Bright Minds
 
Graphing quadratics
Graphing quadraticsGraphing quadratics
Graphing quadratics
lothomas
 

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

TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 

Recently uploaded (20)

TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 

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.