How to solve such system with given parts of it? (maple)
Posted
by
Kabumbus
on Stack Overflow
See other posts from Stack Overflow
or by Kabumbus
Published on 2010-12-26T14:32:12Z
Indexed on
2010/12/26
14:54 UTC
Read the original article
Hit count: 339
So I had a system
#for given koefs
k:=3; n:=3;
#let us solve system:
koefSolution:= solve({
sum(a[i], i = 0 .. k) = 0,
sum(a[i], i = 0 .. k)-(sum(b[i], i = 0 .. k)) = 0,
sum(i^n*a[i], i = 0 .. k)-(sum(i^(n-1)*b[i], i = 0 .. k)) = 0
});
So I have a vector like
koefSolution := { a[0] = 7*a[2]+26*a[3]-b[1]-4*b[2]-9*b[3],
a[1] = -8*a[2]-27*a[3]+b[1]+4*b[2]+9*b[3],
a[2] = a[2],
a[3] = a[3],
b[0] = -b[1]-b[2]-b[3],
b[1] = b[1], b[2] = b[2],
b[3] = b[3]}
I have a[0]
so I try solve({koefSolution, a[0] = 1});
why it does not solve my system for given a[0]
? ( main point here is to fill koefSolution with given a[] and b[] and optimize.)
© Stack Overflow or respective owner