Solved For A 1d Rectangular Function Please Use Appropriate

Solved For A 1d Rectangular Function Please Use Appropriate