Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solving a list of equations' topicStudent Support Forum > General > Archives > "Solving a list of equations"

Next Comment >Help | Reply To Topic
Author Comment/Response
Owen Graham
02/11/13 4:46pm

Hi.

I want to find the expansion coefficients for a function, f[y] by setting the expansion, ex[y] equal to the function at some number 'N' points (which i'm calling a,b,c... for clarity).

Where

ex[y]= Sum[SetOfCoeffs[n] BasisFunction[n], {n,1,N}]

So the idea of what I want to do is

Solve[{ex[a]==f[a],ex[b]==f[b],...},SetOfCoeffs]

My first attempt is to index a set of N points x[i] (i=1,2,...N) then use a table:

Solve[Table[ex[x[i]],{i,1,N}],SetOfCoeffs]

But this method doesn't seem to work even for much simpler lists of equations.
The other problem I face is somehow telling Mathematica to solve for EVERY expansion coefficient.

Any directions would be useful, cheers


URL: ,

Subject (listing for 'Solving a list of equations')
Author Date Posted
Solving a list of equations Owen Graham 02/11/13 4:46pm
Re: Solving a list of equations Bill Simpson 02/12/13 12:54pm
Next Comment >Help | Reply To Topic