Hot answers tagged

4 votes

How can I improve the accuracy of FindRoot for a complex equation?

For this particular case, you can use exact numbers instead of inexact by applying Rationalize to all your parameters. Then, use ...
Domen's user avatar
  • 22.3k
4 votes

Unable to simplify complex expression

If you are very new to Mathematica, I suggest you take the Fast Introduction from the official Wolfram Website As, far as your problem is concerned, @Nasser has already provided the solution in the ...
codebpr's user avatar
  • 1,971
3 votes

Sqrt returns complex values

it is better to pass exact numbers to eliminate the chance of round off errors and at the very end apply N to the result. This way any accumulated round off are ...
Nasser's user avatar
  • 142k
2 votes

Find the Intersection Point of Two Complex Functions Using Complex3DPlot

We define two functions f1 and f2 which according to p1 and ...
GMT's user avatar
  • 161
1 vote

Eliminate imaginary numbers from a list

data = {{74.2, 0.28}, {74.1, 0.29}, {95.3, -0.2 + 2.54*10^-6 I}, {95.4, -0.3 + 4.57*10^-6 I}}; Showing some of the newer functions Using ...
eldo's user avatar
  • 61.9k
1 vote

Plot Two Circles and Color Their Difference

Another version of @ubpdqn, using WindingPolygon with "EvenOddRule" ...
cvgmt's user avatar
  • 69.7k
1 vote

Sqrt returns complex values

The OP's code for CosEta suffers from subtractive/catastrophic cancellation when y is a small floating point number. This may be ...
Goofy's user avatar
  • 2,642

Only top scored, non community-wiki answers of a minimum length are eligible