I have evaluated a complex function Cos[Sqrt[s]] (s is complex variable) in Mathematica version 10. The results are presented in the attached file. However, Mathematica can not evaluate the function along the negative direction of the x-axis. Such a problem was not in Matlab. How can I resolve such problem in Mathematica?
The NumericQ function solves the problem and yields the exact value of the complex function Cos[Sqrt[s]] along the negative direction of the x-axis, as shown in the attached file.
Please include code directly (use the code button at top-left end of the toolbar here, or indent 4 spaces) rather than images of code. Users here may then copy and paste the code into a notebook. But with just images, we would have to read (sometimes fuzzy) pictures and then re-type everything.