MaplePrimes Questions

How do I compile a larger maple code for usage without maple system ?

Thanks for support :)

I am trying to separate a value by using solve common but could get the answer. Is there any way to get required expression

Simplification_Help.mw

I have a small problem that I can't find a solution for. How do you draw a diagram like the one shown in Maple? I can't figure out how to rotate the column labels or define tickmarks as text.

Can anyone help?

Modal Analysis is a very usefull feature. Only the animation window is sometimes too tiny.

How to enlarge this view and to pause the animation?

This seems to be a Maple plot window (a "Rotate the view" cursor is visible and the animation can be rotated). Are there any short cuts or functions keys to toggle plot view options?

Edit: Looks to my like a Maplet. Maybe a Maplet programmer can tell if that (what I am asking) is possible

Hi, 

Some of my maple documents contain data tables. 

When I want to view these documents with the maple cloud viewer, the data tables are invisible (the table is completely grayed out) and it is therefore impossible to change the values in this table. 

The table properties are such that it is enabled, visible and editable. 
Does anyone have an idea how to solve this problem? 
Thanks in advance. 

Whats the best way to let a Maple-Code run in webspace.

The Maple-Procedure gets some parameters from a mobile-App. Then doing calculations and giving back data as a file to the mobile app.

I have alomost decided for Deno which accepts Javascript. This is develeoped by Ryan Dahl who has also created Node.

Deno is more compact and very fast. So I when I use a deno server code  then I need the Maple-Code in language Javascript.

I have tried to translate some maple-subprocedures of my code with CodeGeneration but this is very restricted I think.

Thanks for ideas :)

Hi,

How to generate a random operation from [+,x,-]?

Thanks

Let us say that I have an expression, x*y*z^2*w^3 for example and I want to know the number of occurrances of x,y,z and w. 

So far I have tried splitting into a list and using nops, but I run into the problem that the z^2 and any power term seems to only be counted as one element (which makes sense).

I have also tried using the numboccur command but I have the same issue. I guess my question is, how can I convert this expression into "x*y*z*z*w*w*w" so that I can count w^3 as 3 occurances rather than 1? 

Thank you in advance for any suggestions!

Can anyone please assist with these errors?

#Clear memory.
restart;

#Initialise variables and arrays.
h:=Pi/10;
n:=10;
k:=0.1;  
m:=6;
t:=Array(0..m):
x:=Array(0..n):
u:=Array(0..n,0..m):

#Initialise the x array and the initial u(x,0) boundary.
for i from 0 to n do
    x[i]:=i*h;
    u[i,0]:=0;
end do:

#Initialise the t array and the u(x,t) side boundaries.
for j from 0 to m do
   t[j]:=j*k;
   u[0,j]:=0;
   u[n,j]:=3*sin*t[j];
end do:

#Use the 2D CTCS explicit wave method.
for i from 1 to n-1 do
   u[i,1]:=(u[i-1,0]/2*Pi^2+sin(x)/10*Pi^2+u[i+1,0]/2*Pi^2)-1;
end do:
 
for j from 1 to m-1 do
  for i from 1 to n-1 do
   u[i,j+1]:=(((u[i-1,j]+u[i+1,j]-u[i,j-1])/Pi^2)-2);
  end do;
end do:

#Display the u(x,t)values.
printf("2D CTCS Explicit Wave Method\n");
printf("----------------------------\n");
printf("x\t\t t\t\t u\n");
for i from 0 to n do
   printf("% f\t% f\t% f\n",x[i],t[m],u[i,m]);
end do;

(1/10)*Pi

 

10

 

.1

 

6

 

Error, invalid input: sin expects its 1st argument, x, to be of type algebraic, but received Array(0..10, [0,1/10*Pi,1/5*Pi,3/10*Pi,2/5*Pi,1/2*Pi,3/5*Pi,7/10*Pi,4/5*Pi,9/10*Pi,Pi])

 

2D CTCS Explicit Wave Method
----------------------------
x                 t                 u
 0.000000         0.600000         0.000000
 0.314159         0.600000        -2.015556
 0.628319         0.600000        -2.198509
 0.942478         0.600000        -2.215724
 1.256637         0.600000        -2.218015
 1.570796         0.600000        

 

Error, (in fprintf) number expected for floating point format

 

NULL


Download Asst_4_Question_2c.mw

Both, Maple and MapleSim in Versions from 2021 to 2023 do not start. A logfile is saved which starts as

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=17256, tid=10520

#

# JRE version: OpenJDK Runtime Environment Temurin-19.0.1+10 (19.0.1+10) (build 19.0.1+10)

# Java VM: OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (19.0.1+10, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

# Problematic frame:

# C  0x0000000000000000

#

This only occurs when the notebook (on which the error occurs) is connected to the domain network. If the notebook is not connected, Maple and MapleSim can be started and will continue to run when the network is reconnected.

Has anybody seen this before or any ideas what this could be?

Edit: This all happened under Windows 10 on a notebook that has been running Maple for 3 years and only recently displayed this error.

Edit2: Connection via an USB doc which also connects to an external monitor.

Hello.

I would like to find the numerical solution of the Ginzburg-Landau equation for the1D, written in the form 

(diff(z(x), x, x))*kappa^2-(1-d)*kappa^2*(diff(z(x), x))/x+z(x)-z(x)^3 = 0

For d=1 and with the boundary conditions z(-infinity)=0 and z(infinity)=1 the solution is well-known, this is tanh(x) function.

My goal is to undertand the evolution of the numerical solution for the interval of the dimensionality 0<d<1. However, I faced with the problem that even for d=1 (the classical case) I get the error "Error, (in dsolve/numeric/bvp) Newton iteration is not converging".

Here is my simple code

restart;

with(plots):

R0 := (diff(z(x), x, x))*kappa^2-(1-d)*kappa^2*(diff(z(x), x))/x+z(x)-z(x)^3;

kappa := 2; d := 1;

p := dsolve({R0, z(-15) = 0, z(15) = 1}, type = numeric, range = -15 .. 15, maxmesh = 50000):

odeplot(p);

Thank you in advance.

Since I have updated from Maple 2021 to 2023 something is wrong with my stylesheets.

I rephrase my qeustion here:

I like to change the text-style of 2D-Input to courant 12, bold, color x, no italic.

Now it is courant 12, black, italic when opening a new worksheet.

I was going to format, style, 2D-input, modify and then the font has changed when opening a new woksheet but the color is going back to black and its also italic courant when pressing enter in that worksheet.

I When opening a new worksheet, i don't want ot looad an new style set by hand every time.

 

Thanks for support

 

 

How will I use maple 2016 to solve ODEs and showing the steps involved because this will increase my understanding in it. 

The worksheet below includes a sample use of the Mobius transformation which produces a hyperbolic reflection of a point in the Poincare disk, followed by my attempt to produce the same result from first principles in a procedure.

Do I misunderstand the Mobius transformation and its use and/or is my procedure incorrect? 

InversePoint.mw

First 158 159 160 161 162 163 164 Last Page 160 of 2427