mirror of
https://github.com/ejeanboris/MDAF.git
synced 2025-08-07 02:48:34 +00:00
12 lines
259 B
Python
12 lines
259 B
Python
#Import math library
|
|
import math
|
|
|
|
|
|
def main(args):
|
|
'''
|
|
#_# dimmensions: 2
|
|
'''
|
|
for x in args:
|
|
if(x<0 | x>10): return 0
|
|
return (math.sin(args[0]-args[1])**2*math.sin(args[0]+args[1])**2)/(math.sqrt(args[0]**2+args[1]**2))
|