import numpy as np def R(a): return (1 + np.sin(2 * a)) / np.cos(2 * a - 2 * np.pi) print(R(1))
Standard input is empty
-4.588037824983897
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!