Compare commits

..

No commits in common. "411427304c2e4844476a8c33cf11b006baf0d27f" and "1a4f82258ca4e6f5fe7a695cea75fc43f92d4be3" have entirely different histories.

3 changed files with 2 additions and 32 deletions

View File

@ -264,7 +264,7 @@ the time spent waiting as well as the time dispensing water, is
%
where $S$ denotes the service time (i.e., the time spent refilling a
bottle), $\lambda$ the mean arrival rate, and $\rho = \lambda \cdot
E\mleft\{ S \mright\}$ the system utilisation. Using our experimental
E\mleft\{ S \mright\}$ the system utilization. Using our experimental
data we can approximate all parameters and obtain $W \approx
\SI{23.3}{\second}$. The difference to always using the fastest
strategy amounts to $\SI{4.14}{\second}$.
@ -281,7 +281,7 @@ of up to $0.00103$ points.
\section{Discussion and Conclusion}
Further research is needed, particularly on the modelling of the
arrival process and the relationship between the response time and
arrival process and the relationship between the response time gain
the grade gain. Nevertheless, we believe this work serves as a solid
first step on the path towards achieving optimal study behaviour.

View File

@ -1,29 +0,0 @@
import matplotlib.pyplot as plt
from scipy import stats
import numpy as np
def main():
"""
[1] H. Schuman, E. Walsh, C. Olson, and B. Etheridge, Effort and Reward:
The Assumption that College Grades Are Affected by Quantity of Study*,
Social Forces, vol. 63, no. 4, pp. 945966, June 1985.
"""
# [1, p. 950]
hours_studied = np.array([1, 2.5, 3.5, 4.5, 5.5, 6.5])
gpa = np.array([2.94, 2.91, 2.97, 2.86, 3.25, 3.18])
slope, intercept, r, p, std_err = stats.linregress(hours_studied, gpa)
print(f"GPA/hour (slope) of best fit line: {slope}")
plt.plot(hours_studied, gpa, label="Plot from publication")
plt.plot(hours_studied, slope * hours_studied + intercept, label="Best fit")
plt.xlabel("Hours studied")
plt.ylabel("GPA")
plt.legend()
plt.show()
if __name__ == "__main__":
main()

View File

@ -1 +0,0 @@
tabsize = 4