Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
APMonitor committed May 12, 2022
1 parent ce0dadf commit d9dd26f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/test_arc_hypbolics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from gekko import GEKKO
m = GEKKO()
x = [1,2,0.5]
y = m.Array(m.Var,3,value=1)
m.Equation(y[0]==m.asinh(x[0]))
m.Equation(y[1]==m.acosh(x[1]))
m.Equation(y[2]==m.atanh(x[2]))
m.solve(disp=False)
print(y)

0 comments on commit d9dd26f

Please sign in to comment.