I have created an equation and waveforms. I was trying to integrate the waveform but am not getting the expected answer.
1. adjust the period from the tentative attached. 2. The integrator is a scalar integrator, but you have a discrete set. 3. If you want to know the area under the curve, then use finite differences method in two segments.