THE LINEAR-QUADRATIC OPTIMAL CONTROL OF TIMEVARYING