STEM

Different ways to generate a list and array containing numbers

In this post, I show different ways to generate a list and array containing numbers (ints, and floats, positive and negative, mixed) in python…using random, list, and numpy arrays. Why do we need both? NumPy arrays are very efficient for numerical operations and require elements to be of the same data type, whereas lists are […]

Read More
STEM

Finding min, max in a sequence and plotting the distances

Let’s say that we have a sequence of numbers in consisting of whole numbers, fractions, positive and negative numbers of varying length, that is, of no predefined length (e.g.2.25, 5.25, 6.75, 8.25, 9.75…). What we want to do is to sort the numbers in ascending order, and find the differences between 2 adjacent numbers and […]

Read More
Analytics STEM

Did Seahawks Need an Overhaul for 2024 season?

Seattle Seahawks find themselves at a crossroads after the 2023 NFL season. The team faces critical decisions regarding their coaching staff and personnel. Changes came hard and fast to some fans’ surprise, and to some, expectedly if not a little later than expected. Whatever your position is there are arguments for both supporting an overhaul […]

Read More
STEM

Calculate your tank size capacity in gallons (and weight)

Don’t remember how many gallons your tank or pond holds? No worries, this little code below will calculate the amount of gallons the container can hold based on its dimensions you enter. Besides, knowing your actual water volume helps you determine what 10%, 30% water change means in gallons, and precise measurements of additives (conditioner, […]

Read More
hobby Life STEM

Estimating the final pH, GH, KH of your water mixture

As a fish and shrimp keeper on different tanks with different creatures requiring different water parameters and conditions, it does me good to keep track of all those especially when replacing or changing water, or adjusting parameters for optimal suitability of the creatures. For example, for the shrimp tank, keeping track of KH, GH are […]

Read More
Back To Top