# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# # Google compute engine pricing (monthly)

# It is assumed that the instance runs for 24 hours a day

# Options  | CPU | Memory | Storage | Num of User | Total config                          | Cost (USD)  | Num of instances | Total price (USD)   | Total in 6 months (USD)   |
# ---------|-----|--------|---------|-------------|---------------------------------------|-------------|------------------|---------------------|---------------------------|
# 1        | 0.25| 0.2GB  | 1GB     | 60          | 15cpu,12GB mem, 60GB                  |292.24       |5                 |1461.2               | 8767.2                    |
# 2        | 0.25| 0.3GB  | 1GB     | 60          | 15cpu,18GB mem, 60GB                  |314.52       |5                 |1572.6               | 9435.5                    |
# 3        | 0.3 | 0.3GB  | 1GB     | 60          | 18cpu,18GB mem, 60GB                  |348.43       |5                 |1742.15              | 10452.9                   |
#          |     |        |         |             |                                       |             |                  |                     |                           |
#

# Options  | CPU | Memory | Storage | Num of User | Total config                          | Cost (USD)  | Num of instances | Total price (USD)   | Total in 6 months (USD)   |
# ---------|-----|--------|---------|-------------|---------------------------------------|-------------|------------------|---------------------|---------------------------|
# 1        | 0.06| 0.2GB  | 1GB     | 60          | 4cpu,12GB mem, 60GB                   |104.98       |5                 |524.9                | 3149.4                    |
# 2        | 0.10| 0.2GB  | 1GB     | 60          | 6cpu,18GB mem, 60GB                   |142.27       |5                 |711.35               | 4268.1                    |
# 3        | 0.13| 0.2GB  | 1GB     | 60          | 8cpu,18GB mem, 60GB                   |179.56       |5                 |897.8                | 5386.7                    |
#          |     |        |         |             |                                       |             |                  |                     |                           |
#





# %matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
data = np.random.rand(1000)
ax = plt.hist(data)
data = np.random.rand(1000)
A = np.random.rand(12,1000)
#print(A)
B = np.mean(A,0)
#print(B)
plt.hist(B,bins=20000)
plt.show()
print("print")

# %matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
data = np.random.rand(1000)
ax = plt.hist(data)
data = np.random.rand(1000)
A = np.random.rand(12,1000)
#print(A)
B = np.mean(A,0)
#print(B)
plt.hist(B,bins=20000)
plt.show()
print("print")



StarcoderdataJupyterScriptsDedupFiltered