Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
17556: reviewer's patch: adapt text and test to changed behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Jan 22, 2015
1 parent 044db1d commit 3616d00
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/doc/de/thematische_anleitungen/sage_gymnasium.rst
Original file line number Diff line number Diff line change
Expand Up @@ -386,16 +386,22 @@ wir dies mit der ``simplify_full()`` Funktion::
sage: (sin(x)^2 + cos(x)^2).simplify_full()
1

Dabei werden auch Additionstheoreme für trigonometrische Funktionen und manche
Logarithmengesetze eingesetzt::
Dabei werden auch Additionstheoreme für trigonometrische Funktionen eingesetzt::

sage: var('x, y, z')
(x, y, z)
sage: (sin(x + y)/(log(x) + log(y))).simplify_full()
(cos(y)*sin(x) + cos(x)*sin(y))/log(x*y)
sage: sin(x + y).simplify_full()
cos(y)*sin(x) + cos(x)*sin(y)
sage: (sin(x)^2 + cos(x)^2).simplify_full()
1

Mit der verwandten Funktion ``simplify_real()`` werden auch Additionstheoreme
bei Logarithmen angewandt, die nur mit reellen Werten erlaubt sind::

sage: x, y = var('x, y')
sage: (log(x) + log(y)).simplify_real()
log(x*y)

Faktorisieren und ausmultiplizieren
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 3616d00

Please sign in to comment.