Working equations for piezoelectric actuators and sensors