mirror of
https://github.com/ejeanboris/MDAF.git
synced 2025-08-13 05:48:37 +00:00
urgency
This commit is contained in:
8
SourceCode/TestFunctions/Keane.py
Normal file
8
SourceCode/TestFunctions/Keane.py
Normal file
@ -0,0 +1,8 @@
|
||||
#Import math library
|
||||
import math
|
||||
|
||||
|
||||
def main(args):
|
||||
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))
|
Reference in New Issue
Block a user