\( \newcommand{\br}[1]{\left( #1\right)} \newcommand{\logpar}[1]{\log\left( #1\right)} \newcommand{\cospar}[1]{\cos\left( #1\right)} \newcommand{\sinpar}[1]{\sin\left( #1\right)} \newcommand{\tanpar}[1]{\tan\left( #1\right)} \newcommand{\arcsinpar}[1]{\sin^{-1}\!\left( #1\right)} \newcommand{\arccospar}[1]{\cos^{-1}\!\left( #1\right)} \newcommand{\arctanpar}[1]{\tan^{-1}\!\left( #1\right)} \newcommand{\asin}[1]{\sin^{-1}\! #1} \newcommand{\acos}[1]{\cos^{-1}\! #1} \newcommand{\atan}[1]{\tan^{-1}\! #1} \newcommand{\asinh}[1]{\sinh^{-1}\! #1} \newcommand{\acosh}[1]{\cosh^{-1}\! #1} \newcommand{\atanh}[1]{\tanh^{-1}\! #1} \newcommand{\logten}[1]{\log_{10}\! #1} \definecolor{explaination}{RGB}{0, 166, 226} \newcommand{\ubrace}[2][u]{ { \color{explaination}{\underbrace{ {\color{black}{#2}} }_{#1}} } } \newcommand{\obrace}[2][u]{ { \color{explaination}{\overbrace{ {\color{black}{#2}} }^{#1}} } } \definecolor{highlight}{RGB}{181, 41, 118} \newcommand{\xplain}[1]{{ \textcolor{explaination} { \footnotesize{ #1 \newline}}}} \newcommand{\hilite}[1]{{ \textcolor{highlight} { { #1 }}}} \definecolor{lightergray}{gray}{.675} \newcommand{\hide}[1]{{ \textcolor{lightergray} { \footnotesize{ #1 \newline}}}} \newcommand{\mth}[1]{ { \textcolor{black} { { \small #1 } } } } \)

Übung: Logarithmen auswerten

randRange(2, 16) randRange(-4, 4) pow(BASE, abs(EXP)) (EXP < 0 ? "\\dfrac{1}{" + ABS_NUM + "}" : "" + ABS_NUM)

Was ist der Wert des folgenden Logarithmus?

\Large\log_{BASE} EXP < 0 ? "\\left(" + NUM_STR + "\\right)" : NUM_STR

EXP

Wenn b^y = x, dann \log_{b} x = y.

Daher, müssen wir einen wert für y finden, sodass BASE^{y} = NUM_STR.

Jede Zahl hoch 1 ist die Zahl selbst, daher ist BASE^{1} = BASE und daher ist \log_{BASE} BASE = 1.

Jede Zahl hoch 0 ist 1, sodass BASE^0 = 1 und daher \log_{BASE} 1 = 0.

Jede Zahl hoch -1 ist dessen Kehrwert, sodass BASE^{-1} = \dfrac{1}{BASE} und daher \log_{BASE} \left(\dfrac{1}{BASE}\right) = -1.

In diesem Fall ist BASE^{EXP} = NUM_STR, sodass \log_{BASE} \left(NUM_STR\right) = EXP ist.In diesem Fall ist BASE^{EXP} = NUM_STR, sodass \log_{BASE} NUM_STR = EXP.

randRange(2, 16) randRange(2, 5) pow(BASE, EXP)

Was ist der Wert des folgenden Logarithmus?

\Large\log_{NUM} BASE

1/EXP

Wenn b^y = x, dann \log_{b} x = y.

Merke, dass BASE die ["Quadratwurzel", "Kubikwurzel", "4. Wurzel", "5. Wurzel"][EXP - 2] von NUM ist.

Also ist \sqrt{NUM} = NUM^{1/EXP} = BASE.

Also ist \sqrt[EXP]{NUM} = NUM^{1/EXP} = BASE.

Daher ist \log_{NUM} BASE = \dfrac{1}{EXP}.