gulliet

241 Reputation

6 Badges

16 years, 238 days

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by gulliet

Not sure what's going on. Perhaps a difference in version or interface settings. I use the standard interface of Maple 12.02 with the typesetting option set to extended.
> kernelopts(version);

        Maple 12.02, APPLE UNIVERSAL OSX, Dec 10 2008 Build ID 377066

> interface(version);

Standard Worksheet Interface, Maple 12.02, Mac OS X, December 10 2008 Build 

   ID 377066

> interface(typesetting);

                                  extended
Regards, --Jean-Marc
Not sure what's going on. Perhaps a difference in version or interface settings. I use the standard interface of Maple 12.02 with the typesetting option set to extended.
> kernelopts(version);

        Maple 12.02, APPLE UNIVERSAL OSX, Dec 10 2008 Build ID 377066

> interface(version);

Standard Worksheet Interface, Maple 12.02, Mac OS X, December 10 2008 Build 

   ID 377066

> interface(typesetting);

                                  extended
Regards, --Jean-Marc
Hum, that limitation from Maple seems weird since Microsoft SQL Server 2005 Express edition accepts remote connection, though not by default. See How to configure SQL Server 2005 to allow remote connections My 2 cents, --Jean-Marc
Hum, that limitation from Maple seems weird since Microsoft SQL Server 2005 Express edition accepts remote connection, though not by default. See How to configure SQL Server 2005 to allow remote connections My 2 cents, --Jean-Marc
You should check how you have entered the value of the argument of the function spacing. For instance, Pi/2 is a an exact value (say, infinite precision number) whereas Pi/2. is a floating-point number (hardware precision). Using Pi/2 or Pi/2. yields a different representation of the tick marks.
plot(sin(x), x = 0 .. 2*Pi, tickmarks = [spacing(Pi/(2.)), default]);
97_pitickmarksinexact.jpeg Regards, --Jean-Marc
You should check how you have entered the value of the argument of the function spacing. For instance, Pi/2 is a an exact value (say, infinite precision number) whereas Pi/2. is a floating-point number (hardware precision). Using Pi/2 or Pi/2. yields a different representation of the tick marks.
plot(sin(x), x = 0 .. 2*Pi, tickmarks = [spacing(Pi/(2.)), default]);
97_pitickmarksinexact.jpeg Regards, --Jean-Marc
What do you mean by,
[...] I don't know how to use the Database.
Have you followed the instructions to install it on your computer? What specific issues have you faced? Do you have trouble using the online help? Or have you tried to access directly the documentation as an html document? For instance, Function: labelledcontourplot - contour plot with labelled contours You can also see the documentation and the code of any function in various formats at Maple Advisor Database (for Maple 6 to 10) Regards, --Jean-Marc
What do you mean by,
[...] I don't know how to use the Database.
Have you followed the instructions to install it on your computer? What specific issues have you faced? Do you have trouble using the online help? Or have you tried to access directly the documentation as an html document? For instance, Function: labelledcontourplot - contour plot with labelled contours You can also see the documentation and the code of any function in various formats at Maple Advisor Database (for Maple 6 to 10) Regards, --Jean-Marc
S should be
S :=[seq([seq(fsolve({eq1,eq2},{x,y}), beta=0..10)],alpha=0..157)]:
Regards, --Jean-Marc
S should be
S :=[seq([seq(fsolve({eq1,eq2},{x,y}), beta=0..10)],alpha=0..157)]:
Regards, --Jean-Marc
Hm, so shall I post them anyway? ;-))
What you may want to do is to upload on MaplePrimes a worksheet containing the polynomials, then post a link to this worksheet on this forum. To do so, use the file manager accessible from the navigation menu on the top-left of the screen under the entry My files. Regards, --Jean-Marc
Hm, so shall I post them anyway? ;-))
What you may want to do is to upload on MaplePrimes a worksheet containing the polynomials, then post a link to this worksheet on this forum. To do so, use the file manager accessible from the navigation menu on the top-left of the screen under the entry My files. Regards, --Jean-Marc
Using the wrong type of brackets seems to be your problem here (though the result, after correction, smells fishy). As a rule of thumb, () parentheses are used for grouping terms in expressions or function calls [] square brackets are used for defining lists, i.e. an ordered sequence of objects {} curly braces are used for defining sets, i.e. an unordered sequence of unique objects
restart;
de := diff(x3(t), t) = 2*lambda*a*(1-p)*(x1*(x1-1)+x2*(x2-1))-2*a*x3(t)*p*(x2+2*(x3(t)-1))-2*delta*x3(t);

             d                                                        
      de := --- x3(t) = 2 lambda a (1 - p) (x1 (x1 - 1) + x2 (x2 - 1))
             dt                                                       

         - 2 a x3(t) p (x2 + 2 x3(t) - 2) - 2 delta x3(t)

