(D) Schoolwide programs under title i of the esea.--Notwithstanding subparagraph (A) or any other provision of this part, a local educational agency may use funds received under this part for any fiscal year to carry out a schoolwide program under section 1114 of the Elementary and Secondary Education Act of 1965, except that the amount so used in any such program shall not exceed--
(i) the number of children with disabilities participating in the schoolwide program; multiplied by (ii)(I) the amount received by the local educational agency under this part for that fiscal year; divided by
(II) the number of children with disabilities in the jurisdiction of that agency.