Hi
I want to find a set of different values of {ao,a1,a2,a3,a4,co} so that the factor
becomes zero, i’m trying to write a program which generate the values for these variables other than Zeros.
I’m looking for help to do that.
Regards
You have 4 equations, each ( ) = 0, with 6 unknowns. Need to choose values for 2 of the coefficients, say a_0, c_0 = 1 or 0.
Yes, Prof. Blinder is perfectly right! The remaining problem is to make a transcription of your picture of code, and then:
sysEq = {{a0 + a1 + a2 + a3 + a4}, {a1 + 3 a2 + 5 a3 + 7 a4}, {a1 +
9 a2 + 25 a3 + 49 a4 + 8 c0}, {a1 + 27 a2 + 125 a3 +
343 a4}} == {0, 0, 0, 0};
sysSol = Solve[sysEq, {a1, a2, a3, a4}];
coeff = First[{a0, a1, a2, a3, a4, c0} /. sysSol]
Cheers Henrik
Since there are subscripts, I won’t suggest including the code in the text post. Attaching a Mathematica notebook with the expression would be appropriate.
Subscripted variables in executable code can cause difficulties. See
Assigning values to subscripted variables and
Global and local variables
and the notebook attachment in the latter.
Thanks
I’m really thankful to all of you
I’m really thankful to you Henrik
it did help me a lot
Regards