Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

This describes in more detail (with permission and citation) the method posted here of solving problem 2 in the XKCD comic Substitute.

 

Download RaptorMath.mw

 

Today is my birthday, and in fact it is also the birthday of at least one other Maplesoft employee (not surprising since more than 23 people work here - considering the generalized birthday problem, I even know of 3 people here who share the same birthday).  Of course, it turns out that birthdays are not evenly distributed through out the year and so I wanted to know if someone with an August birthday is more likely to share than someone with an April birthday. 

I would like to include the current date in the filename when I use writedata.  How can I do that?

I know this doesn't work but I was trying to do something like this

  test:=[1,2,3,4,5,6]
  writedata("c:/data-FomatTime(%B%d%H%M).txt",test)

 

Look at this article (Its loading can take a few minutes: approximately 5 MB.). All those pictures could be created with Maple.

PS. Working link to  the article.

Motion_of_a_Charged_.mw

Hi,

The procedure I uploaded, was originally written in C++. I made a text file and plot the file with C++ without any problem.

But in the maple version of the same program, when I use the command:

                          ...

I am using Maple to generate PDEs. I have expressions of the form p(dx,dy,dz, etc.) where p is a nonlinear polynomial. I would like to substitute d/dx for dx etc and then later apply the resulting differential equation to a function. I am having multiple problems with this.

1. Maple seems to be unable to handle a derivative unless there is a function for the derivative to act on. (This is not a huge issue, but it would be helpful.)

2. Even if I do specify a function Maple maps dx^3 to diff(f,x...

I would like to know how to plot different series of data on the same graph.

 

Thanks in Advance

Hello,

I have a grafic, a power curve, and a few values of the curve.

The values are in 0.5 steps. I would like to calculate the values for all the 0.1 steps.

For example:


I know the values for 4, 4.5, 5 etc. and would like to find out the values for 4.1, 4.2, 4.3 etc.

 

Is this possible using Maple?

 

Best regards,

Calin

When I plot csc(k*x) for various values of k, the timing varies considerably depending on the value of k.

Here are the timings for k = 1..5 (note the strange case of k = 3):

  seq(time(plot(csc(k*x), x = 0 .. 2*Pi, -3 .. 3, discont = true)), k = 1 .. 5);
               0.031, 0.031, 14.133, 0.046, 0.062

For k = 6, the time is apalling:

Just for fun, I've created a Pac-Man using Maple's plot command:

body := plottools[pieslice]([0, 0], 5, (1/6)*Pi .. 11*Pi*(1/6), color = yellow):
eye := plottools[pieslice]([-1, 2], .5, 0 .. 2*Pi, color = black, filled = true):
plots[display](eye, body, axes = none);

The hairpiece for Ms. Pac-Man can be added easily:

Continuing on in this series of posts, here is a way to test the randomness of a sequence of bits from a PRNG that is the appropriate to the first morning back after the August long weekend.  It is a very fast, and not very formal test done by checking how well a sequence compresses. This is really easy in Maple 14, with the new commands ?StringTools:-Compress and StringTools:-Uncompress which use ...

I was wondering if anyone has any experience with conic optimization (ie Mosek)
to solve large scale portfolio optimization problems. It all seem so complicated.
It should be possible to call such an optimization engine from Maple right?!

Hi

I'm looking for this application : "A Double Pendulum Model using DynaFlexPro and Maple"

Does anyone have it ?
Indeed,it's no more on this site : http://www.maplesoft.com/applications/view.aspx?SID=1682
I really need to make a simulation of the motion of a double pendulum, using Maple.

hi

I have got an eq: Curl(A)=B;

Both A and B are vectors,  for example,             

A(x,y,z):=Ax(x,y,z) _i+Ay(x,y,z) _j+Az(x,y,z) _k;
B(x,y,z):=Bx(x,y,z) _i+By(x,y,z) _j+Bz(x,y,z) _k;

can I get A as a funtion of B? if I can, how to deal with it, and if not, what other known conditions should be added to solve it?

any help would be appreciated@。@

Dear All,

I have the following data file

1.1    0.751    0
1.5    0.764    0.419
2       0.777    0.665
2.5    0.796    0.791
2.71   0.81     0.81

and I want to plot the 2nd column vs the 1st and the 3rd vs the 1st on 1 axis, with the 1st column on the x axis.

Is...

First 1784 1785 1786 1787 1788 1789 1790 Last Page 1786 of 2224