MaplePrimes Questions

I want to define the inertia matrix of a body within a subsystem as a subsystem parameter. I can define constants (like mass), but I cant define the 3x3 inertia matrix. It looks like MapleSim returns a dimensional error when I try to simulate the model. How can I assign the inertia of the rigid body to a parameter?

I am trying to create a Simulink component block from a MapleSim subsystem. I have one input to the subsystem, and the Specified Inputs and Outputs section of the MapleSim Connector worksheet also shows that the subsystem has one input. However, When I export the model to Simulink, there is no input port, just one output. How can I fix this?

As an example, how can I overlap the timing of these two pointplots in the same plot?

with(plots);
a := animate(pointplot, [[[3, 2], [2, 5], [5, 2], [5, 5]], transparency = A], A = 0 .. 1);
b := animate(pointplot, [[[2, 2], [4, 5], [3, 2], [3, 3]], transparency = A], A = 0 .. 1);
display(a, b, insequence = true, view = [0 .. 10, 0 .. 10]);

I want the second plot to appear 2 seconds later as the first plot is still fading away. 

 

Hi,

I wish to declare the diffusion coefficient in the Fick's diffusion law as constant and solve numerically.How do I declare constants for a pd to use in pdsolve?I also have some constants in my boundary conditions.

diff(f(x, t), t) =D*(diff(f(x, t), x, x))

is the PD and,

Dear Friends,

anyone outside here can help me in making this Mathematica function into a Maple fn?

Hello

I have a matrix consisting of 4 variables. I want to define the values of these. Example:

A:=Matrix(2,2,[a,b,c,d]);

I am looking for an easy way to put a=0, b=0, c=0 and d=0. If I just use

A:=Matrix(2,2,0);

the variables are replaced by zeros, and not assigned zeroes as values. I know I can do it manually (by a:=0 etc.). Is there an easier way?

Morten Rask

can any one tell me what mistake i made, why there are 3 error mesaages: unable to match delimiters. untable to store my data, and independent and dependent data do not match????

Hello

 

I want to create three matrices, multiply two of them, equate the result to the third, and extract the individual matrix element equations:

A:=Matrix(2,2,[1,2,3,4]);

B:=Matrix(2,2,[2,3,4,5]);
                      
C:=Matrix(2,2,[a,b,c,d]);

I have two symbolic expressions which I think may be equal, one simpler than the other. I'm trying to use "is" to ascertain the equality. I tried things like:

is(expr1=expr2) assuming beta>0 and r>0 and d>0;

which returns false,

but this is what the difference between the two expressions looks like for constellations of parameters:

[okay, so here should appear the graph, but where do I store images and other files in the new mapleprimes?...

I am currently receiving the following error: Error, (in UpdateTrueVelocities) unable to store '100*cos(20)' when datatype=float[8].  I'm not exactly sure why the Maple is complaining about this.  100*cos(20) definitely evaluates to a float.  Any help would be greatly appreciated. Thank you.  EDIT: for some reason, it won't let me add tabs in my code.  Sorry about that.

vel := Matrix(4, 241, datatype = float[8]);

accel := Matrix(3, 241, datatype = float[8]);

I'm just getting started with Maple TA (version 5). Playing with making plots based on algorithmic variables.

I would like to choose 2 random variable to use as x and y values...

$a=range(-5,5,1);
$b=range(-5,5,1);

...and plot the point defined by ($a,$b).

 

I can plot a function using this command...

$plot1=plotmaple("plot($a*x+$b,x=-10..10,y=-10..10)");

hi! i have:

deq := {diff(a(t,y),y,y)/a(t,y) + (diff(a(t,y),y)/a(t,y))^2 - ((diff(a(t,y),t))/(n(t,y)*a(t,y)))^2, (diff(a(t,y),y)/a(t,y))*((diff(a(t,y),y)/a(t,y))+(diff(n(t,y),y)/n(t,y))) - (1/n(t,y)^2)*((diff(a(t,y),t,t)/a(t,y))+((diff(a(t,y),t)/a(t,y))*((diff(a(t,y),t)/a(t,y))-(diff(n(t,y),t)/n(t,y)))))};

i've solved it by using a package: "Formal series solutions to non-linear DE (ODE or PDE) or systems of them
(Cauchy problem)". then, i defined three new parameters:

Hello everyone,

 

Please help me with this:

 

I have a given matrix (with numbers size nxn), within this matrix there is also some parameters. I am asked to find all the b vectors that solves this equation. Important: Firstly, I was asked to find the parameters that gives us Determinant(A)=0.

 

I have a difficulty with 2 parameters or more, and how I suppose to solve this if x and b are (x1,x2,x3)', (b1,b2,b3)' i.e not given.

I have an array of points stored in a matrix, and I want to plot them on a graph along with a couple other polygons.  Here is a short snip-it of code that describes the process:

pos := Matrix(3, 241, datatype = float[8]) #the contents of this matrix are filled out in the program

with(plots);

PositionPlot := PLOT3D(CURVES(pos), COLOR(RGB, 0, 0, 1), TEXT([1, 60, 1], 'pitch', ALIGNABOVE));

HomeplatePlot := PLOT3D(POLYGONS([[0, 0, 0], [.7083, .7083, 0...

I try to make calculation with matrix in matix for example

n1 >0 , n2 >0; n1 ,n2 unknow
matirx  A11 := matrix(n1,n1,[unknow variables ]);
matirx  A12 := matrix(n1,n2,[unknow variables ]);
matirx  A21 := matrix(n2,n1,[unknow variables ]);
matirx  A22 := matrix(n2,n2,[unknow variables ]);

A_big := matrix(n1+n2,n1+n2 , [[A11,A12],[A21,A22]]);

how i will sovle

A_big ^ (-1) ;

The wrong answer is
matrix(...

First 1986 1987 1988 1989 1990 1991 1992 Last Page 1988 of 2434