Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
ode-solver-2021
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Величко Арсений Александрович
ode-solver-2021
Commits
558802fa
Commit
558802fa
authored
Dec 25, 2021
by
Величко Арсений Александрович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add functions
parent
8fadc5a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
functions.py
src/functions/functions.py
+25
-0
No files found.
src/functions/functions.py
View file @
558802fa
import
math
def
fn_sin
(
x
:
float
)
->
float
:
return
math
.
sin
(
x
)
def
fn_cos
(
x
:
float
)
->
float
:
return
math
.
cos
(
x
)
def
fn_ln
(
x
:
float
)
->
float
:
return
math
.
log
(
x
)
def
fn_sqrt
(
x
:
float
)
->
float
:
return
math
.
sqrt
(
x
)
def
fn_square
(
x
:
float
)
->
float
:
return
x
**
2
def
fn_cube
(
x
:
float
)
->
float
:
return
x
**
3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment