Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi

I am a PhD scholar at the University of Queensland. I am reviweing a paper titled as "A similarity solution for laminar thermal boundary layer over a flat plate with a convective surface boundary condition"(the pdf is available online). In this paper the author has written a MAPLE code. I copied the same code in MAPLE but could nt succedded. The author used the Runge Kutta RK5 Method to solve the model.

Please help me to solve the same model...

... is finance.dll missing in Maple16 (64 bit), as it was in Maple15 (64 bit), so you have to install the 32 bit version instead?

Is it possible to move the finance.dll-file from Maple16(32-bit) to Maple16(64-bit)?

Jestrup

Hi there,

I've written a maple worksheet file (*.mw) that does some long calculation and got a result.

If it matters, the result is a 3X3 matrix with different parameters (not only numbers). 

So far so good. 

I want to use this result in another maple worksheet file.

Can I import only the result by somehow referancing the filename and equation number in that file?

Just...

how to plot log(-1+e^t) t=0..2*Pilog(-1+e^t,t=0..2*Pi)

Hi.

 

I writing a code with using matlab package.

when i using "setvar" maple is showing the folloeing error:

"Error, (in Matlab:-openlink) Can,t find matlab's Engine library, libeng.dll. windows reported"

 

but this dll is in matlab directory,

i,m using, win 7, 64 bit, matlab 2009b 64bit, maple 14.

Hey,

Is there a way of searching a list for two consecutive numbers?

Eg. I have the sequence:

Hi!

I've got this annoying problem and it's quite simple reproducible.

> with(GraphTheory): G := Graph({{a, b}, {b, c}, {c, d}}); Edges(G);

Edges(G) returns me

Error, (in EdgesExt) external library libgraphtheory.so could not be found/used

 

It's the first time I encounter such a problem and have no idea on how to solve it, any advice?

I can see that libgraphtheory.so...

Hi, all. The problem is following. I have an ODE where right hand side is an integral function. For simplicity consider the following example:

 

with(DETools);

f:=q->int(exp(cos(s)), s=0..q);

DEplot({diff(x(t), t) = f(t)}, [x(t)], t = 0 .. 1, [[x(0) = 1]]);

 

this code doesn't work:

Error, (in DEtools/DEplot/CheckDE) extra unknowns found: s

Here is a hacked-up and short `convert/identifier` procedure.

The shortness of the procedure should is a hint that it's not super robust. But it can be handy, in some simple display situations.

If I had made into a single procedure (named `G`, or whatever) then I could have declared its first parameter as x::uneval and thus avoided the need for placing single-right (uneval) quotes around certain examples. But for fun I wanted it to be an extension of `convert`. And while I could code special-evaluation rules on my `convert` extension I suppose that there no point in doing so since `convert` itself doesn't have such rules.

For the first two examples below I also typed in the equivalent expressions in 2D Math input mode, and then used the right-click context-menu to convert to Atomic Identifier. Some simple items come out the same, while some other come out with a different underlying structure and display.

 

restart:

`convert/identifier`:=proc(x)
   cat(`#`,convert(convert(:-Typesetting:-Typeset(x),`global`),name));
end proc:

convert( 'sqrt(4)', identifier);

`#msqrt(mn("4"))`

eval(value(%));
lprint(%);

`#msqrt(mn("4"))`

`#msqrt(mn("4"))`

`#msqrt(mn("4"))`

`#msqrt(mn("4"))`

lprint(%);

`#msqrt(mn("4"))`

convert( 'int(BesselJ(0,Pi*sqrt(t)),t)', identifier);

`#mrow(mo("∫"),mrow(msub(mi("J",fontstyle = "normal",msemantics = "BesselJ"),mn("0")),mo("⁡"),mfenced(mrow(mi("π"),mo("⁢"),msqrt(mi("t"))))),mspace(width = "0.3em"),mo("ⅆ"),mi("t"))`

eval(value(%));
#lprint(%);

