MaplePrimes Questions

Exporting one plot in program works well:

       MapleEngine.EvalMapleStatement(kv, "Export(\"D:\\\\MyGraph.jpeg\",plot(sin(x)*cos(2*x)));");

But if I'm trying to export two plots, program stops working and prints no exception:
        MapleEngine.EvalMapleStatement(kv, "Export(\"D:\\\\MyGraph.jpeg\",plot(sin(x)*cos(2*x)));");
        MapleEngine.EvalMapleStatement(kv, "Export(\"D:\\\\MyGraph2.jpeg\",plot(sin(x)*cos(2*x)));");

What is the cause?

Hello,

I work in maple  2017,but the "interface "command seems doesn't work. But it works in the old version(maple 18). Does anyone know what problem with it?

restart; with(PDEtools);
U := diff_table(Psi(`ψ_2`, `ψ_1`));
pde := `ψ_2`*(diff(Psi(`ψ_2`, `ψ_1`), `ψ_1`))+`ψ_1`*U[`ψ_1`]+2*U[] = 0;
ψ_2 Psi(ψ_2 + 1, ψ_1)

   + ψ_1 Psi(ψ_2 + 1, ψ_1) + 2 Psi(ψ_2, ψ_1) = 

  0
pdsolve(pde);
Error, (in pdsolve/info) first argument is not a differential equation

How can i solve it?

My Maple worksheet is attached below - where I am solving two quantum mechanics problems, trying to find the eigenvalues for certain potentials.  Using a previous post in Mapleprime (https://www.mapleprimes.com/questions/221629-Can-Maple-Find-Solution-To-Eigenvalue),  I saw how to get the lowest eigenvalue.  My question is how using numeric solutions, I can get the higher eigenvalues and corresponding solutions.  Is there a way to specify that e (the eigenvalue) has to be in a certain range.  I tried to specify assumptions (e>0.6), but that didn't work.  I know that for the second problem (using the shooting method) that the 4 lowest eigenvalues are 0.184358, 0.70747, 1.2065, 1.5625.  Thank you very much for you consideration.

 

ODE_BVP_eigenvalues.mw

 

 

Why does solve not find the value of xp = sqrt(1-v^2) in this worksheet?

SpecialRelativity.mw

Reference: Special Relativity and Classical Field Theory. Authors: Leonard Susskind and Art Friedman

I think I've seen this somewhere in Mapleprimes but I can't locate it. How do you pull the type and number of operations from an equation? 

a:=3*x^3-5*x^2+3*y

                   " *,^,-,*,^,+,* "

 

f := (s) -> -HankelH1(1, s)-2*I/Pi*BesselK(1, s);

evalf(Int(f(s), s = 0 .. 1));
                 -0.2348023134 + 0.3562894462 I

evalf(Int(Re(f(1.*s)), s = 0 .. 1)+I*Int(Im(f(1.*s)), s = 0 .. 1));
                 -0.2348023134 + 0.3562894462 I

evalf(Int(f(1.*s), s = 0 .. 1));
               -0.2094198744 + Float(infinity) I

I don't know if the third one is really an issue, but given that the first two work fine, looks suspicious.

If i have made a component invisible for asthetic reasons, (eg a text box) how can i undo this to edit its contents?

How can i export a plot using open maple in java?

engine.evaluate("Export(\"D:\\MyGraph.jpeg\", plot(sin(x)));");

and 

engine.evaluate("exportplot(\"D:\\MyGraph.jpeg\", plot(sin(x)));");

doesn't work,

exception - com.maplesoft.externalcall.MapleException: Error, (in Export) exported file D:MyGraph.jpeg could not be createdError, plotting was not implemented by the application

 

Thanks.

1. This seems wrong:

applyrule(x::symbol+y::symbol = 0, a+b);
                             a + b

2. Should these two match f(a)?

applyrule((h::anything)(a) = 0, f(a));
                              f(a)
applyrule(x::f(x1::anything) = 0, f(a));
                              f(a)

3. hypergeom will give an error if the arguments are not lists, so how to write a pattern that will match hypergeom(anything, anything, a)? This works but is... skittish:

applyrule('''hypergeom'''(x1::anything, x2::anything, a) = 0, hypergeom([], [], a));
                               0

How do i find the distance between the quasi cyclic codes in maple ?

how do i solve a system of PDE's with variable coeffiecients in Maple?

I have some elliptic curve with some points on it:

I would like to give the points some names, P, etc., but cannot figure out how to do that probably simple task. The help pages ?plot,options and ?pointplot do not seem to cover it; I may be mistaken, of course. The above plot is the result of the following code:

curve := y^2 = x^3 - 43*x + 166;
display([
   plot(+sqrt(rhs(curve)),x = -10..12),
   plot(-sqrt(rhs(curve)),x = -10..12),
   pointplot([[3,8],[-5,16],[11,32],[3,-8]],symbol = solidbox)
]);

Update: Using, among other things, the textplot command as suggested below, here, just for the fun of it, a plot illustrating the group 'addition' of points on an elliptic curve, the three lines being tangents to the curve:

Hello everyone,

I have modeled a parallel manipulator using MapleSim 6.4 and it is giving me an error.

ParalelManipulator_v2.msim

The types of joint are shown by the visual below. Note that in my model I have used a universal joint or two coinciding revolute joints instead of a speherical joint.

First 916 917 918 919 920 921 922 Last Page 918 of 2434