I am trying to solve these equations and want to plot the value of $a^{\dagger}a$ versus P0. I have tried this code but this gives me an error like "Conjunction::argr: Conjunction called with 1 argument; 2 arguments are expected. >>". If there is another method to solve this I don't know. If anybody can solve this will be appreciated.
delta = 4;
g0 = 1;
Pb = 2;
KL = 1;
kb = 0.2;
ome1 = 1;
gma = 0.02;
nth = 2;
Lf = Conjugate[a1]*b1;
Bf = a1*b1;
NL = Conjugate[a1]*a1;
sol = NSolve[{I*P0*(Conjugate[a1] - a1) +
I*Pb*(Lf - Conjugate[Lf] + Conjugate[Bf] - Bf) - KL*NL -
kb*(Lf*a1 + Conjugate[Lf]*Conjugate[a1] + Bf*Conjugate[a1] +
Conjugate[Bf]*
a1 + (NL - 2*Abs[a1]^2)*(b1 + Conjugate[b1])) == 0,
I*g0*((NL - 2*Abs[a1]^2)*(Conjugate[b1] - b1) +
Conjugate[Lf]*Conjugate[a1] - Lf*a1 + Conjugate[Bf]*a1 -
Bf*Conjugate[a1]) +
I*Pb*(Conjugate[Bf] - Lf + Conjugate[Lf] - Bf) -
gma*Conjugate[b1]*b1 + gma*nth ==
0, -I*delta*Lf - I*ome1*Lf +
I*g0*((2*NL - Abs[a1]^2 - Conjugate[b1]*b1 + 2*Abs[b1]^2 +
b1^2)*Conjugate[a1] - (Conjugate[Bf] + 2*Lf)*b1 -
Lf*Conjugate[b1]) - I*P0*b1 == 0,
I*delta*Bf - I*ome1*Bf +
I*g0*((2*NL - Abs[a1]^2 + Conjugate[b1]*b1 - 2*Abs[b1]^2)*
a1 + (2*Bf - a1*b1 + Conjugate[Lf])*b1 + Bf*Conjugate[b1]) +
I*P0*b1 +
I*Pb*(NL + Conjugate[b1]*b1 + a1^2 + b1^2 + 1) - (KL + gma)*
Bf/2 - kb/
2*((2*Bf - a1*b1 + Conjugate[Lf])*
b1 + (Conjugate[b1]*b1 - 2*Abs[b1]^2)*a1 +
Bf*Conjugate[b1]) == 0,
I*delta*a1 + I*delta*a1 + I*g0*(Conjugate[Lf] + Bf) + I*P0 +
I*Pb*(b1 + Conjugate[b1]) - KL*a1/2 -
kb*(Conjugate[Lf] + Bf)/2 ==
0, -I*ome1*b1 + I*g0*NL + I*Pb*(a1 + Conjugate[a1]) - gma*b1/2 ==
0}, {a1, b1}];
Plot[{Evaluate[Conjugate[a1]*a1] /. sol}, {P0, 0, 30}]
Conjunction[b]
in your code and since you have dozens ofConjugate
perhaps you just misspelled the first one. As an experiment I changed that toConjugate
and ran the code. It grinds for a while. I don't know whether it is going to finish or not. Maybe you can let it run for a while, minutes or an hour, and report back what it gives you. $\endgroup$NSolve
have the undefined variables{b, ig0, Kb, kL, ome1}
. Please provide their values. $\endgroup$ig0
which should probably beI * g0
, you haveConjunction[b]
which should beConjugate[b1]
etc. $\endgroup$