MaplePrimes Questions

Hello,

I am quite new on Maple and Maplesim. A co-worker and I are evaluating a demo version (Maple 18 with Maplesim 7) for a possible purchase in 2015. For the project my collegue and I are working on, we need to detect when a signal becomes zero in order to switch between two options. We were trying to do this using the "Change" or "Boolean Change" components (the difference between those two is not really clear to us). Correct me if I am wrong, but those components should detect when a boolean signal has a change in value (both rising or decreasing) and in that case the output should become TRUE, while otherwise is FALSE.

The problem is that the component work if a "Terminate" is connected, but the output is always FALSE in any other case.

At the bottom we are attaching a file with two very easy examples.

In the first one the input of the "Boolean Change" component is a "Boolean Pulse". We compared also the output of the "Change", "Rising Edge", and "Edge with Initial Value" components. We were expecting istantaneous pulse with frequency equal to that of the boolean pulse, or its half for the Edge block. On the contrary the output of all the components stays zero (thus FALSE) for the whole simulation.

The second example use the output of a "Greater Threshold" component to enter the "Boolean Change", whose output is used to trigger a "Switch", whose output is in turn used as an input for the "Greater Threshold" component. The expected result is to have the "Switch" output to alternate the two inputs, instead it keeps the second one (thus the input for the switch is always FALSE).
The feature we need is more similar to this second output, but we don't understand what we are doing wrong or if there is another way to do it.
Thank you in advance
Irene

test_change.msim

The limit of

G := N -> sum(1/N*numtheory[sigma](k)/k,k=1..N ) 

as N -> infinity should be Pi^2/6. However

eval( G(N), N=infinity );

returns 0.

Can anyone explain this puzzling behaviour?

Looking at  http://www.maplesoft.com/support/help/maple/view.aspx?path=ImageTools

and

http://www.maplesoft.com/support/help/maple/view.aspx?path=ImageTools%2fFormats

it seems to only support jpeg,tiff,bmp.

This seems like something from 1980's days. Is there another package to load other image formats? Such as png for example, and to export as png?

I'd like to import png file, rescale it in Maple (make thumbnail image) and export it again.

I am using 18.1 on windows 7

As stated, contourplot3d is not displaying contours. Even in the Maple Help examples the contours are not displayed in the help screen.

In this example:

contourplot3d(-5*x/(x^2+y^2+1), x = -3 .. 3, y = -3 .. 3, filledregions = true);

which is directly from Maple Help, the surface is plotted (with boxed axes), but no contours appear.

When I try

contourplot3d(-5*x/(x^2+y^2+1), x = -3 .. 3, y = -3 .. 3);

the plot shows nothing except boxed axes.

I've also tried

plot3d(-5*x/(x^2+y^2+1), x = -3 .. 3, y = -3 .. 3, contours=6);

and the surface shows but without countours. Furthermore, the Maple scripts that worked previously in earlier versions (showing contours via plot3d) now do not show contours in Maple 18. This occurs on both Win 7 and Win 8 laptops.

Thanks!

 

Hello everybody

I am working on the bending of FGM plate, and I just used maple for the calculation functions of my problem of the bending of FGM plates.

Can any from the members of mapleprimes one help me to write Navier's equation include below for the bending of the plate because I am new in using Maple 18

alfa=m*pi/a, beta=n*pi/b with m=1,3,5..100 and n=1,3,5...100

Thank's for all 

Bending

Hi gang!
Upon upgrading to a stable mac OSX Yosemite, I've been experiencing a noticeably slower Maple 18. The Maple machine itself is quick during calculus operations, though the interface bugs me after the upgrade.

It seems as if the program constantly has to load any open palettes. So for an example, if I run with the 'expression' and 'calculus'-palettes open - which I do constantly - it seems as if Maple has to load every single icon, piece by piece. This loading occurs randomly, but often it happens several times every minute. The loading causes a 3-4 sec lag, which is incredibly annoying. Closing the paletts does not affect this random loading. I run with the recent Java-upgrade specifically for Yosemite.

Before upgrading, I ran Maple 18 on 10.9 Mavericks and everything worked ran like a dream. The program was incredebly fast and responsive. Furthermore, I run Maple on a late 2014 fully specced MBP, so hardware shouldn't be an issue either.

My Maple is installed with an authorized academic license.

 

Anyone able to give some inputs to what might seem to cause the issue here?

Thanks a bunch! :-)

 

Best regards,

Claus Iversen

Denmark

 

 

Aslam-u-Alikum, want to write the following in Maple please help

psi[1]:=psi[1,0];

psi[2]:=psi[1,1];

psi[3]:=psi[1,2];

psi[4]:=psi[1,3];

psi[5]:=psi[2,0];

psi[6]:=psi[2,1];

psi[7]:=psi[2,2];

psi[8]:=psi[2,3];

PhD (Scholar)
Department of Mathematics

[x+p*y, x+y, y+z] would like to filter with indets([x+y,y+z])

so that that the list remove polynomials which contain variable p

with(plots)

inequal((2*c-1)/(3*c-1),c=0..1.5,Alpha=0..1)

 

with(plots)

inequal((2*c-1)/(3*c-1),c=0..1,Alpha=0..1)

 

Why are the results of the two orders above so different???

A bug in the function of inequal???

