LECTURE NOTES ON CALCULUS OF VARIATIONS