Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I’m working on a weighted statistical series.. and I notice a difference in results with the DataSummary command. Any suggestions? Thank you

QuestionDataWeights.mw

Hello,

this is my code:

######################

restart;
g(x,y):=min((3+((x-y)^(2))/(10)+(|x+y|)/(sqrt(2))),(-|x-y|+(7)/(sqrt(2))));


q:=0; h(x,y):=Heaviside(g(x,y)-q);

                               0
(x, y) -> Heaviside(g(x, y))

p := int(int(h(x, y)*exp((-x^2-y^2)*(1/2))/(2*Pi), y = -infinity .. infinity), x = -infinity .. infinity);

Error, (in unknown) too many levels of recursion

 

######################

I keep having this error message, is this integral impossible to process or is there someting wrong with the code?

 

 

 

 

https://aws.amazon.com/getting-started/projects/deploy-elastic-hpc-cluster/

is it possible to use maple on high performance clusters?

i can only think to use c program to call cmaple with MPI in linux to use high performance clusters.

is there any other official method to do this?

if i upload my maple 2015 version to amazon for this computing, will it used up all license in this first chance of installation leading to that i can not install maple 2015 linux version to other machine?

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ConfigWindowsHPC.html#ComputeNode

which virtual machine should i install the maple 12? on one virtual machine or all compute nodes?

 

how many compute nodes are need to compute dsolve 100,000 systems which may or may not have solution in maple 12?

Hello Maple experts;

I am not able to understand why Maple 2019 can solve Laplace PDE in 2D Catersian on semi-infinite domain, when the infinity is along the Y direction, but not along the X direction, since the solution method is exactly the same.

Here is the code

restart;

#right one, Maple can not solve
pde := diff(u(x, y), x$2)+diff(u(x, y), y$2) = 0:
bc_left_edge := u(0, y) = 0:
bc_bottom_edge:= u(x, 0) = 0:
bc_top_edge:= u(x, 1) = A:
bc:=bc_left_edge ,bc_top_edge,bc_bottom_edge:
sol:=pdsolve([pde, bc],HINT = boundedseries(x = infinity)) assuming x>0,y>0;


#left one, Maple can solve
pde := diff(u(x, y), x$2)+diff(u(x, y), y$2) = 0:
bc_left_edge := u(0, y) = 0:
bc_bottom_edge:= u(x, 0) = 0:
bc_right_edge:= u(1, y) = A:
bc:=bc_left_edge ,bc_right_edge,bc_bottom_edge:
sol:=pdsolve([pde, bc],HINT = boundedseries(y = infinity)) assuming x>0,y>0;

Here is screen shot.

Maple can solve both cases if I remove the HINT. But the solution it gives is not as simple as using the HINT and contains unknown constants (_C5) that is why I use the HINT.

But the main question is, since both problems are exactly the same, why Maple can solve one and not the other when using the HINT? Is there something I am doing wrong? 

Maple 2019 on windows 10 and Physics cloud version 333.

Thank you


Suggestions for a Maple program entering the coordinates of three points and giving the equation of the circle passing through these three points, non-aligned?
Thank you.

 

 

Dear all,

How to draw graph when the matrix and the position is given in cartesius coordinate?
For example, I have this matrix and the following coordinate

Matrix(9, 9, [[0, 0, 1, 0, 1, 1, 1, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0]])

#Coordinate
[40, 40], [22, 22], [36, 26], [21, 45], [45, 35], [55, 20], [55, 45], [26, 59], [55, 65]

For sure, we can use Graph package
GT := GraphTheory;
G := GT:-Graph(X);
GT:-DrawGraph(G):
How to assign the coordinate such that I get the result of drawing in cartesius ?

Thank you anyway

Hi!
which Maple command gives the exact value of factorial (1/2)?   ``(1/2)!``

Thanks.

This is a minor issue, but I noticed using Maple 2019, with Physics cloud version 331 that it prints on the screen some results from internal computation on some calls to pdsolve

I have a ":" at the end of each command, so no output should go to the screen. In Maple 2018 this does not happen.

 

pde := a*diff(w(x,y),x) +  b*arctan(lambda*y)*diff(w(x,y),y) =  a*arctan(mu*x)^m+arctan(beta*y)^k:
sol := pdsolve(pde,w(x,y)):

#another example

pde := a*diff(w(x,y),x) +  b*arccot(lambda*y)*diff(w(x,y),y) =  a*arccot(mu*x)^m+arccot(beta*y)^k:
sol:=pdsolve(pde,w(x,y)):

