Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
Hi i'm working on a simulation and have got stuck. The simulation is for cyclists cycling on a circular track. There is a section of track which is treacherous and all cyclists who pass through this point must observe a certain maximum speed until they have cleared this area and can continue round the track as fast as they can although keeping a safe distance behind the cyclist in front. It is assumed for simplicity that cyclists cannot overtake each other. These are my workings so far: >bicycle := (pl,sl,len) -> (pl+sl) mod len: > >vel:= proc(pl,len,vmax) > local n;

For the set of functions
   compiletable - create lookup table
   tablelook - perform table lookup
   insertpattern - append to lookup table

I observe these behaviors:
1. The function tablelook( ) only seems to work when the table has been been intiailized with compiletable( ).
2. The function insertpattern( )  nevers seems to work.

Hi...

I'm trying to write the following lines in a more "decent" way, but I don'tknow how to

I don't know how to start or what should I use, can someone give me a tip????

Thanks a lot!!

So today I'm trying to play around with matrix norm until I've come across this "bug" (I assume)... with(LinearAlgebra): r:=Matrix([2*x,x^2,x^3/3]); dr:=Matrix(map(diff, r, x)); MatrixNorm(r,2); MatrixNorm(dr,2); My question is that why does Maple spit out "x" and "xbar" while obviously, it should all be "x". And what's the command to make it just in terms of "x"

Hi I have been given an example of a iteration exercise for my course however with very little accompaning rescources to solve it. I have tried numerous methods and most vary around my most recent attempt but still to no avail. None of my fellow students and myself combined still can't manage to solve this. I was wondering if you could give some insight as to what we need to do differently from what we are currently.

The question is as follows:

I am trying to plot a 3d curve using the "plot3d" command.  When I type in this command along with a function and x,y bountries (x=-5..5,y=-5..5) the x and y axis do not range from -5 to 5.  How do you fix this?  Also, is it possible for the z axis to be scaled?

Thanks

How do I fix this? i have to hand this assignment in by tuesday x_x. so far maple11 isn't giving me a decimal answer because it thinks e is also a variable. I was also having trouble trying to make composite functions but i found a little way around it so it isn't that much of a deal for me, however if you can point out my mistake to me and what i should have done instead, i will greatly appreciate it.

here's an image of my question+what i've done so far.

I am new to Maple and have some questions about the LPSolve function.

I have read the help about the function but still don't understand how it works.

I would like to use LPSolve to solve a matrix maximization problem.

Which is listed in the help as : LPSolve(c, [A, b], [bl, bu], maximize)

Can anyone give me an example of how this function is used and what math equation does it apply to?

Thank you for helping.

Hi,

I have the expression 1 - mul( (365 -n)/365, n=1..2).

 

What I want is to run the command with values of n always starting from n=1 - but also get values for n=1..3, n=1..5, n=1..i where i < 366.

 

I would truly appreciate help in this - I'm sure it's simple, I just can't make it work :)

 

Best regards,

Troels

"Equate - convert a pair of rectangular objects into a list of equations" How can I do the opposite? e.g. converting [a=2, b=4, c=3] into [2,4,3]
Hello, I want to solve a DE in x(t) where the RHS of the equation is a random number that changes with time. For example: x''(t) + 10 x(t) = f(t) where f(1)=1, f(2)= 6, f(3)= -2...etc. I tried to use ran() but it solves it for a fixed random number, while I want it to be time dependent . Is there a way I can do that? Thanks

Large or involved projects may involve Maple modules which rely upon each other. Routines in one module may call routines in another module. Interdependence of modules can have a direct bearing on the available means of successfully utilizing the `use` functionality. In certain situations, some of the ways to utilize the `use` statement can be problematic.

Some such situations, and workarounds, are illustrated below.

The basic description of the `use` statement functionality is,

I have a set of points and I want to display them in animation joined sequentially by line segments.  What's wrong with the following code?   Maple 11 gives the message    "Error, unable to execute seq"

traj:= [2,1], [3,2],[4,3], [6,8],[3,-2]

animate( plot,  [   [seq( traj[ k ],  k=1..J )]   ]  ,  J=[ 2,3,4,5] )

 

 

in maple 11, can anyone give me the right commands in making a plot coords for a set of datas..... my data is about number population of 4 species per month... the independent variable is time/month, while the dependent variables are the 4 species which are frog, spiders, snakes, and beetles..... any help will be appreciated...

What I have done wrong?

 

eq := [piecewise(p(t) < prec, p(t) = C1*exp(function), p(t) >= prec, p(t) = C1*exp(function))]

 

params := [C1 = .2, prec = 100]

sys := DynamicSystems[AlgEquation](eq, inputvariable = [function], outputvariable = [p(t)])

But I recieve the following error message:

Error, (in DynamicSystems:-AlgEquation) cannot match the arguments to an appropriate system

First 1988 1989 1990 1991 1992 1993 1994 Last Page 1990 of 2205