On 2012-01-30 10:08:50 +0000, firstname.lastname@example.org said:
> Hi - I am trying to plot the real roots of a cubic equation as > functions of one parameter called rc, using the code below, on Mathematica 5.2. > The plotted curves, however, show some dead spots that should not be there. > How can I get them to fill up? I tried getting rid of the imaginary > part when its absolute value is less that a given tolerance, but that > trick does not > work. > > Thanks for any suggestions.
I'm no expert on any of this, but I had to change a couple of occurrences of "[Mu]" to the Greed letter mu before anything would work. After that I only got plots for the lamda1 curve, not the lambda2 and lambda3 curves.
If I could if I could figure out what the original complex polynomial was, I'd plot it using the height-for-modulus, color-for-complex-argument plot at bottom, to see why lambda1 and lambda2 weren't plotting. Or maybe I made a typo when I tried to simplify things a little.
Is this based on Cardano's formula for the roots of a cubic?