Running the above on Maple 2019 and Maple 2018, here is screen shot. Notice the output in Maple 2019

 

In Maple 2019

 

Hi

The Physics Updates for Maple 2019 (current v.331 or higher) is already available for installation via MapleCloud. This version contains further improvements to the Maple 2019 capabilities for solving PDE & BC as well as to the tensor simplifier. To install these Updates,

  • Open Maple,
  • Click the MapleCloud icon in the upper-right corner to open the MapleCloud toolbar 
  • In the MapleCloud toolbar, open Packages
  • Find the Physics Updates package and click the install button, it is the last one under Actions
  • To check for new versions of Physics Updates, click the MapleCloud icon. If the Updates icon has a red dot, click it to install the new version

Note that the first time you install the Updates in Maple 2019 you need to install them from Packages, even if in your copy of Maple 2018 you had already installed these Updates.

Also, at this moment you cannot use the MapleCloud to install the Physics Updates for Maple 2018. So, to install the last version of the Updates for Maple 2018, open Maple 2018 and enter PackageTools:-Install("5137472255164416", version = 329, overwrite)

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

This application solves a set of compatible equations of two variables. It also graphs the intersection point of the variable "x" and "y". If we want to observe the intersection point closer we will use the zoom button that is activated when manipulating the graph. If we want to change the variable ("x" and "y") we enter the code of the button that solves and graphs. In spanish.

System_of_Equations_Determined_Compatible_2x2_and_3x3.mw

Lenin Araujo Castillo

Ambassador of Maple


Hello everyone! 

I have the following Maple code: 

with(CurveFitting); with(plottools); with(Statistics); A := [[1.364, 0.64765768e-1], [2.05, -.182176113], [2.664, -0.13914542e-1], [2.728, 0.2193938e-1], [4.092, -0.18349139e-1], [4.1, -.312968801], [5.328, -0.1819837e-2], [5.456, -.28840961], [6.15, -.57076866], [7.992, .175022254]];
F := LeastSquares(A, x);
plot([F, A], x = 0 .. 8, legend = ["Метод наименьших квадратов", "Экспериментальные данные"], legendstyle = [font = ["Roman", 15]], labels = ["d, ìì", "ln(I/I_0)"], labelfont = ["Roman", 15], labeldirections = ["horizontal", "vertical"], axesfont = ["ROMAN", "ROMAN", 15], color = [red, blue], style = [line, point], linestyle = [solid], symbolsize = 20, title = "Определение линейного коэффициента поглощения", titlefont = [Roman, bold, 20]);

This produces a plot:

How can I add error bars to the points that are colored in blue?

Thank you in advance for any help!

Having problems with solving PDE with symbolic BCs. 

u(x,y,t,M,A); 

 M,A,x are constants for this problem. 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Code Starts

pde := diff(u(x, y, t), t)-.5*(diff(u(x, y, t), y, y))-A*sin(M*x-t) = 0

bc[1] := u(x, 0, t) = 0

bc[2] := u(x, 10, t) = A*sin(M*x-t)

sys := [pde, bc[1], bc[2]]

pdsolve(sys)

>>>>>>>>>>>>>>>>Code ends

I don't get any solution after this.
Moreover, in the second BC, I would like to change 10 to inifnity. 

Thank you in advance for your help. 

-(-u*(diff(v, x))+int((diff(v, x))*(diff(u, x)), x)+int((diff(v, x, x))*u, x))  how to simplify this expression to zero by any commands?

Error, module member referencing is not supported in evalhf

 

What is the solution for this error. 

Also when I run job in command prompt I also getting following errors

Warning, the restart command only works at the top level. It cannot be executed within a procedure, or from a file being read by the read statement. 

But the same code runs fine in GUI.

 

 

Hello everybody and thankyou in advance to answer my question.

I am trying to answer this question:

“Find the solutions for x so that the sine of x degrees be equal to the sine of x radians in the interval [0, Pi].” I wrote this formula to solve it but without success:

solve(sin(x*degree)=sin(x),x) assuming 0<=x<=Pi

I expected a solution like:

{x=0, x=(180*Pi)/(180+Pi)} but not,

I somehow get a numeric solution for the first positive real number within the referred interval with this:

fsolve(sin(x*Pi/180) = sin(x), x, 0 .. Pi);

But if I change the interval for example [0, 3*Pi] I still only get one answer, not the four I spect.

 

First 579 580 581 582 583 584 585 Last Page 581 of 2097