real and imaginary part of e^(sin(x+iy))

Question : Find the real and imaginary part of e^(sin(x+iy)) Solution: Let \[z = e^(sin(x+iy))\] We shall write it as \[z = e^{Sin\left(x+iy\right)}=e^{Sin\left(x\right)Cos\left(iy\right)+\cos{\left(x\right)}\sin{\left(iy\right)}}\] Since \[Cos\left(iy\right)=\cosh{\left(y\right)}\ ,\ \ \sin{\left(iy\right)}=isinh\left(y\right)\] we shall…

Bisection method example to solve 1/sqrt(x)+2(log(10^(-4))+2*10^(-4)/sqrt(x))

Introduction : Bisection method example to solve Question : Bisection method example to solve \[\frac{1}{\sqrt{x}}+2\cdot\log_{e}\left(10^{-4}+2\cdot\frac{10^{-4}}{\sqrt{x}}\right)\] Solution: \[\frac{1}{\sqrt{x}}+2\cdot\log_{e}\left(10^{-4}+2\cdot\frac{10^{-4}}{\sqrt{x}}\right)\] Bisection method fr=(fl+fu)/2 % error=|(f_r-f_exact)/f_exact |*100% iflF(fl)fuF(fu)frF(fr)% error00.02-5.9146503390.03-7.588210.025-6.86878259.195410.02-5.9146503390.025-6.868780.0225-6.42884223.2759