Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
D
diff
Project
Project
Details
Activity
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
irada chinnachat
diff
Commits
c29ad69c
Commit
c29ad69c
authored
6 years ago
by
irada chinnachat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
third.py
parent
9c4e3b3f
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
diff.py
diff.py
+4
-0
No files found.
diff.py
0 → 100644
View file @
c29ad69c
def
f
(
x
):
return
e
**
(
-
x
)
def
third
(
f
,
x
=
a
,
h
=
0.001
)
return
(
f
(
x
+
2
*
h
)
-
2
*
f
(
x
+
h
)
+
2
*
f
(
x
-
h
)
+
(
-
f
(
x
-
2
*
h
)))
/
(
2
*
(
h
**
3
))
This diff is collapsed.
Click to expand it.
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