Python - Calculate Distance to an Object Using Triangulation With Trigonometry
print ("This program will calculate Distance to Object using Triangulation with Trigonometry.") import math ### Formula for calculating the Distance using Triangulation with Trigonometry: #...
View ArticlePython - Calculate the Forward Drive Efficiency of a Power Screw
print ("This program will calculate the Forward Drive Efficiency for a Power Screw.") import math ### Formula for calculating the Foward Drive Efficiency for Power Screws: # FowardDriveEfficiency =...
View ArticlePython - Calculate Weighted Average Cost of Capital
print ("This program will calculate the Weighted Average Cost of Capital.") import math ### Formula for calculating the Weighted Average Cost of Capital: # WeightedAverageCostOfCapital =...
View ArticlePython - Calculate Spring Constant of a Coil/Helical Spring
print ("This program will calculate the Spring Constant of a Coil/Helical Spring.") import math ### Formula for calculating the Spring Constant of a Coil/Helical Spring: # SpringConstant =...
View ArticleHow to Quadraple Thread a Needle with a Needle Threader
How to create a quadruple threaded needle using a needle threader to make very strong stitches.Parts: Standard thread Needle Wire needle threader ScissorsBy: matt392Continue Reading »
View ArticlePython - Using Seaborn and Matplotlib to Create a Scatter Chart
print("This program will plot the Orbital Period of a planet vs. its mass.") print("Importing the seaborn and pyplot libraries.") import seaborn as seaborntest import matplotlib.pyplot as pyplottest...
View ArticlePython - Create Scatter Chart Using Matplotlib
import matplotlib.pyplot as mattexample print ("Imported matplotlib as 'mattexample'") # x axis values x = [2, 4, 6, 8, 10, 12, 14, 16] # y axis y = [7, 5, 8, 6, 7, 8, 10, 14] print("The x-axis values...
View ArticlePython - Create Bar Chart Using Matplotlib
import matplotlib.pyplot as mattexample print ("Imported matplotlib") # x axis values x = [2, 4, 6, 8, 10, 12, 14, 16] # y axis y = [7, 5, 8, 6, 7, 8, 10, 14] print("The x-axis values are: ", x)...
View ArticlePython - Create Plot Line Chart Using Matplotlib
In order to use the Matplotlib library, it must be installed first: Open a command line (in Linux, I used Xfce Terminal) Install "pip", the Python package manager (this was for Python3): python3 -m pip...
View ArticlePython - Lift to Drag Ratio
{"context":{"location":{"href":"https://www.instructables.com/editInstructable/publish/ECIOQQ0KBP33SCX","origin":"https://www.instructables.com","protocol":"https:","host":"www.instructables.com","host...
View ArticlePython - Specific Impulse by Weight for Earth, Moon, Mars, Europa and Io
print ("This program will calculate the Specific Impulse by Weight.") import math ### Formula for calculating the Specific Impulse by Weight: # SpecificImpulse = ( (Thrust *...
View ArticlePython - Calculate Pitch Diameter for Gears
print ("This program will calculate the Pitch Diameter of gears in metric units.") import math ### Formula for calculating the Pitch Diameter of gears: # PitchDiameter = (NumberOfTeeth *...
View ArticlePython - Calculate the Logarithmic Rate of Return
print ("This program will calculate the Logarithmic Rate of Return.") import math ### Formula for calculating the Logarithmic Rate of Return: # LogarithmicRateOfReturn = (Natural...
View ArticlePython - Calculate Gamma Distribution (Skewness)
print ("This program will calculate the Gamma Distribution (Skewness).") import math ### Formula for calculating the Gamma Distribution: # GammaDistribution = (2/(math.sqrt(ShapeParameter)...
View ArticlePython - Calculate Days In Inventory
print ("This program will calculate the days in inventory.") import math ### Formula for calculating the days in inventory: # DaysInInventory = (AverageOfInventory/(TotalCostOfGoodsSold/365)...
View ArticlePython - Cross Sectional Area of a De Laval Nozzle
print ("This program will calculate the cross sectional area of a de Laval/convergent-divergent nozzle.") import math ### Formula for calculating the cross sectional area of a de...
View ArticlePython - Distance to Shock/Mach Diamond
print ("This program will calculate the distance from the nozzle to the first Shock/Mach Diamond.") import math ### Formula for calculating the the distance from the nozzle to the first Shock/Mach...
View ArticlePython - Net Thrust of a Rocket Engine
print ("This program will calculate the net thrust of a rocket engine.") import math ### Formula for calculating the net thrust of a rocket engine: # NetThrustRocketEngine = ((ExhaustGasMassFlow /...
View ArticlePython - Ideal/Tsiolkovsky Rocket Equation
print ("This program will calculate the Tsiolkovsky rocket equation..") import math ### Formula for calculating the Tsiolkovsky rocket equation: # MaxChangeInVelocity = (EffectiveExhaustVelocity) *...
View ArticlePython - Lead Angle Between Helix and Plane of Rotation
print ("This program will calculate the Lead Angle between the helix and a plane of rotation.") import math ### Formula for calculating the the Lead Angle between the helix and a plane of rotation: #...
View Article