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.

Empfohlene Antworten

Veröffentlicht

Hi,

wie kann ich ein Intervall von 0 bis 800 in ein Intervall -2.5 bis 3 umrechen?

Oder ein Intervall von 0 bis 800 in ein Intervall 2.5 bis 3 umrechen?

Ehrlich gesagt verstehe ich Klotzkopps Lösung nicht wirklich.

Aber wenn ich ein Intervall [0,800] nach [-2.5,3] abbilden möchte, dann überlege ich mir zuerst, daß mein neues Intervall die "Länge" 5.5 hat. Also muß ich 800/5.5 berechnen (145.45...). Jetzt geht das Intervall aber von 0 bis 5.5. Um diesen Mißstand zu beheben zieht man noch 2.5 ab.

Also x Element [0,800]:

x' = x/145.45.. -2,5. x' ist der entsprechende Wert im neuen Intervall [-2.5,3]

Im zweiten Fall ist das Intervall 0.5 "lang". Hier verschieben wir das Intervall nach 2.5 also sieht die "Formel" folgendermaßen aus:

x' = x / 1600 + 2.5

HTH

Jan

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.