adel-00

95 Reputation

9 Badges

9 years, 303 days

MaplePrimes Activity


These are questions asked by adel-00

Hi experts

with(plots):
#epsilon:=5*Pi/2:
gammaa:=0.4:
gammao:=0.1:
gammab:=0.002:
omegab:=100:
X:=60:
Omega:=6*Pi:
g:=10:
sigmag:=5*gammaa:
a:=1/(sigmag*sqrt(2*Pi)):

#deltao:=1:
D7:=evalf(a*int(g*Omega*(gammao/2-I*Delta)*exp(-0.5*((Delta-deltao)/sigmag)^2)/(gammao^2/4+Delta^2),Delta=-infinity..infinity)):
D8:=evalf(0.5*a*int(g^2*gammao*exp(-0.5*((Delta-deltao)/sigmag)^2)/(gammao^2/4+Delta^2), Delta=-infinity..infinity)):
D9:=evalf(a*int(g^2*Delta*exp(-0.5*((Delta-deltao)/sigmag)^2)/(gammao^2/4+Delta^2), Delta=-infinity..infinity)):
b1 := (deltao-2*X^2*omegab*Y/(gammab^2+omegab^2)-D9)^2:

 f:=Y*((gammaa+D8)^2+(b1))=Im(D7)^2+(epsilon-Re(D7))^2:
#P1:=implicitplot(f,deltao=-70..50,Y=0..1,numpoints=100,axes=boxed,thickness=2,color=black,font=[1,1,20],tickmarks=[4, 3],linestyle=1);

implicitplot3d(f,Y = 0 .. 1,deltao=-40..40,epsilon=0..0.4,numpoints=100,labels=[Y,deltao,E],tickmarks=[3,3,3], style = surface, color = "Niagara Azure");

The above code to plot the implicitplot3d ,

first the figures are not smooth

second thing is how to make contourplot at epsilon= 5*Pi/2.

I appreciated any comments


 

Here is my try:

with(plots):
epsilon:=5*Pi/2:
gammaa:=0.4:
gammao:=0.1:
gammab:=0.002:
omegab:=100:
X:=60:
Omega:=6*Pi:
g:=10:
sigmag:=5*gammaa:
a:=1/(sigmag*sqrt(2*Pi)):
for deltao from 0 to 4 do
D7:=evalf(a*int(g*Omega*(gammao/2-I*Delta)*exp(-0.5*((Delta-deltao)/sigmag)^2)/(gammao^2/4+Delta^2),Delta=-infinity..infinity)):
D8:=evalf(0.5*a*int(g^2*gammao*exp(-0.5*((Delta-deltao)/sigmag)^2)/(gammao^2/4+Delta^2), Delta=-infinity..infinity)):
D9:=evalf(a*int(g^2*Delta*exp(-0.5*((Delta-deltao)/sigmag)^2)/(gammao^2/4+Delta^2), Delta=-infinity..infinity)):
b1:=deltao-(2*X^2*omegab*Y^2)/(omegab^2+gammab^2)-D9:
f:=epsilon-D7=Y*(gammaa+D8+I*(b1)):
P1:=implicitplot(f,Y^2=0..10,delta0=0..1,numpoints=1000,axes=boxed,thickness=2,color=black,font=[1,1,20],tickmarks=[4, 3],linestyle=1);
end do:

display(P1);

The function (f)  is an implicit function of Y^2

so my code above is an example to plot Y^2 against deltao

note that Y is complex

I appreciate valueble comments.

Hi 

I'm trying to plot Bar in maple 

yr=[0.1,0.2,0.3];

sle=[8,12,200]

Statistics:-ColumnGraph(yr,sle)

But not work

j:=500:tp:=0.07*j:Ap:=0.25:Aq:=0.3:tq:=0.03*j:tr1:=0.05*j:Ar:=2:As:=0.4:tr2:=0.04*j:ts:=0.04*j:tt:=0.17*j:At:=0.4:
u1:=0:
u2:=(Ap/2)*(sin((2*Pi*t/tp)+(3*Pi/2))+1);
u3:=0:
u4:=-(Aq/tq)*t:
u5:=(((Ar+ Aq)/tr1)*t)-Aq:
u6:=-(((Ar+ As)/tr2)*t)+Ar:
u7:=((As/ts)*t)- As:
u8:=0:
u9:=(At/2)*(sin((2*Pi*t/tt)+(3*Pi/2))+1):
u10:=0:
     u2 := -0.1250000000 cos(0.1795195802 t) + 0.1250000000


r1:=plot([u1],t=1..0.1*j):
r2:=plot([u2],t=1..tp):
r3:=plot([u3],t=1..0.08*j):
r4:=plot([u4],t=1..tq):
r5:=plot([u5],t=1..tr1):
r6:=plot([u6],t=1..tr2):
r7:=plot([u7],t=1..ts):
r8:=plot([u8],t=1..0.1*j):
r9:=plot([u9],t=1..tt):
r10:=plot([u10],t=1..0.08*j):
with(plots):
display(r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,view=[0..100,-1..3],axes=boxed);

the same above code works in matlab

in maple it isnot

Hi 

Is there a way to solve it numericall

evalf(int(exp((5+I*6)*x)*sin(1+erf(x)),x=-to..to));

evalf(int(exp((5+I*6)*x)*cos(1+erf(x)),x=-to..to));

 

1 2 3 4 5 6 7 Last Page 1 of 10