xex=cosxf(x)=xex−cosxf(0.5)=0.5e0.5−cos0.5=−0.0532<0f(0.6)=0.6e0.6−cos0.6=0.2679>0By Regula-Falsi methodx1=f(0.6)−f(0.5)0.5f(0.6)−0.6f(0.5)=0.5165719036f(0.5165719036)<0f(0.6)>0Repeating the processx2=f(0.5165719036)−f(0.6)0.6f(0.5165719036)−0.5165719036f(0.6)=0.51767881731∴x=0.5177(to 4.d.p)
Comments
Leave a comment