Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I have a peace of a programm of finding the shortest way in graph! And I need to animate this way! Help please! 

This is a code of programme:

 

> restart: with(networks):
> new(G): n:=6:
> addvertex(i$i=1..n,G); 
1, 2, 3, 4, 5, 6
> addedge([seq([i,i+3],i=1..3),[1,2],[2,3],[4,5],

> [5,6],[1,5]],weights=[12,16,20,11,15,13,14,26],G):
> draw(Linear([1,4],[2,5],[3,6]),G);

 > T:=shortpathtree(G,1):

Hello,

I set up 8 equations systems with 8 variables (multivariate polynomial equations, which are product of maximization problem with budget constraint). The equations are set as eq1, eq2, etc as attached in the file. However, the  "fsolve" function can't give me any solution. Can someone recommend me a way that will solve the equations.

 model_4_countries_03.mw

Hello,experts! I meet a strange problem. That is to solve a equation but use other variable,namely solve(2*x=3,y).I hope that the returned result of command "solve" is y=0. How can I to do to realize it?

Download shi.mw

I meet a problem. When I use command "if" in command "for", there is nothing.I don't know reason. Can anyone tell me the reason?

I have a huge .txt file in it is a lot of difirent numbers. At first I am doing this:

>data:=readdata(C:/text.txt, 1, integer)

Maple reads the file.
I  have a function p(x)=e^(x^4+0.5*a*x^2+b*x)
I tried to draw a histogram and then to do something with fitting, I know that then I have to do logarithm the function then I get ln(p(x))=x^4+0.5*a*x^2+b*x, the histogram then should be up side down. The point is that...

Hi i'm new to maple.

Is there a way to remove commas from a list?

I was able to remove the list from its brackets []
but i was wondering if I'm able to remove the commas also?

Is possible to plot two or more functions at the same time in the iPad's application?

The following is the matter of so-called central limit theorems. We have the sum of random variables S:= ksi[1] + ksi[2] + .. ksi[n]. We know only that the number n is large, the variables are independent or weakly dependent, and each ksi[j] is small with respect to S in a certain sense.

By the  central limit theorems it implies that S is close to the normal distribution.

Here is the procedure which illustrates the Lindeberg-Levi theorem ( see

Hi,

My question is fairly straight-forward, I hope someone has an equally straight-forward solution. I would like to be able to illustrate the convergence of the distribution on the mean of i.i.d random variables to the normal distribution. For example, I'd like to visualize (by way of a histogram plot) that as n increases arbitrarily, the mean of n i.i.d. exponential random variables with mean 10 converges to a normal distribution.

 

Thanks!

I am considering bu;ying an imac and want to run maple 15. I have a personal library, called Mylib. I use on my windows platform. I use an ini file that maple 15 reads when it first opens. In this file I modify libname with the statement,

> libname:=libname,"c:\Mylib";

My question is how do I do this on the mac version of maple?

I'm looking for a simple way, e.g. a function, to convert a system of symbolic equations in its matrix form.

Like

(a+1)x - by + cz = j

2x  + (sqrt(d)+e)y - fz = k

(g-h2+1)x - iy - 4z = l

shall be transferred to matrix / vector form

A . x = b

where A i the matrix of the coefficients, x i the vector of the variables (x,y,z), and b is the right-hand-side vector (j,k,l).

The number of equations...

Hello,

I'm new at maple and I was wondering if someone could help me. I've got a function with 3 variables:

v1'=(v1*sqrt((1+u)^2-4*u*cos(b)^2))/(1+u)

Can you plot this function? Or do I have to give one or two variables a value and plot the function 3 different times with just one variable?

Thanks

I was trying to use the LeviCivita in the physics package to type the left side of the following equation and let maple compute the right side, where it considers the totally antisymmetric tensor identity which reduces to 4 Kronckers. Then the Kroneckers disappear and give rise to the right hand side. But I don't know how to tell maple to do this. There is also another Levi_Civita command in the tensor package.

 

I'm Trying to calculate the Determinant of a 3 x 3 Matrix with symbolic entries with maple 15. But the Determinat function gives a wrong result. From the C+A-1 expression it uses only the C and ignores the rest.

When I calculate it "manually" the result is correct.

Here is what I'm doing:

 

The Maple file is attached to this question.

arclengthproblem.mw

When a try approximating this problem by five decimal places, it doesn't do it. How do you fix this?

First 1643 1644 1645 1646 1647 1648 1649 Last Page 1645 of 2223