muzahoo
(Muzahoo jee)
1
Hi, the problem is given below,
Clear[x, a, b, c];
Integrate[(x - a)^2 (x - c)^2, {x, b, c}] /. {a -> Subscript[x, i],
b -> Subscript[x, i - 1],
c -> Subscript[x, i + 1]} // TraditionalForm
the answer for this problem is:

…
the problem is: I need this answer in the form of ‘h’
where
Could you please help me out?
nma
(Nasser M. Abbasi)
2
{a → Subscript[x, i], b → Subscript[x, i - 1], c → Subscript[x, i+ 1]}
The above means a is x and b is x-h and c is x+h. Then why not just write
Clear[x, a, b, c];
r = Integrate[(x - a)^2 (x - c)^2, {x, b, c}];
r /. {a -> x, b -> x - h, c -> x + h} // Simplify
which gives
(16 h^5)/15
muzahoo
(Muzahoo jee)
3
Thanks a lot Mr Nasser
its nice to see this approach but unfortunately, i’m not able to solve my problem with this.
Regards