Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi everyone,

I would like to create an eBook with the pakage "eBookTools", but I have got several errors if in my mw document there is a table. The same error came out if I try to compile a book with the sample documents ("GettingStartedWithMaple.mw"). Anyone knows a solution?

Thank you for your time

 

Giorgio

a1 := Matrix(3, [1, 2, 3, 7, 8, 9, 13, 14, 15]);
a2 := Matrix(3, 2, [5, 6, 11, 12, 17, 18]);
a3 := Matrix(2, [19, 20, 25, 26]);
a2 := Matrix(3, 2, [5, 6, 11, 12, 17, 18]);



i want to combine above matrices in big matrix like

A := Matrix(2, 2, [a1, a2, a3, a4]);

best regards

 

I am using Maple-9 to simplify the expression and the expression is not having numerical coefficients. Example expression is given below.

a2:=(18*d^2*R^2*r-4*d1^3*r+5*R^6-z1*r^3*p-14*r1^3*r*rc+k1*d^2*R^2*r);

 

The question here is: I want to collect all "positive terms" and "negative terms" and assign to new variable.

 

Please suggest steps for the above problem

 

Thank you in advance.

 

hello

when i weite this expression

diff(1/(6*t+1)+x(12*t+1)/(6*t+1)^2, t)

then it give an ans

-6/(6*t+1)^2+12*(D(x))(12*t+1)/(6*t+1)^2-12*x(12*t+1)/(6*t+1)^3

i want to solve it completly,but it give another darivative D(x) which is inside of the the equation.

how can i solve this D(x)

thanks

Hi all,

I am trying to define iso surfaces mathematically. From teh output of a numerical simulation, I have a 3d field of a parameter called MF. So, MF = MF (x,y,z).

So, when I have MF = constant, I will hypothetically have the equation for a surface called x = f(y,z). As I said it's the output of a simulation so I don't have a defined function for MF. Now, I wanted to calculate the surface area on a constant value of MF. I know that the way to calculate a surface is: integral of(1=Fx^2 +Fy^2)^0.5. on the other hand I know that MF = 11, everywhere on the surface. I am trying to come up with an expression for surface area, based on special derivatives of MF. I started by assuming a potential field for MF, but I didn't get to a conclusion and got a little confused. I would greatly appreciate any comments or helps.

Thanks,

Haley

 

Bubble := proc (X::list)

local n, i, j, t;

n := nops(X);

if n = 0 then ERROR("empty list") end if;

for i to n-1 do

   for j to n-i do

      if X[j+1] < X[j] then

          t := X[j];

          X[j] := X[j+1];

          X[j+1] := t;

      end if;

   end do;

end do;

print(X);

end proc

 

I make bubble sort algorithm. but i can't find 'illegal use of a formal parameter'.

The following integral
f := u-> int(-1/(x*sqrt(-1+u^2*(x+1)^2*x^2)), x = (1/2)*(-u-sqrt(u^2-4*u))/u .. (1/2)*(-u+sqrt(u^2-4*u))/u);
arised in an applied research. I was asked about its properties:
plot on RealRange(4,infinity), limit(f(u),u=4,right), limit(f(u),u=infinity).
Unfortunately, I lost a file. As far as I remember it, I have had a problem with
the last-named one only:

limit(f(u), u = infinity);


MultiSeries:-limit(f(u), u = infinity);

asympt(f(u), u, 2);

Error, (in asympt) unable to compute series

Hope my colleagues will make progress with it. The assumed value is Pi/2.

Of course, with Maple. This object is described in Wiki.
Its plot looks like



Also the 2d Gaussian free field is of great interest. As far as I understand it, a one-dimensional Gaussian random field is formed by the
Finance[GaussMarkovProcess] command of Maple.

PS. The googling brings, in particular, http://mathematica.stackexchange.com/questions/4829/efficiently-generating-n-d-gaussian-random-fields.

I'm trying to use the stats graph feature in Maple 17, but I do not know how to change the x-axis in a bar graph. The values that are default are 1, 2, 3,... but I would like to have words instead. Any idea how to do this?

hi every one..

how i solve numerically  couple equations which attached below .in solve this equation we must  starting from a very small value of V(voltage) with initial guesses for x1 and x3

near zero and using find root method.it is noted that  the solution at this voltage step are used as initial guesses

for the next voltage step, and the process is repeated..

thanks

2DOF.mw

My 5 year old laptop executes some commands very slowly e.g. plottools(rotate) around a line which is not a Cartesian axis. I intend to buy a new desktop. Which off-the-shelf desktops provide the fastest processing of Maple commands which do not include large data sets? Which provide the best price/performance?

Hello

I have this task which says:

Find the equation of the tangent for the function: f(x)= -ln x + ex P(2,f(2)).

So, I first defined the function in Maple: f(x):=-ln(x)+(e)^(x)

then I wrote the equation of the line which is: y = f(2)*(x-2)+f(2)

 

BUT it does not work! Help me plzzzz

f(x):=-ln(x)+(e)^(x)

The following code works fine:

restart;
with(LinearAlgebra): with(MTM): with(StringTools): MultivariateNormalSample := proc (Sigma, V, N) local d; d := LinearAlgebra:-Dimension(V); LinearAlgebra:-LUDecomposition(Matrix(Sigma, datatype = float[8]), 'method' = 'Cholesky') . ArrayTools:-Alias(Statistics:-Sample(Normal(0, 1), d*N), [d, N])+ArrayTools:-Replicate(Vector[column](V, datatype = float[8]), 1, N) end proc: S := MultivariateNormalSample(`<,>`(`<|>`(1, 2), `<|>`(2, 5)), `<,>`(2, 3), 100):
W := ~int8(~round(S)):
K := convert(W, string):
K := Drop(K, 17):
K := Select(IsDigit, K):
M := seq(PadRight(K[i], 2), i = 1 .. Length(K)):
Z := M[1]:
for i from 2 to Length(K) do Z := cat(Z, M[i]); if `mod`(i, 2) = 0 then Z := cat(Z, "\n") end if end do:
Z;

but if I make a proc out of it then it breaks down on the line:

 W := ~int8(~round(S)):

There seems to be an issue with the elementwise tilde operator.

restart;
Generate:=proc()
local MultivariateNormalSample,S,W,K,M,Z,i;
with(LinearAlgebra): with(MTM): with(StringTools):
MultivariateNormalSample := proc (Sigma, V, N) local d; d := LinearAlgebra:-Dimension(V); LinearAlgebra:-LUDecomposition(Matrix(Sigma, datatype = float[8]), 'method' = 'Cholesky') . ArrayTools:-Alias(Statistics:-Sample(Normal(0, 1), d*N), [d, N])+ArrayTools:-Replicate(Vector[column](V, datatype = float[8]), 1, N) end proc: S := MultivariateNormalSample(`<,>`(`<|>`(1, 2), `<|>`(2, 5)), `<,>`(2, 3), 100):
W := ~int8(~round(S)):
K := convert(W, string):
K := Drop(K, 17):
K := Select(IsDigit, K):
M := seq(PadRight(K[i], 2), i = 1 .. Length(K)):
Z := M[1]:
for i from 2 to Length(K) do Z := cat(Z, M[i]); if `mod`(i, 2) = 0 then Z := cat(Z, "\n") end if end do:
return Z:
end proc;Generate();

I seem to have missed something. Any ideas?

Harry

hi.please see attached file and explain how i remove error

thanks alot

error3.mw

First 1228 1229 1230 1231 1232 1233 1234 Last Page 1230 of 2248