MaplePrimes Questions

i follow

http://www.maplesoft.com/applications/view.aspx?SID=4706

and edit existing code to solve a equation and got some questions and error, How to solve pde with finite difference in maple?

r := 0.03;
K := 20;
Smax := 20;
T := 1;
ex1 := diff(y(x,t), t) + r*x*diff(y(x,t), x) + 1/2*sigma^2*x^2*diff(y(x,t), x$2) + x*diff(y(x,t), x)*diff(y(x,t), t) = r*y(x,t);

bc1 := y(0,0)=K*exp(-r), y(Smax,0)=0;
a := 0;
b := 1;
N := 10;

Does anyone know how to control the placement of the directional arrows for a digraph?

Here's an example:

with(GraphTheory):

G := Digraph(Trail(4,2,1,3,4,5),Trail(6,8,9,7,6,5));

SetVertexPositions(G,[[0,1],[1,1],[0,0],[1,0],[2,0],[3,0],[4,0],[3,1],[4,1]]);

DrawGraph(G);

produces:

The...

Hi there,

I've got a weird error which kept me busy for two hours now:

I'm doing computations outside Maple and successfully read in a string, e.g.

s := "T(3)^5*T(5)^35";

Then I parse s by performing

t:=parse(s)

Then

u := subs({seq(T(i) = S[i], i = 1 .. 5)}, parse(t))

gives me

S[3]^5 * S[5]^35

Now the weird part: This works all fine if I put those command right in a Maple10-sheet.

If I however use this in a function fun(...

 Hello,

I am trying to use a worksheet developed by Professor Batista [ritz06.mws] for calculating plate vibration frequencies using the Ritz method, which is available from the Applications directory - Mechanical Engineering folder.  The worksheet was developed using Maple 12 and I am using Maple 11; a careful reading of the file didn't show any commands that were incompatible across the two versions and yet I am not able to solve the worksheet using the default inputs provided in the worksheet.  I have attached a PDF output of the file with the error message.  Any assistance that could be offered would be greatly appreciated.

Please send your response to wayne.bell@fpl.com.

Kind regards,

Symbolic_integral.mw

Thanks in advance

K, im on this question right now:

Show that dV/dt = -k * V^(2/3) given that k = 0.4836 and t is measured in minutes if the original volume of the capsule is 300 ml, how long will it take the capsule to lose half its volume?

Im doing this on maple right now and see you if guys can spot my problem or my syntax:

1. eq1 := diff(y(t), t) = -k*y(t)^(2/3)

2. dsolve(eq1, y(t)) which gives me an equation

3. dsolve({eq1, y(0) = 300}, y(t...

How do I plot the numeric solution for both x(t) and y(t) on one graph to the differential system:

x'(t) = 2*x(t)-x(t)*y(t),   y'(t) = -y(t) + 0.4*x(t)*y(t)

x(0) = 5 and y(0) = 1

Thanks

To the Ineffable All,

     I don't understand what MapToBasis is doing to get the results shown in the example program.  Specifically, why are the x-y components interchanged and a sign added?  It seems to plot OK, but the components of the vector appear wrong to me. 

Ratch

VectorCalculus.mw

Maple animation movie "car with square wheels" moving in a straight direction?

Hi all,

I'm working on systems with discontinuities and need to define a finite state machine.

I tried to define one by myself and encountered some errors. The computation of initial conditions complains about either cycles and suggests using a pre-block - I am allready using one - or about inconsistent initial conditions and ignores some constraints. Does the initial condition computing algorithm loop insufficiently?

I also tried to use the modelica...

Hi,

 

I have created a matrix of 101 rows and 93 coloumns and then populated the matrix via various loops. The values in the matrix are the values of a specific parameter G which varies with k and e. The rows represent values of G with constant values of parameter k while the coloumns represent constant values of parameter e. So if you imagine the matrix being a table one side represents values of e and the other side...

How can I use Maple to determine Ker θ for θ, n, and k when n = 6 and k = 5.

I have just tried to solve for 2 equations in 2 unknowns. The 2 equations are very non-linear. I know for a fact that there are 2 solutions as I can draw the curve, but for some reason and for some parameter specifications Maple will only give me 1 out of the 2 solutions. I use the following:

 

Solve( [eq1,eq2] , [x,y])

 

Thanks in advance,

 

Christian

two_pendulums.msim

 

Hello,

I use maplesim to simulate two simple pendulum, as the figure illustrated. The model works well. I want to let the names "pendulum A" and "pendulum B" appear in the 3D graphical view, so the audience will distinguish them...

Hi,

I've been using Maple 13 installed on Ubuntu 10.10, but noticed some issues with 3d plots, Maple does not allow me to rotate and drag around 3d plots as it does on my windows 7 boot on the same machine, instead it struggles to even do the 3d plot in the first place and then usually crashes on trying to rotate it.

Also I occassionally get empty GUI boxes when I go to save as etc, instead of any content just a gray pop up box.

 

Anyone...

First 1901 1902 1903 1904 1905 1906 1907 Last Page 1903 of 2434