You are on page 1of 4
INSTIUTE OF ENGINEERING Sagarmatha Engineering College SANEPA, LALITPUR (AFFILIATED TO TU) Ss rmatha ENGINEERING COLLEGE TRIDITUVAN UNIVERSITY AFTELIATE: LAB REPORT ON Bisection Method PRE DATE 6th November 2020 POST DATE EXP NO. SUBMITTED BY SUBMITTED TO Name: Ashim Rai Department of Computer RoLL: SSECO75BCTO003 and Electronic GROUP: YEAR: 2-2 Scanned with CamScanner ene |e te. BISECTION _meTHOD © To tse the algorithm of the bisection method for volving a non-lneav equation. © To este a program or bieckon method . ®D To explain the advantapes aord dlicachantager of the bisechon rnethoe . IPMENTS REQUERED © Pc ®D Cadeblock pplication = THEORY lhe bisechon method is the stmplest of the root finder, methods. Et yveltee on the tntermeckate value. This method minimere the vange of soluhon by divdiga it by integer 2, Following ave the steps to find the approximate voluhon of sven eguakion urdy Bisechon method : lef ur dwrume that we have te find out the rooty af fa where soluhbn les in the varge €0,)), ekich ue have fo deterymme . the only condhbn for bixechion methed te that Fl) and Fb) shoul! have opporte signs [cet mar negatee ond $B posbeeD When $8) and ley are of opposibe siyne at leart one veal reo petweon ‘a’ and “py shoulo/ exict for the fit approxdmahion we avwrume thal rool t& be yo alk on, we have fb find the sign of fCr,). Lf Fr.) abe, the root Wer between @ ano x rhe ge the voot lia between x» and a cs FC.) fh is 1% rs pert Scanned with CamScanner \ or Kero ' 1 i ear root Wee uilun thir inkrvel figures bizection method Scanned with CamScanner Vo , we have new minimized raye, in which Ge Set ouy yoot eu, The ner t approximation «* given by X 2 (at xo (etx) Ge: ee. i$ Flxre) iv negative . oen(ks 12) te. if fl%e) & posite In thes babe midpoint of the rope of approxamale| Yooky | finally both valuey af varpo coverepe bo a single, value whreh can tate ay an approxirmale Yook. | fllsorith for_bivechon ynethod. D) Input funchon and Lirnvty 2 Repeat step 2 and F 100 Brne : L 2). oth +) le FG) 20 3 a-~ else bea 5) Dicploy x 6) Reed steps 2 and F 10 timer 2) Errey > x- Cark)/2 Pf) Shyve evroy value in aray 9) Plot error 16) STOP Scanned with CamScanner

You might also like