The Piano Trio No. 4 in E major, K. 542, was written by Wolfgang Amadeus Mozart in 1788.[1][2] It is scored for piano, violin and cello. It's the only multi-movement composition by Mozart in the key of E major.