MaplePrimes Questions

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.

The Help page Physics/tensors-a complete guide states that spacetime metrics from Kramer et al. are referenced by chapter, section, and equation number, e.g., g_[[12, 16, 1]]. But there is no section 16 in Ch 12 and equations within each chapter are numbered sequentially without reference to section. By playing around it seems that in fact the first number is chapter, the second number is equation number, and the third number refers to subcases of the metric, when they are specified in the text. Is that correct?

Also, the output I get from say g_[[27, 27, 1]], or any other attempt  made, is just the metric, without any specification of the coordinates etc, which the Help pages susggest should be part of the output.

Hi!

The algorithm in this PDF is written in Fortran, but unfortunately I do not known this programming languaje (actually, I am not an "expert" in progamation).

Algoritmo_Fortram.pdf  [removed by moderator. © Institute of Mathematics AS CR, 1980]

 

https://dml.cz/handle/10338.dmlcz/103855

Could someone please write this algorithm in Maple? Or, at least, indicate me how to do.

Many thanks in advance for your comments.

First 509 510 511 512 513 514 515 Last Page 511 of 2427