Elements of applied physics