This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
PI_STRING = "3.141592653589793238" | |
RED = "\x1B[31m" | |
GREEN = "\x1B[32m" | |
RESET = "\x1B[0m" | |
def main(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
import math | |
def main(): | |
print("--------------------") | |
print("| codedrome.com |") | |
print("| Polar Plots with |") | |
print("| Turtle Graphics |") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import angle | |
def main(): | |
print("-----------------") | |
print("| codedrome.com |") | |
print("| Angles |") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from types import MappingProxyType | |
import math | |
class Angle(object): | |
""" | |
The Angle class stores an angle value | |
in a selection of units, | |
and provides methods for string representation, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functionplotter as fp | |
import samplefunctions as sf | |
def main(): | |
print("--------------------") | |
print("| codedrome.com |") | |
print("| Function Plotter |") | |
print("--------------------\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
samples = { | |
"quadratic": (lambda x: x**2) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
def plot(functions, start, end, step, config): | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import halflifeutilities as hlu | |
import radioactivenuclides as ran | |
def main(): | |
print("-------------------------------------") | |
print("| codedrome.com |") | |
print("| Half Life of Radioactive Nuclides |") | |
print("-------------------------------------\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import radioactivenuclides as ran | |
def _sci_not_to_num(significand, exponent): | |
return significand * 10 ** exponent | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radioactive_nuclides = { | |
"tellurium128": | |
{ | |
"element": "tellurium", | |
"elementsymbol": "Te", | |
"atomicmass": 128, | |
"significand": 2.2, | |
"exponent": 24 | |
}, |
NewerOlder