I hereby claim:
- I am neila on github.
- I am neila (https://keybase.io/neila) on keybase.
- I have a public key ASCpch2OctcoPf7JaCn6vUiI5TGuVj2de9dvizWCZi2O1Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import matplotlib.pyplot as plt | |
import requests | |
from ratelimit import limits, sleep_and_retry | |
class SecAPI(object): | |
SEC_CALL_LIMIT = {'calls': 10, 'seconds': 1} | |
@staticmethod |
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 11.3' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 11.3' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 11.3' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 11.3' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
import numpy as np | |
import random as rm | |
import sys | |
states = ['Ice Cream', "McDonald's", 'Salad', 'Boba', 'Sushi', 'Beer'] | |
def activity_forecast(days,states,input,transmat=None): | |
# Choose the starting state | |
if input not in states: | |
sys.exit('input not valid') |
import numpy as np | |
from matplotlib import pyplot as plt | |
def f(l, a, b, T): | |
return a*(l**2) - a/l + b*l - b/(l**2) - T | |
def df(l, a, b): | |
return 2*a*l + a/(l**2) + b + 2*b/(l**3) | |
def q1_newton(x0, f, df, a, b, T, n=1): |