Skip to content

Instantly share code, notes, and snippets.

@ricardosiri68
Last active December 16, 2015 11:58
Show Gist options
  • Save ricardosiri68/5430668 to your computer and use it in GitHub Desktop.
Save ricardosiri68/5430668 to your computer and use it in GitHub Desktop.
import math
def recSC(n):
if n==1.0:
return 1.0
else:
n=math.sqrt(math.sin(n)**2+math.cos(n)**2)
return n*recSC(n)
print recSC(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment