Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

As a piece of work, I am required to define a function, and plot it in 3d.

The problem is regarding the 'gamma' function. We have to define it as:

myGamma:= x->int(exp(-t)*t^(x-1),t=0..infinity);


Then a later part of the questions asks you to define phi as the following function:

 

How may I program the following with Maple?

 

(1) Define the function:

H(p) := p * c1 + p^2 * c2 + p^3 * c3  + ......

 

(2) Now construct the following expression:

 

(1-p) [ v''' + 1 ]  = H(p) [ v''' - 25 * v' + 1]

Here, v is some funciton of x.

 

(3) Now assume: v = u0 + u1 * p + u2 * p^2 + ...

and substitute this into the expression defined at the point (2).


 

sys_ode := diff(lambda[1](t), t) = lambda[2](t)+sin(t), diff(lambda[2](t), t) = lambda[1](t)+cos(t)

This worksheet is created with Maple 14, which works fine. Running it in Maple 15 I got a message "Connection to kernel is lost" or something the like (the message was in Chinese). I am under Mac OSX and the worksheet makes use of the grtensor ii package freely available on the net.  Any assist please?

C-metric-4d.mwC-metric-4d.mw

Hello, I'm Tam and I had a problem with Conditional of Jacobi Iteration.

So, the proplem is:

>restart;

>with(LinearAlgebra):

A:=Matrix([[5,1,-1],[0,4,2],[-1,2,-7]]);

And I want to check the condition

with the maple program.

Fisrt, I typed

b:=sum(abs('A'[1,j]),j=1..ColumnDimension(A)); and I got b:=7

Hi,

Im trying to evaluate a Transfer function from a block diagram.

i have written all the equations but i cant find the command to find the symbolic solution

of theta_l/Theta_d in terms of A,B,C,s,Kp,Kv

 

attched is the maple file.

i use maple 13.

 

 

 

 

Hello,

For a face recognition program I need to import all the jpg files that are in a map
on the hard drive. I can already do this by f(i):=Read("C:xxx\\xx\\xxx\\xxx.jpg"); 
that gives f(i) a single jpg file.
But this requires every file to be imported separately. Is there a way to import all the jpg
files from that map?
e.g. f:=Read("...\\*.jpg"); that would give f a list of all the jpg files in the map.

KR 

Suppose that I wanted to produce a 2D plot which was coloured in the region between two functions.

I mean not just between two curves, but between two functions. I would like to make the curves appear as smooth as Maple knows how, but without getting any jaggedness due to using a high grid in an implicitpot.

Consider this example. These two curves are displayed as being quite smooth (using adaptive plotting or whatever `plot` knows to use). How best can the regions between these two curves be filled, without having to recourse perhaps to a rough implicit plot?

plot([x^2-1, -x-1], x=-1.5..1.5, y=-1.5..1.5, color=black);



A simple trick with a product provides a defined implicit region that `implicitplot` can handle. But there can be small gaps, or irregularities, because the formulas for the curves are being solved in a complicated way and no longer being used as mere functions.

plots:-implicitplot( (y - (x^2-1))*(y - (-x-1)),
                     x=-1.5..1.5, y=-1.5..1.5,
                     filledregions=true, gridrefine=4,
                     coloring=[COLOUR(RGB,.8,.8,.9),"white"],
                     axes=boxed, labels=["x","y"],
                     view=[-1.5..1.5,-1.5..1.5] );



Another technique is to overlay two simpler implicit plots, colouring and layering them carefully so as to give the impression that only the inner regions had been coloured. The problem here is that the intersections all have to be computed and the problem split up piecemeal (which I did not do) so that the layered colouring is adjusted to whichever curve lies on top. Without that care, then something like this happens, with odd subregions appearing uncoloured.

plots:-display(
   plots:-implicitplot( x^2-1 >= y, x=-1.5..1.5, y=-1.5..1.5,
                        filledregions=true, gridrefine=4,
                        coloring=["white","white"] ),
   plots:-implicitplot( -x-1 >= y, x=-1.5..1.5, y=-1.5..1.5,
                        filledregions=true, gridrefine=2,
                        coloring=[COLOUR(RGB,.8,.8,.9),"white"] ),
               axes=boxed, labels=["x","y"], view=[-1.5..1.5,-1.5..1.5]);



Did I miss something obvious? Is there some other calling sequence or command that makes this much easier (and smoother, by default)?

It is possible to thicken the axes of 2D plots by adjusting the underlying data structure, since the appropriately placed THICKNESS() call within the PLOT() data structure is recognized by the Standard GUI. This does not seem to be recognized for PLOT3D structures, however.

The issue of obtaining thicker axes for 2D plots can then be resolved by first creating a plot, and then subsequently modifying the PLOT structure.

The same techniques could be used to thin...

I want to have a Plot component display animations, controlled by a button. I want each click
of the button to show a new animation.

So e.g. the Action when Clicked for the button might be something like this (for animations alternately in blue and red):

use DocumentTools, plots in

if cc = red then cc:= blue else cc:= red fi;
Do(%Plot0 =animate(plot,[sin(x+t),t=0..Pi,colour=cc],x=0..Pi,frames=4));
SetProperty(Plot0,play,true,refresh=true)

I'd like to read old Maple Worksheets created with Maple V release 4 (.mws files) to the Maple version 12.


When I am loading old worksheets, then system crashes with an error message:
Kernel connection lost, You should save this worksheet and restart Maple ....

Is there a way to load (import) old worksheets into newest versions of Maple

Thans Jaroslav

Hi!

 Sorry for my english, I'm french! :)

I try to make a modelisation of pedestrian dynamics.

 

Look:

There's someone, (a dot in Maple) at some randomn place in a square.

 

He want to go to another place.

So, there's 3 dot in Maple:

- S: The start fixed

- X: Mr X who is traveling from S to E

- E: The end fixed

so, without any rule, X is drawing a line from S to E.

I have a long expression which I want to factor optimally.  If I can cancel terms in the numerator and denominator, great, and if not, I just want to reduce the size as best possible.  Maybe there will be terms such as

(x12 + x32 + y12 +y32)*(x22 + x42 + y22 + y42)

which I see when factoring the denominator by hand.  Here's the worksheet, the final...

The Question was like this:

Using this program as a basis, write a procedure  so that Maple performs a trapezium rule approximation of

the integral of

When I use the solve command in Maple15 nothing happens. I just want to solve for V and Cf.

Does maple not like implicit equations? The file is attached

First 1634 1635 1636 1637 1638 1639 1640 Last Page 1636 of 2224