One dimensional infinite well