dsolve(de);

    /  /x3(t)                                                       
    | |            //             2                                2
t + | |       - (1) \2 lambda a x1  - 2 lambda a x1 + 2 lambda a x2 
    | |                                                             
    \/                                                              

                                    2                                    2
   - 2 lambda a x2 - 2 lambda a p x1  + 2 lambda a p x1 - 2 lambda a p x2 

                                                                           \
                                           2                          \    |
   + 2 lambda a p x2 - 2 a _a p x2 - 4 a _a  p + 4 a _a p - 2 delta _a/ d_a|
                                                                           |
                                                                           /

   + _C1 = 0

Regards, --Jean-Marc
Using the wrong type of brackets seems to be your problem here (though the result, after correction, smells fishy). As a rule of thumb, () parentheses are used for grouping terms in expressions or function calls [] square brackets are used for defining lists, i.e. an ordered sequence of objects {} curly braces are used for defining sets, i.e. an unordered sequence of unique objects
restart;
de := diff(x3(t), t) = 2*lambda*a*(1-p)*(x1*(x1-1)+x2*(x2-1))-2*a*x3(t)*p*(x2+2*(x3(t)-1))-2*delta*x3(t);

             d                                                        
      de := --- x3(t) = 2 lambda a (1 - p) (x1 (x1 - 1) + x2 (x2 - 1))
             dt                                                       

         - 2 a x3(t) p (x2 + 2 x3(t) - 2) - 2 delta x3(t)

dsolve(de);

    /  /x3(t)                                                       
    | |            //             2                                2
t + | |       - (1) \2 lambda a x1  - 2 lambda a x1 + 2 lambda a x2 
    | |                                                             
    \/                                                              

                                    2                                    2
   - 2 lambda a x2 - 2 lambda a p x1  + 2 lambda a p x1 - 2 lambda a p x2 

                                                                           \
                                           2                          \    |
   + 2 lambda a p x2 - 2 a _a p x2 - 4 a _a  p + 4 a _a p - 2 delta _a/ d_a|
                                                                           |
                                                                           /

   + _C1 = 0

Regards, --Jean-Marc
With the new value of mu, it seems that fsolve failed to solve the system and, so, returns unevaluated.
restart: with(plots):
alpha:=Pi/3:
mu:=3.006*10^(-6):
rs:=((x+mu)^2+y^2)^0.5:
re:=((x+mu-1)^2+y^2)^0.5:
Q:=beta/10*(1-mu)*(cos(alpha))^2:
S:=(x+mu)*cos(alpha)+y*sin(alpha):
T:=-(x+mu)*sin(alpha)+y*cos(alpha):
eq1:=(1-mu)*(x+mu)/rs^3+mu*(x-mu+1)/re^3-x=Q*S/rs^3:
eq2:=(1-mu)*y/rs^3+mu*y/re^3-y=Q*T/rs^3:
plist:=[]:
for beta from 0 to 10 do 
  fsolve({eq1,eq2}, {x,y}); 
  xx:=eval(x,%); 
  yy:=eval(y,%%);
  plist:=[op(plist),[xx,yy,beta/10]]; 
end do:

Error, invalid input: eval received
fsolve({.9999969940*y/((x+0.3006000000e-5)^2+y^2)^1.5
+0.3006000000e-5*y/((x-.9999969940)^2+y^2)^1.5-y = 0.,
.9999969940*(x+0.3006000000e-5)/((x+0.3006000000e-5)^2+y^2)^1.5
+0.3006000000e-5*(x+.9999969940)/((x-.9999969940)^2+y^2)^1.5-x
= 0.}, {x, y}), which is not valid for its 2nd argument, eqns

kernelopts(version);
        Maple 12.02, APPLE UNIVERSAL OSX, Dec 10 2008 Build ID 377066
Regards, --Jean-Marc
3 4 5 6 7 8 9 Last Page 5 of 15