Add example for Rosenbrock function (#9326)
Add example for Rosenbrock function (#9326)

* DOC: Add example to Rosenbrock function


Stefan-Endres/scipy,person142/scipy,nmayorov/scipy,scipy/scipy,jamestwebber/scipy,Stefan-Endres/scipy,zerothi/scipy,anntzer/scipy,tylerjereddy/scipy,scipy/scipy,gertingold/scipy,vigna/scipy,nmayorov/scipy,matthew-brett/scipy,perimosocordiae/scipy,mdhaber/scipy,Eric89GXL/scipy,endolith/scipy,andyfaff/scipy,jamestwebber/scipy,lhilt/scipy,scipy/scipy,WarrenWeckesser/scipy,person142/scipy,arokem/scipy,jamestwebber/scipy,WarrenWeckesser/scipy,tylerjereddy/scipy,aeklant/scipy,e-q/scipy,aeklant/scipy,perimosocordiae/scipy,aeklant/scipy,ilayn/scipy,vigna/scipy,rgommers/scipy,endolith/scipy,aarchiba/scipy,perimosocordiae/scipy,Eric89GXL/scipy,scipy/scipy,matthew-brett/scipy,scipy/scipy,grlee77/scipy,e-q/scipy,tylerjereddy/scipy,e-q/scipy,zerothi/scipy,lhilt/scipy,zerothi/scipy,nmayorov/scipy,perimosocordiae/scipy,ilayn/scipy,gertingold/scipy,scipy/scipy,arokem/scipy,anntzer/scipy,andyfaff/scipy,pizzathief/scipy,zerothi/scipy,Stefan-Endres/scipy,andyfaff/scipy,tylerjereddy/scipy,lhilt/scipy,perimosocordiae/scipy,rgommers/scipy,jor-/scipy,endolith/scipy,anntzer/scipy,andyfaff/scipy,Eric89GXL/scipy,anntzer/scipy,rgommers/scipy,endolith/scipy,e-q/scipy,grlee77/scipy,Stefan-Endres/scipy,ilayn/scipy,andyfaff/scipy,jor-/scipy,lhilt/scipy,gertingold/scipy,nmayorov/scipy,jor-/scipy,vigna/scipy,jamestwebber/scipy,person142/scipy,grlee77/scipy,jor-/scipy,gertingold/scipy,anntzer/scipy,gertingold/scipy,ilayn/scipy,person142/scipy,aarchiba/scipy,aeklant/scipy,pizzathief/scipy,WarrenWeckesser/scipy,Eric89GXL/scipy,rgommers/scipy,Eric89GXL/scipy,nmayorov/scipy,vigna/scipy,rgommers/scipy,mdhaber/scipy,Stefan-Endres/scipy,ilayn/scipy,aarchiba/scipy,lhilt/scipy,e-q/scipy,matthew-brett/scipy,aarchiba/scipy,matthew-brett/scipy,jamestwebber/scipy,grlee77/scipy,matthew-brett/scipy,endolith/scipy,mdhaber/scipy,vigna/scipy,jor-/scipy,perimosocordiae/scipy,zerothi/scipy,endolith/scipy,grlee77/scipy,pizzathief/scipy,WarrenWeckesser/scipy,aarchiba/scipy,ilayn/scipy,WarrenWeckesser/scipy,arokem/scipy,pizzathief/scipy,mdhaber/scipy,anntzer/scipy,pizzathief/scipy,mdhaber/scipy,andyfaff/scipy,arokem/scipy,WarrenWeckesser/scipy,mdhaber/scipy,arokem/scipy,zerothi/scipy,Eric89GXL/scipy,tylerjereddy/scipy,Stefan-Endres/scipy,aeklant/scipy,person142/scipy