# Mixing solutions of sympy equation

I’m solving an time depend equation that has the following form (finding the roots for \lambda): import sympy as sp import matplotlib.pyplot as plt t = sp.symbols(r’t’, real=True, positive=True) eq = … print(repr(eq)) -\lambda**3 – 2*\lambda**2*t + 4*\lambda*t**4 – 8*\lambda*t**3 + 8*\lambda*t**2 – 8*\lambda*t + 4*\lambda + 8*t**3 – 16*t**2 + 8*t Solving the equation… Read More Mixing solutions of sympy equation

# Plotting class decision boundary: determine a "good fit" range directly

I am trying to figure out how to plot the decision boundary line picking just few middle values instead of the entirety of the separator line such that it spans roughly the y-range that also the observations span. Currently, I manually repeatedly select different bounds and assess visually, until "a good looking separator" emerged. MWE:… Read More Plotting class decision boundary: determine a "good fit" range directly

# How can i get this equation to work within this nested if/else statement for c#?

After i get pass 20 on the user end my if/else doesn’t pick up the next variation of the equatuion. I know its because of setting the total = (numberofchecks * twentychecks) + (fee); but i can’t figure out what to use to get it to move to the next variation of the equation. The… Read More How can i get this equation to work within this nested if/else statement for c#?

# Excel: Count sum of cells along a row until a value is found

Picture 50 rows that all have a number "4" in it. However in each row there are 26 columns (A-Z) and the 4 is placed on a different letter in each row. I need a count of finding the "4" in each row (i.e. if it’s "E" that the "4" sits in, the count should… Read More Excel: Count sum of cells along a row until a value is found