Samsung Electronics Interview Question

Writhe a Fourrier equation in pseudocode..