Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Q10
- def Imoy(mesures):
- n=len(mesures)
- tf=[i*2 for i in range(n)]
- return trapz(mesures,tf)/tf[len(tf)-1]
- #Q11
- def Iec(mesures):
- Im=Imoy(mesures)
- m=[(i-Im)**2 for i in mesures]
- return sqrt(Imoy(m))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement