Grafik überarbeitet
This commit is contained in:
@@ -25,7 +25,7 @@ $$
|
||||
\node at (\x,1.5em) {$\y$};
|
||||
|
||||
\draw[blue, thick] (1,0.1) -- (5,0.1);
|
||||
\draw[red, thick] (3,0.15) -- (8,0.15);
|
||||
\draw[red, thick] (3,0.2) -- (8,0.2);
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
@@ -45,7 +45,7 @@ $$
|
||||
&A \backslash B=\{x \mid x \in A \wedge x \notin B\}=]-8,2[, \quad B \backslash A=\{x \mid x \notin A \wedge x \in B\}=[8, \infty[.
|
||||
\end{aligned}
|
||||
$$
|
||||
\subsection*{Lösungen in Mathematica}
|
||||
\subsubsection*{Lösungen in Mathematica}
|
||||
\lstset{
|
||||
basicstyle=\footnotesize,
|
||||
language=Mathematica,
|
||||
@@ -68,6 +68,23 @@ $\text{Interval}[\{-8,\infty \}]$
|
||||
$\cap$ $\text{IntervalIntersection}[\text{Interval}[\{-8,8\}],\text{Interval}[\{2,\infty \}]]$
|
||||
$\text{Interval}[\{2,8\}]$
|
||||
|
||||
\subsubsection*{Lösungen in Sympy}
|
||||
\paragraph*{Umschreiben der Ungleichung in ein Intervall}
|
||||
|
||||
\lstset{
|
||||
basicstyle=\footnotesize,
|
||||
language=Python,
|
||||
}
|
||||
|
||||
\begin{lstlisting}
|
||||
from sympy import Symbol, solve_univariate_inequality
|
||||
|
||||
x = Symbol('x')
|
||||
|
||||
ungleichung = abs(x)<8
|
||||
\end{lstlisting}
|
||||
|
||||
|
||||
|
||||
\subsection*{Aufgabe 1 b}
|
||||
Bestimmen Sie die Schnittmenge $A \cap B$, die Vereinigungsmenge $A \cup B$ und die beiden Differenzmengen $A \backslash B$ beziehungsweise $B \backslash A$ für
|
||||
|
||||
Reference in New Issue
Block a user