mary120

65 Reputation

4 Badges

5 years, 213 days

MaplePrimes Activity


These are replies submitted by mary120

@acer 
Thanks for your reply. 
Please, see the attached file.
q.mw

@acer 
How can I insert a legend like "n_{0p}/n_{0n}=0.1" in above graph? How can I change the legend font size?
Thanks

@tomleslie 
Thanks for your help.
But, there was an error when I run the code (see below)!
I want to export (x,U1(x)) as a two-column .txt or .dat file.
About my third question, I look for a command like " if U1(x)>20, then exit" that stop the code for a specific condition!

 

q.mw

@acer 

Yes, I want to export the numeric data as a two-column txt file ( X, U1(x)). I need a command like " write(1,*) x, U1(x)" in fortran.

 

Hi,

I have 3 questions and I hope you  help me:

1- How can I extract the numerical data of (x,U1) to use it in another software such as Origin?
2- What is your suggestion to plot the curves of, for example, (x,U1) for different parameters (T,k,beta) in one figure? How can I do that?
I need to do it for comparing the effects of different values of parameters.

3- How can I stop the numerical calculation when U1(x)>20 ?

@Carl Love 
Thank you for your reply. 

@tomleslie 

Thank you very much.

@Rouben Rostamian  
Thank you. I'll post the worksheet in future questions!

@Rouben Rostamian  

Hi,

I want to plot the phase portrait and also the direction field of the following system of equations:

diff(x(t), t) = y(t)*(1+x(t)^2+y(t)^2),

diff(y(t), t) = x(t)*(1+x(t)^2+y(t)^2).

Taking the critical point  (0,0) and its eignvalues (-1,+1), it is clear that it is a saddle point.

Now, is there some trick to provide 'nice' initial conditions, such that the phase portrait shows clearly the solution curves?

I considered the following Ics:

[x(0)=-2, y(0)=-2], [x(0)=3, y(0)=0]

But it is not a good choice, because the solution curves are not nicely shown. How does one specify the initial conditions such that this happens? Is it just by trial and error?

 

@Rouben Rostamian  

Hi,

I tried to use your code and its ICs for finding the solution of a similar planar dynamical systems with following coefficients

> a = f*((1/2)*r+1/2)+(1/2)*(1-f)*beta*(r+1)-1/M^2,

  b = -(1/8)*f*(r-3)*(r+1)-(1/8)*(1-f)*(r-3)*beta^2*(r+1)-3/(2*M^4),

 c = (1/48)*f*(3*r^2-14*r+15)*(r+1)+(1/48)*(1-f)*(3*r^2-14*r+15)*beta^3*(r+1)-5/(2*M^6),

 

where r=0.3, beta=0.24, f=0.42, M=1.65868;

 

 but unfortunately I encountered an error message about the initial conditions: ‘Error, (in DEtools/DEplot/CheckInitial) too many initial conditions:’.

 How should I define ICs for such parameters to plot a similar phase portrait?
 Sometimes the eigenvalues of the Jacobian are complex, how should change the ICs in such cases?

Thanks

@Rouben Rostamian  
Thanks for your help.

@Kitonum 

Thanks for your answer. But,

1- Really, I use Maple11 and I couldn't find EXPLORE commend in its help. May you help me?

2- Also, according to the output of above answer, there isn't a specific value of (x_m<>0) that satisfies both condition (3), (6) for alpha=0.2,beta=0.3,gama=17, simultaneously.

Assuming u0>= (mue+mun*gama)^(-1/2), What do I need to do to find the point x_m<>0  where condition (3), (6) are met simultaneously? (Please, check the plot of A for alpha=0.43,beta=0.4,gama=15 and u0=0.635). 

3- How do I get the intersection of two curves A(x)=0 and diff(A(x),x)=0?

@acer 
Thank you !

@Carl Love Thanks!

1 2 3 Page 2 of 3