Text this: A Global Approach with Cutoff Exponential Function, Mathematically Well Defined at the Outset, for Calculating the Casimir Energy: The Example of Scalar Field