0
|
7161 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
GROUPS:

How can i find the values of the variables ao,a1,a2,a3,a4,co other than 0.

Posted 10 years ago
 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
5 Replies
Sort By:
Posted 10 years ago
 Thanks I'm really thankful to all of you
Posted 10 years ago
 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 http://community.wolfram.com/groups/-/m/t/306808 and http://community.wolfram.com/groups/-/m/t/237039 and the notebook attachment in the latter.
Posted 10 years ago
 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
Posted 10 years ago
 I'm really thankful to you Henrik it did help me a lot Regards
Posted 10 years ago
 You have 4 equations, each ( ) = 0, with 6 unknowns. Need to choose values for 2 of the coefficients, say a0, c0 = 1 or 0.