Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trs
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
trs
Commits
65a8b62b
Commit
65a8b62b
authored
May 02, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved intergral rule message.
parent
09820ea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/rules/integrals.py
src/rules/integrals.py
+8
-3
No files found.
src/rules/integrals.py
View file @
65a8b62b
...
...
@@ -67,7 +67,12 @@ def solve_indef(root, args):
return
substitute
(
Fx
,
x
,
b
)
-
substitute
(
Fx
,
x
,
a
)
MESSAGES
[
solve_indef
]
=
_
(
'Solve indefinite integral {0} using substitution.'
)
def
solve_indef_msg
(
root
,
args
):
return
_
(
'Solve indefinite integral {0} using substitution '
\
'of %s with {0[2]} and {0[1]}.'
%
find_variable
(
root
[
0
]))
MESSAGES
[
solve_indef
]
=
solve_indef_msg
def
match_integrate_variable_power
(
node
):
...
...
@@ -100,8 +105,8 @@ def integrate_variable_root(root, args):
return
solve_integral
(
root
,
L
(
1
)
/
(
n
+
1
)
*
x
**
(
n
+
1
))
MESSAGES
[
integrate_variable_root
]
=
\
_
(
'Apply standard integral int(x ^ n) = x ^ (n + 1) /
(n + 1) + c.'
)
MESSAGES
[
integrate_variable_root
]
=
_
(
'Apply standard integral '
\
'int(x ^ n) = 1 / (n + 1) * x ^
(n + 1) + c.'
)
def
integrate_variable_exponent
(
root
,
args
):
...
...
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