Matlab or Mathmatica expert to modify code -- 2

Job ID: 32403818

Budget: $40 – $80 USD

i want to modify or check the error in the attached codes for example1,example2 in telegraph PDF to get the values of optimal values p0,p1,p2 as the same in the attached PDF using least square method which selected in the PDF not any method and graph as the same in ex1,ex2