"\\displaystyle\n\n\nxe^x = \\cos{x}\\\\\n\nf(x) = xe^x - \\cos{x}\\\\\n\n\nf(0.5) = 0.5e^{0.5} - \\cos{0.5} = -0.0532 < 0\\\\\n\n\nf(0.6) = 0.6e^{0.6} - \\cos{0.6} = 0.2679 > 0\\\\\n\n\n\n\\textsf{By Regula-Falsi method}\\\\\n\n\n\nx_1 = \\frac{0.5 f(0.6) - 0.6f(0.5)}{f(0.6) - f(0.5)} = 0.5165719036 \\\\\n\n\nf(0.5165719036) < 0\\\\\n\nf(0.6) > 0\\\\\n\n\n\n\\textsf{Repeating the process}\\\\\n\nx_2 = \\frac{0.6f(0.5165719036 ) - 0.5165719036 f(0.6)}{f(0.5165719036) - f(0.6)} = 0.51767881731\\\\\n\n\n\n\\therefore x = 0.5177 \\, \n\\, \\textsf{(to 4.d.p)}"
Comments
Leave a comment