DOC: Add an example to integrate.newton_cotes (#9422)
DOC: Add an example to integrate.newton_cotes (#9422)

* DOC: MAINT: Add newton_cotes docstring example


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