summaryrefslogtreecommitdiff
path: root/progs/a860.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a860.py')
-rw-r--r--progs/a860.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a860.py b/progs/a860.py
new file mode 100644
index 0000000..bce4d9e
--- /dev/null
+++ b/progs/a860.py
@@ -0,0 +1,5 @@
+import math
+def surfacearea_cone(r,h):
+ l = math.sqrt(r * r + h * h)
+ SA = math.pi * r * (r + l)
+ return SA \ No newline at end of file