The given integral can be split at integer values of x because of the greatest integer function [x].
I=∫03([x]!ex+e−x)dx
I=∫010!ex+e−xdx+∫121!ex+e−xdx+∫232!ex+e−xdx
Since 0!=1, 1!=1, and 2!=2, we get:
I=∫02(ex+e−x)dx+21∫23(ex+e−x)dx
Integrating the terms:
I=[ex−e−x]02+21[ex−e−x]23
I=(e2−e−2−(1−1))+21(e3−e−3−(e2−e−2))
I=e2−e−2+21e3−21e−3−21e2+21e−2
I=21e2+21e3−21e−2−21e−3
I=21(e2+e3−e21−e31)
Answer: 21(e2+e3−e21−e31)