Skip to content

Commit

Permalink
Update waveFunction.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellShibilski-Unkel authored Dec 29, 2023
1 parent f0809bb commit 2a360fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Algorthmic Tests/waveFunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def waveFunc(loopNum):
h = float(6.63)

# Kentic and Potential engeries
KE = float((h ** 2 / 2 * mass) * v ** 2)
KE = float((-h ** 2 / 2 * mass) * v ** 2)
PE = int(v * (x + t))

# Add KE + PE
Expand All @@ -35,4 +35,4 @@ def waveFunc(loopNum):
endTimer = time.perf_counter()
endTimer2 = time.process_time()

print(f"Task Finished In Performance: {endTimer - startTimer:0.8f}s\nTask Finished In Process/CPU/Kernel + User Space: {endTimer2 - startTimer2:0.8f}s")
print(f"Task Finished In Performance: {endTimer - startTimer:0.8f}s\nTask Finished In Process/CPU/Kernel + User Space: {endTimer2 - startTimer2:0.8f}s")

0 comments on commit 2a360fc

Please sign in to comment.