Title: Advanced Calculus and Its Applications in Variational Quantum Mechanics and Relativity Theory