fork download
  1. # your code goes here
  2. #0JLQsNGB0LjQu9C10L3QutC+INCQ0YDRgtC10Lwg
  3.  
  4.  
  5. #простезавдання1_14
  6.  
  7. def progA(a,b):
  8. s = a**2-4*(((a-b)/2)**2)
  9. return s
  10. print(progA(10,8))
  11.  
  12. def progB(a,b):
  13. s = (a**2*3**(1/2))/4 - 3*(((a-b)/2)**2*3**(1/2))/4
  14. return s
  15. print(progB(10,8))
  16.  
Success #stdin #stdout 0.1s 14052KB
stdin
Standard input is empty
stdout
96.0
42.00223208354527