Mathematical Modeling of π-Phase-Shifted Fiber Bragg Grating and its Application for Strain Measurement in Epoxy Resin Cantilever Beam