Of all things, I can't find any instructions in the editing-help about how to post my Mathematica output!
Indenting code with four spaces works fine:
f = a[x] + c1*b[x] + c2*c[x];
g = Expand[f*f];
h = Distribute[Integrate[g, x]];
Solve[{D[h, c1] == 0, D[h, c2] == 0}, {c1, c2}]
But the output posts like this:
{{c1 -> -((([Integral]a[x] c[x] [DifferentialD]x) [Integral]b[x] c[ x] [DifferentialD]x - ([Integral]a[x] b[ x] [DifferentialD]x) [Integral]c[ x]^2 [DifferentialD]x)/(([Integral]b[x] c[ x] [DifferentialD]x)^2 - ([Integral]b[ x]^2 [DifferentialD]x) [Integral]c[ x]^2 [DifferentialD]x)), c2 -> -((([Integral]b[x]^2 [DifferentialD]x) [Integral]a[x] c[ x] [DifferentialD]x - ([Integral]a[x] b[ x] [DifferentialD]x) [Integral]b[x] c[ x] [DifferentialD]x)/(-([Integral]b[x] c[ x] [DifferentialD]x)^2 + ([Integral]b[ x]^2 [DifferentialD]x) [Integral]c[ x]^2 [DifferentialD]x))}}
This is an ouput
This is an other ouput with some code
Solve
returns. However, ask yourself this — Is the complicated output really necessary for the question, especially since most folks here have Mathematica? More often than not, just a well formatted input with error messages is sufficient. – rm -rf♦ Nov 1 '14 at 1:58InputForm
of the expression, but of course it's not as nice as what you wanted. Also note that there is an integral symbol in unicode that gets correctly interpreted by MMA, but as there is no standard unicode symbol corresponding to\[DifferentialD]
we cannot make a nice unicode string that gets interpreted the right way by MMA. About the closing, if you want the question to be reopened, try editing the question to make it clear what you were after, so that one does not have to read the comments for this. – Jacob Akkerboom Nov 1 '14 at 10:45