Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
Hi, all, I want to know whether I get a row of a matrix. For example, I have a matrix: [ 1 0 0 1] [ 0 1 0 1] M=[ 1 0 1 0] [ 0 0 0 1] and I want to the first row [ 1 0 0 1], how to do this? thanks Gepo

hello, i am generating an eigenvector of three elements. i need to assign each element a parameter...u,v,w. so for example if the vector is [1,2,3] then i want to assign u=1,v=2,w=3. can somebody pls show me.

the big picture is that i have 4 roots, and for each root i will have 4 eigenvectors, and i need to assign them to u[i],v[i],w[i], where i=1..4.

 

thank you

Hello

I read this forum http://www.mapleprimes.com/forum/plotsunits  in which it says you have to extract units beforehand to plot.

The problem is that I have a lot of functions and I can't remove units by hand, so I wanted to use the command convert(........,unit_free) but  with no result

The function in the convert command is a piecewise. I upload the file

Thanks.

supporse for a function f(x) (which we do knot know), we know

 

x0  and f(x0)

x1 and f(x1)

x2 and f(x2)

 

how can we find best approximations for the first , second, third and fourth derivatives?

hi i think this is an easy one,

for a from 1 to 3 do sol:=solve(x^2=16*a,x) end do;

ok this gives us 6 solutions, 2 for each value of a. how do i display a particular solution?, for example i just want to display the solution when a=2, and then i just want the second solution of a=3... hope this makes sense

 

Thank you.

Hi, I'd like to substitute the expression A into B, where B is of the form

B:=a*x+b*y+c*z+D(f)(p*x+q*y*r*z),

where a,b,c,p,q,r, are constants. The problem is: I only want the substitutions to be done outside of the unknown function f. So, if

A:=x=4*u,

Currently I have 500 values, I put them in an array x:= [a,b,c,d,.....] then using with(Statistics) plotted my histogram with Histogram(x) but this doesn't give me a very accurate histogram and there are only 10 or so bars. How can I make this better?

Been looking for about 15 minutes, and there simply isn't that much to look through.

Using Maple 13.0, I can't find the "Find Discontinuities" option that a bunch of walkthroughs insist are in the Plot Builder's Options menu.

Anyone know what I'm missing?

Is it possible to create a procedure in maple that works out how many 'queens'  can be placed on a board size n * n and plot some sort of a matrix which displays the positions using 1's and 0's without conflicting with each other?? What i mean by 'is it possible' is would it be a efficient algorithm (if it is possible)  or a very long algorithm containing of complex maple code?

I want to integrate y=x^2 + 4 from a number to 7 for which i get the area under the curve to be 40. How do I write up a maple code that tells me that number?

Hello everyone

I have a cost function I would like to minimize. It is a fairly simple function that only contains multiplications and additions.

Only problem is, this function has about a hundred variables, but they can only be between the interval [0,1] so I guess it makes the problem easier.

Is it possible to write a little program in maple that can be ran as much as I want it to run and that could try to find an approximation of the actual solution? (By trying random numbers between 0 and 1)

Thank you very much

Hello,

If I define two arrays in the following way:

for i from 0 to 2 do

for j from 0 to 2 do

A[i,j]:=[i+j]:

B[i,j]=[i-j]:

od: od:

 

Then if I try to add them and look at the 0,0th component of the result:

C:=evalm(A+B):

C[0,0];

 

I don't get an answer. (I've tried both the LinearAlgebra package and the linalg package.

What would I have to do to get them to add successfully ?

 

Thanks

Hi i am trying to code a procedure which sorts a list such that the smallest element is the first element and the largest element is the second elemnt then the next smallest element is the third element and the next largest element is the fourth element. For example:

 

L:=[ 2, 3, 5, 2, 7, 9 ]:
 

sorted:= [ 2, 9, 2, 7, 3, 5] :
 

this is what i have coded so far how do i make the process continue??
 

Hi!

 

I have an expression that involves an unknown function, say g:

expr:=a*x[1]+b*x[2]+cx[3]+g(x[1],x[2],x[3]);

where a, b and c are the coefficients I'm actually interested in. These coefficients are not constants but usually expressions in some constant parameters. The function g is an expression involving derivatives of some more fundamental function (in my problem).

Example:

expr:=(q/r-sqrt(2))*x[1] + x[2] - (w*r+4)*x[3] + D(G)(x[1]) - D(G)(x[3]);

First 1841 1842 1843 1844 1845 1846 1847 Last Page 1843 of 2219