MaplePrimes Questions

Hi

Why, when I run the integral command, it only prints the integral instead of solving it?

Hi, I'm looking to create a series of random exercises on square roots for my students with two objectives: Simplify square roots and rationalize the denominator. Here's my scenario: I'm using the properties of the table to display the question and its solution, and generate a PDF with a good layout. I have two issues with the code: I don't want to display the '*' symbol when using "Parse" for "ex1" and "ex2," and I want only one denominator to be displayed for "Sol2." Thank you very much for your insights

AléatoireSérieRadicauxTEST.mw

TestRacineCarrée.pdf

Hi all

I need your advice on Maple usage after a long break. I installed Maple on my laptop and first of all tried to launch my old program. Surprisingly, the old file opened. While the core Maple functionality remained familiar, the user interface had undergone some changes.

Yet, I soon encountered challenges when attempting to perform even the simplest operations, like file browsing or text selection; the Maple Standard GUI seemed uncharacteristically sluggish.  I switched to Maple Input mode but it didn't help much. Are there ways to improve my experience with Maple? Is it caused by the outdated hardware?

My system:
Ubuntu 22.04.3 LTS
Dell Inc. Latitude 5510 (1TB SSD, 32GB RAM).

Maybe it works much better on Windows?

Thank you for any suggestions.

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.

First 39 40 41 42 43 44 45 Last Page 41 of 2308