lin

15 Reputation

4 Badges

11 years, 334 days

MaplePrimes Activity


These are questions asked by lin

here it is. sorry, at the top of the first sum, it's N1+N2 not N1+N1  :p    I tried many times, but can't succeed. the C is the combinasion, I also wrote it as

I initialise a matrix by recurrence, the dimension of the matrix and its elements depend on the (N1,N2) given. then, I create a vector of the same length of the matrix, its dimension is also defined by (N1,N2). then, I would like to linearsolve the matrix by the vector for a general solution with (N1,N2) as parameters. would this be possible?

here is the definition of the matrix and the vector:

-------------------------------------t:...

I would like to find a general solution for a problem. Now, I have written a fonction main(a1,a2,N1,N2) where a1 and a2 are two parametre symbolic, and N1 and N2 are two integers.

the function main(a1,a2,N1,N2)   can calculate every result with a paire of N1,N2 precisely given. but, I need the result for whatever N1 and N2. which means, I need a result in fonction of a1,a2,N1,N2 but not a single answer with N1 and N2 given.

How can I do this? thanks a lot.

My version is maple 13. I tried to find out how to solve system of linear equations like A*X=b, whre A is a matrix and X and b is a vector, the solution is X:=linsolve(A, b),

But, the system just return the formula of linsolve(A,b) where it replace A and b by their forms of matrix. Simplely , the software doesn't show the result. I tried also evalm(linsolve(A,b)) , but it just return dezens of linsolve(a,b).

Page 1 of 1