Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"Rückrechnen"

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

mal eine Frage...

Ich hab meinem Taschenrechner heute schon das unmöglichste Abverlangt, aber irgendwie steh ich aufm Schlauch :D

Und zwar folgendes:

Wenn ich den Wert 2^10 habe, ist das Ergebnis 1024, nich? :D

Jetzt möchte ich aber folgendes wissen:

Ich hab 1024 und möchte herausbekommen, was als Exponent da war (also eine 10 z.B.) - quasi welche Zahl hinter dem "2^" steht.

Jemand ne Idee?

Kann doch nicht so schwer sein :D

Brauche das, um zu wissen, wie oft ne Schleife durchlaufen werden soll... :beagolisc

Gruß

Gany

y = 2^x

die umkehrung ist der logarithmus zur basis 2 von y also log2(y) = x;

da ein Taschenrechner aber meistens nur den logarithmus zur basis 2 (log) oder e (ln) kennt muss man das dann anders rechnen:

x = ln(y)/ln(basis) also für deinen fall x = ln(y)/ln(2)

hoffe das hat weiter geholfen

edit: neeiiiiiiin zu spät

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.