import math import numpy as np print("------------------------------------------") print("- Newtonian Force calculator for Squash -") print("------------------------------------------") mass = float(input("Enter mass in kg = ")) mass - abs(mass) initialSpeed = float(input("Inital Speed in m/s = ")) bouncebackSpeed = float(input("Negative Speed in m/s = ")) time = float(input("time = ")) Pi = mass * initialSpeed Pf = mass *(bouncebackSpeed) I = Pf - Pi F = I/time print(Pi,"kg. m/s Pi") print(Pf,"kg m/s Pf") print("= ",abs(F), " Newtons (N)")
Tuesday, January 18, 2022
Newtonian Force Calc for Squash
Subscribe to:
Posts (Atom)
Gammon => Ham Calculator V1.0
def ham_cooking_time (grams): """ Calculates the cooking time for a ham based on its weight. Args: g...
-
def ham_cooking_time (grams): """ Calculates the cooking time for a ham based on its weight. Args: g...
-
# Run before opening Chrome # get Chrome Process if (( Get-Process "chrome" -ErrorAction SilentlyContinue) -eq $Nul...
-
import ipaddress import math #for addr in ipaddress.IPv6Network('2001:db8:1000:0000:0000:0000::0/38'): #('2001:db00:0000:...