-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Documenter.jl
committed
Mar 25, 2024
1 parent
4edd276
commit d3cf1a1
Showing
15 changed files
with
1,688 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.1.5 | ||
v0.1.6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.1.5 | ||
v0.1.6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-25T01:41:02","documenter_version":"1.3.0"}} |
353 changes: 353 additions & 0 deletions
353
v0.1.6/.ipynb_checkpoints/Handcalcs_py-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import handcalcs.render | ||
from handcalcs.decorator import handcalc | ||
from math import sqrt | ||
import forallpeople | ||
forallpeople.environment("structural", top_level = True) | ||
|
||
|
||
import pandas as pd | ||
import matplotlib.pyplot as plt | ||
|
||
|
||
|
||
|
||
|
||
%%render params | ||
a = 2*inch | ||
b = -5*inch | ||
c = 2*inch | ||
h = 10*inch | ||
|
||
|
||
|
||
|
||
|
||
%%render | ||
x = (-b + sqrt(b**2 - 4*a*c))/(2*a) | ||
|
||
|
||
%%render | ||
d = (a + b) * c | ||
|
||
|
||
@handcalc(jupyter_display=True) | ||
def calc_Ix(b, h): | ||
I_x = b*h**3/12 | ||
return I_x | ||
|
||
|
||
I_x = calc_Ix(b, h) | ||
|
||
|
||
|
||
|
||
|
||
df = pd.DataFrame({"Height": [2*inch, 4*inch, 6*inch], "Width": [1*inch, 3*inch, 5*inch]}) | ||
df | ||
|
||
|
||
|
||
|
||
|
||
y = range(-1000, 1000, 50) | ||
z = [i**2 for i in y] | ||
|
||
|
||
fig = plt.plot(y, z) | ||
fig | ||
|
||
|
||
|
Oops, something went wrong.