CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

CoCalc is a real-time collaborative commercial alternative to JupyterHub and Overleaf that provides Jupyter Notebooks, LaTeX documents, and SageMath.

| Download

All published worksheets from http://sagenb.org

Views: 170293
Image: ubuntu2004
X, n, V = var('X, n, V')
def b(X, n, V): r = V / (1 - V) * X / (1+X) return r
def ev(X, n, V): r = b(X, n, V)* (1 - n) - n * X
diff(b(X, n, V) - n * X, X)
-n - V/((X + 1)*(V - 1)) + V*X/((X + 1)^2*(V - 1))
solve([-n - V/((X + 1)*(V - 1)) + V*X/((X + 1)^2*(V - 1)) == 0], X)
[X == -(V*n - n + sqrt(-V^2*n + V*n))/(V*n - n), X == -(V*n - n - sqrt(-V^2*n + V*n))/(V*n - n)]