`#mrow(mo("∫"),mrow(msub(mi("J",fontstyle = "normal",msemantics = "BesselJ"),mn("0")),mo("⁡"),mfenced(mrow(mi("π"),mo("⁢"),msqrt(mi("t"))))),mspace(width = "0.3em"),mo("ⅆ"),mi("t"))`

`#mrow(mo("∫"),msub(mo("J"),mn("0")),mfenced(mrow(mi("π",fontstyle = "normal"),mo("⁢"),msqrt(mi("t")))),mo("⁢"),mo("ⅆ"),mi("t"))`

`#mrow(mo("∫"),msub(mo("J"),mn("0")),mfenced(mrow(mi("π",fontstyle = "normal"),mo("⁢"),msqrt(mi("t")))),mo("⁢"),mo("ⅆ"),mi("t"))`

#lprint(%);

convert( Vector[row](['Zeta(0.5)', a.b.c, 'limit(sin(x)/x,x=0)', q*s*t]), identifier);

Vector[row](4, {(1) = Zeta(.5), (2) = a.b.c, (3) = limit(sin(x)/x, x = 0), (4) = q*s*t})

eval(value(%));
#lprint(%);

Vector[row](4, {(1) = Zeta(.5), (2) = a.b.c, (3) = limit(sin(x)/x, x = 0), (4) = q*s*t})

 

Download atomic1.mw

As it stands this hack may be useful in a pinch for demos and purely visual effect, but unless it's robustified then it won't allow you to programmatically generate atomic names which match and inter-operate computationally with those from the context-menu conversion. Identifiers (names) with similar typeset appearance still have to match exactly if they are to be properly compared, added, subtracted with each other.

Extra points for commenting that the round-brackets (eg. in function-application) are displayed as black while the rest is in blue by default, if you have a workaround.  That also happens when using the usual context-menu driven convert-to-atomic-identifier of the Standard GUI.

Extra points for noticing that function names like `sin` are italicized and not in an upright font, if you have a workaround. How to discern which instances of fontstyle="normal" should be removed?

Points off for commenting that this whole hack doesn't provide anything new or extra for getting around automatic simplification.  :)

This is a one-liner hack. But maybe together we could turn it into something that closely matched what the context-menu generates.

In a related question to this answer (http://www.mapleprimes.com/questions/129140-Surface-Fitting#comment129195). How can we take partial derivatives of the multivariable fitting function (in the example above, the function B(a,b)?
It seems like the package CurveFitting only allows to numerically evaluate the fitted function when we use ArrayInterpolation, but I assume deep in the code there must be an analytic ...

I try to write sqrt(4) so that it will not be calculated to 2. I typed uneval(sqrt(4)) and received sqrt('4'). I do not want quotes surrounded number 4. How can I suppress it? Is there another way to write sqrt(4) without calculation to 2?

Dear experts,

 I want to extract the coefficient of z^k from an infinite series summation (known as probability generating function or characteristic function or Z-transformation) , the co-efficient is actually the probability of the R.V. will take value k.

Next problem in the same question is the summation is not working if I sum from 0 to infinity. It is working from 0 to 300.

I have attached the PDF for expressing the problem and the Maple code. I have used convert...

I have written a (rather extensive) module, which I can load without problems if I run it in the following way:

 

restart: libname:="C:\\PathToLib",libname; with(NameOfLib);

 

Note that the above is all in one line and executed at once. If, however, I load the library like above, but line by line, the loading fails, giving the error "Error, Did not recognize this structure's syntax".

How can there be a difference...

I just purchased Maple16 and am working on a problem where I need to solve for variables which are imbedded in non-trivial equations. When I first began using Maple16 to solve for these symolic variables, the solve function worked; however, after about 45 min of using the solve command, on non-trivial equations, it would output nothing and the cursor would move down to the next line. A simple equation such as: f(x)^2-g(x)f(x)=s(x) it will still solve. Has anyone ever experienced...

hi

i have problem to find the x with Romberg's method and ask for your help...

how to find x when the integral is equal to 3

thanks for your helps

First 1564 1565 1566 1567 1568 1569 1570 Last Page 1566 of 2224