Samsung Electronics interview question

Writhe a Fourrier equation in pseudocode..