i am solving 3 ODE with boundary condition.. with boundary condition

 

b.mw

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/b.mw .

Download b.mw

 

then i got this error

Error, (in dsolve/numeric/bvp) initial Newton iteration is not converging

i dont know where i need to change.. could you help me..

 

Dear Friends,

My present problem is to calculate the coefficients  

of ODES based on the experiment data. In order to simulate the actual experiment, a set of  is given with . Then the experiment data (yexp) can be calculated. Finally, the least-squares method (lsq) is used to calculate the coefficient values. Now the NLPSolve function can be used. However, the globalsolve cant run.

 

If it is convenient for you, wish you can solve it.

 

Code:

 

restart;
cdm_ode := diff(y1(t), t) = c0*(y6(t)*(1-y3(t))/(s0*(1-y4(t)*(1-y5(t)))))^n/(1-y2(t)), diff(y2(t), t) = ks*y2(t)^(1/3)*(1-y2(t)), diff(y3(t), t) = h1*(1-y3(t)/h2)*c0*(y6(t)*(1-y3(t))/(s0*(1-y4(t)*(1-y5(t)))))^n/(sigma*(1-y2(t))), diff(y4(t), t) = (1/3)*kp*(1-y4(t))^4, diff(y5(t), t) = A*B*y1(t)^(B-1)*c0*(y6(t)*(1-y3(t))/(s0*(1-y4(t)*(1-y5(t)))))^n/(1-y2(t)), diff(y6(t), t) = y6(t)*c0*(y6(t)*(1-y3(t))/(s0*(1-y4(t)*(1-y5(t)))))^n/(1-y2(t));

 

tol_t := 3600;
sol := dsolve([cdm_ode, y1(0) = 0, y2(0) = 0, y3(0) = 0, y4(0) = 0, y5(0) = 0, y6(0) = 175], numeric, range = 0 .. tol_t, output = listprocedure, parameters = [c0, n, sigma, s0, ks, h1, h2, kp, A, B]);

sol(parameters = [5.7*10^(-6), 10.186, 175, 200, 5*10^(-8), 10000, .269, 1.5*10^(-7), 1.5, 2]);

t := [seq(i^2, i = 0 .. 50, 1)];

y1data := subs(sol, y1(t));
 
y1exp := [seq(y1data(t[i]), i = 1 .. 51)];

err := proc (c0, n, s0, ks, h1, h2, kp, A, B) local y1cal, y1val, lsq; sol(parameters = [c0, n, 175, s0, ks, h1, h2, kp, A, B]); y1cal := subs(sol, y1(t)); y1val := [seq(y1cal(t[i]), i = 1 .. 51)]; lsq := add((y1val[i]-y1exp[i])^2, i = 1 .. 51); lsq end proc;

with(Optimization);
val := NLPSolve(err, 10^(-8) .. 10^(-4), 2 .. 20, 150 .. 250, 10^(-2) .. 1, 100 .. 20000, 10^(-5) .. .4, 10^(-5) .. 1, .5 .. 2, 1 .. 10);
GlobalSolve(err, 10^(-10) .. 10^(-4), 2 .. 20, 150 .. 250, 0 .. 1, 100 .. 15000, 0 .. .5, 0 .. 1, .5 .. 2, 1 .. 5);


Error, (in GlobalOptimization:-GlobalSolve) `InertForms` does not evaluate to a module

 

 

 

 

 

This question is directed at Maplesoft employees. I am not sure if this is the best place to ask this question, but I don't know where else to ask.

I use my desktop machine at home and my tablet at university, so would like to have Maple installed on both machines. Currenly I have Maple installed on the tablet. The tablet is for portability, but at home, Maple is easier to use on the desktop due to the bigger screen and keyboard.

I can't afford to pay for 2 licenses, and I am not sure that many students can. Can Maplesoft change the licensing model to include a second license for $50? I bought Maple 18 for $132, and would be happy to pay $50 for a second license. This way, Maplesoft can make more money, and the student can use Maple in better ways.

Thanks.

EDIT: I also bought the Mathematics Survival Kit, mainly because it featured prominantly in the Maple webstore, and integrates with Maple. Information about the MSK were sparse, and so I was really buying blind, based solely on my good image of Maple. I found the MSK to be terrible, and because of it's association with Maple, tarnished Maple's image for me. 

I recommend Maple to people, but I also warn them about buying add-ons, based on my experience with the MSK, which is truly terrible.

Hi. I need to test if a variable is a dot-product of "anything"-s (usually it is quantum operators).
I try the following

restart; 
with(Physics);
Physics:-Setup(mathematicalnotation = true);
Physics:-Setup(anticommutativeprefix = psi);
ap1 := Physics:-Creation(psi, 1, notation = explicit);
am1 := Physics:-Annihilation(psi, 1, notation = explicit);
ap2 := Physics:-Creation(psi, 2, notation = explicit);
am2 := Physics:-Annihilation(psi, 2, notation = explicit);

z1 := ap1.am1.ap2:
type(z1, ('`.`')(anything));

and get

false

whereas

z2 := a*b*c; 
type(z2, (':-`*`')(anything));

returns

true

I studied ?type,structured and other sources but didn't find any answer.

First 1359 1360 1361 1362 1363 1364 1365 Last Page 1361 of 2434