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...
-
import random class EuroMillions : """Generates a random EuroMillions ticket with no duplicate numbers.""...
-
I have heard rumours that this site is being used by others claiming that it is there work. I choose to stay anonymous but I can guarantee ...