Skip to content

Instantly share code, notes, and snippets.

@saru2017
Created January 5, 2020 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saru2017/1c30ca40f4f1d5eafd26dbd2d164fbbb to your computer and use it in GitHub Desktop.
Save saru2017/1c30ca40f4f1d5eafd26dbd2d164fbbb to your computer and use it in GitHub Desktop.
import math
l = 1050
for i in range(500):
a = i + 1
print(a, end=", ")
b = (5/4 * l ** 2 - 3 * a * l + a ** 2) / (2 * l)
print(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment