# Message Boards

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

Posted 10 years ago
 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?
2 Replies
Sort By:
Posted 10 years ago
 {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 
Posted 10 years ago
 Thanks a lot Mr Nasserits nice to see this approach but unfortunately, i'm not able to solve my problem with this.Regards