Skip to content

Instantly share code, notes, and snippets.

@MShirazAhmad
Created February 2, 2020 12:16
Show Gist options
  • Save MShirazAhmad/da4c552be0aa70756b6cd8c1989d257c to your computer and use it in GitHub Desktop.
Save MShirazAhmad/da4c552be0aa70756b6cd8c1989d257c to your computer and use it in GitHub Desktop.
Error analysis
def Uaddition(Ux,Uy):
import numpy as np
return np.sqrt(Ux**2 + Uy**2)
def Ufraction(X,Ux,Y,Uy):
import numpy as np
return np.sqrt((Ux/Y)**2 + ((X*Uy)/(Y**2))**2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment