Message Boards Message Boards

0
|
6943 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

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

mathematica_code

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

POSTED BY: Muzahoo jee
5 Replies
Posted 10 years ago

Thanks I'm really thankful to all of you

POSTED BY: Muzahoo jee

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 BY: Bruce Miller

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 BY: Henrik Schachner
Posted 10 years ago

I'm really thankful to you Henrik it did help me a lot Regards

POSTED BY: Muzahoo jee

You have 4 equations, each ( ) = 0, with 6 unknowns. Need to choose values for 2 of the coefficients, say a0, c0 = 1 or 0.

POSTED BY: S M Blinder
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract