This video discusses a problem with the variational method used to solve problems in mechanics. The problem is that the function is not continuous, and as a result, it is not a valid function to test in mechanics. The author shows how to solve this problem by first calculating the integral of the function "fiba" over the interval from 0 to 1. Next, they calculate the integral of the function "hamilton" over the interval from 0 to 2. Finally, they use the continuity equation to show that the function "w" is continuous over this interval.