Complex graphs

In one of the math assignments your teacher asks you to plot the following function:
notion image
notion image
Knowing the software available online, you do it very quickly. Yet, your teacher asks you to write your own program that would print this graph.
For that, as a first step, you would need to know the value of the function at each possible (x,y) coordinate.
You decide to first write a program that given a single (x,y)coordinate, would print the value of the function.
The input consists of two floating-point numbers x and y.
The program should print the value of the function written above.
notion image

Constraints

Time limit: 0.2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue