MaplePrimes Questions

 

Dear All,

I want to apply the ‘simplify’ command, in parallel, for the simplification of some parameters. Both Grid:-Map and Grid:-Run commands are tested. There is no error in both, whereas no simplification is implemented. It seems that the ‘simplify’ command correctly works on only ‘Master’ node, namely anywhere we are typing.

Can anyone help me to simplify in parallel. I examined two following codes.

1)

with (Grid);

for i from 1 to nops(dummy_UU1) do

freenode:=WaitForFirst():

Run(freenode,simplify,[dummy_UU1[i]],assignto='dummy_UU2'[i]):

end do:

Wait();

2)

dummy_UU2:=Map[tasksize=1](simplify,[seq(dummy_UU1[i],i=1..nops(dummy_UU1))]):

 

 

The following code is correctly executed and resulted in the simplification of dummy_UU1 components in serial.

for i from 1 to nops(dummy_UU1) do

dummy_UU2[i]:=simplify(dummy_UU1[i]):

end do:

 

Good day to all.

I have a data set consisting of 12 points in the x-y plane. These points form a periodic pattern and I was wondering if it is possible to obtain a curve that is a best-fit for these points. I have reason to expect that this pattern will repeat for successive points (i.e. points 13, 14, ..., 30).

Does anyone know of a way to obtain a function that can represent this behavior?

Thanks for reading!

MaplePrimes_Best_Fit.mw

 

Hi, I have this values I want to plot as three dimension how can I plot it?

ApproximateSol := proc (w, t) options operator, arrow; w^2+t+rtable(1 .. 1, 1 .. 1, {(1, 1) = (.2960214364*piecewise(0 <= w and w < 1, 1)+.1939557186*piecewise(0 <= w and w < 1, 4*w-2)+0.2635024425e-1*piecewise(0 <= w and w < 1, 16*w^2-16*w+3))*(0.7620592980e-10*piecewise(0 <= t and t < 1, 1)+0.1532687805e-9*piecewise(0 <= t and t < 1, 4*t-2)+0.8496500063e-10*piecewise(0 <= t and t < 1, 16*t^2-16*t+3))+(-.2380729574*piecewise(0 <= w and w < 1, 1)-0.9481780593e-1*piecewise(0 <= w and w < 1, 4*w-2)+0.442773709e-1*piecewise(0 <= w and w < 1, 16*w^2-16*w+3))*(-0.2362176714e-9*piecewise(0 <= t and t < 1, 1)+0.6793447600e-10*piecewise(0 <= t and t < 1, 4*t-2)+0.2039654777e-9*piecewise(0 <= t and t < 1, 16*t^2-16*t+3))+(0.7931761947e-1*piecewise(0 <= w and w < 1, 1)+0.967928372e-2*piecewise(0 <= w and w < 1, 4*w-2)-0.2747829289e-1*piecewise(0 <= w and w < 1, 16*w^2-16*w+3))*(-0.1118492678e-9*piecewise(0 <= t and t < 1, 1)-0.5202991920e-10*piecewise(0 <= t and t < 1, 4*t-2)+0.1128321001e-9*piecewise(0 <= t and t < 1, 16*t^2-16*t+3))}, datatype = anything, subtype = Matrix, storage = rectangular, order = Fortran_order) end proc

Could anyone help me out to convert the equation into differential transform method

 

Hello Everyone, can anyone explain how to import a mathematical equation from maple to word directly?

Just wonder about the status of the public folder in Maple Cloud.

I've tried to upload a file there, but got the reply that the uploaded file is going to be reviewed first. That was end of july.

Sorting files after date shows that the last upload was done in october 2019. Content unknown as it that was in chinese (probably).

It's not really important to me, as I can always find another site to upload stuff, just wondering.

Write a program to display all different relations on a set with 4 elements.

Hello,

My question is quite simple yet maybe a bit hard since I understand that messing around with series can lead to dead ends.

Given a certain general term, for instance sum(x^n/n!,n=0..infinity): Can Maple recognize which function does it come from (in case such analytic function is known)? in the example I would expect it to return exp(x).

Thank you very much.

Hi,

I wonder if we can change the way Maple works so that all calculation can be done in degree instead of radian?

I know that we can *pi/180 to set it to degree but if the calculation lots of sin, cos, tan etc. it would be really hard.

Hope you can help me. Thanks for your participation and assistance.

Thank you.


Kind regards

Faiz Farhan

I'm trying to graph this function but it comes out a straight line.

Thanks in Advance.

plot(cos(Pi/4), -2*Pi .. 2*Pi)

plot(cos((1/4)*Pi), -2*Pi .. 2*Pi)

 

``


 

Download Graph-cos.mw

Dear people at Mapleprimes

My situation is the following: I have a number of bins (n bins), which all contain a specific number. I want to choose at random from these bins a number of times (N times), but in such a way that it is not equal likely that I choose from bin1, bin2 ...

Example: I have 5 bins: The 5 bins contains the numbers 50, 60, 70, 80, 90 respectively. The probabilities of choosing from these 5 bins should be 0.10, 0.30, 0.20, 0.25, 0.15 respectively. I make N = 100 selections. The output is expected to be a list with 100 numbers, for example: [ 50, 80, 80, 60, 60, 90, 50, ... , 70]. 

I could make it work myself by picking a random number from the uniform distribution from 0 to 1 and deciding if the a random number is between 0 and 0.10, between 0.10 and 0.40, between 0.40 and 0.60, etc. and then choosing the number in the corresponding bin ... I just wonder if Maple has an elegant way to to it? 

Regards,

Erik

 

Can anyone kindly tell me why isn't "evalm" working even with all the neccessary varaibles have corresponding values? 

Thank you!

Here is my code:

Question regarding output formatting of xml files.

The WriteFile command writes the xmldocument / xmltree out to a file completly, and closes the file. The backdraw is that it isn't formatted nicely.

The PrintToFile command writes out nicely formatted, but the file isn't closed. And the XMLProcessingInstruction is also missing.

If I use Print(xmltree) before the writefile command, I get an error (not a xmltree anymore).

So how do I get nicely formatted XML files?

Are there any examples of worksheets / workbooks that have a file open / save dialogue box?

I'm playing around trying to save data from a worksheet, and would like to have a dialogue box where the user can pick a directory and a name for storing the data.

First 510 511 512 513 514 515 516 Last Page 512 of 2428