Extremal problems for Lorentz classes of nonnegative polynomials in L2 metric with Jacobi weight