Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sci_python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SCW2017
sci_python
Commits
f516c95e
Commit
f516c95e
authored
Oct 23, 2015
by
Inigo Aldazabal Mensa (@X1)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tutorial final version
parent
ab95f8bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
files/sol_integ.py
files/sol_integ.py
+6
-0
files/sol_sinc.py
files/sol_sinc.py
+7
-0
No files found.
files/sol_integ.py
0 → 100644
View file @
f516c95e
import
scipy.integrate
as
integrate
def
f
(
x
):
return
np
.
exp
(
-
x
)
integrate
.
quad
(
f
,
0
,
np
.
inf
)
files/sol_sinc.py
0 → 100644
View file @
f516c95e
x
=
np
.
linspace
(
0.1
,
6.
*
np
.
pi
,
num
=
200
)
y
=
np
.
sin
(
x
)
/
x
plt
.
plot
(
x
,
y
,
'r:'
,
label
=
'sin(x)/x'
)
plt
.
grid
()
plt
.
legend
()
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