what can you infer as the function os the diaphragm