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,

ich bin schon seit Längerem auf der Suche nach einem kompletten Struktogramm für die Newton-Interpolation.

Gefunden habe ich z.B. folgendes Struktogramm, das aber nicht vollständig ist - leider.

Newton-Interpolation Struktogramm

Kann mir jemand helfen dieses Struktogramm zu vervollständigen oder hat jemand einen Link parat, wo ich ein ausführliches Struktogramm dazu finde?

Danke vielmals.

k++

Was fehlt denn da deiner Meinung nach?

Die Deklaration und Initialisierung von n, f, x und s. Wo soll das rein?

Wäre nachstehend es so korrekt?

public static double [] interpol(int n ,int k, double[]f, double[]x, double[]s, int m) 

{ 

for (k=0; k <= n; k++) 

{ 

for( m =k-1; m <= 0; k--) 

{ 

f[m] = (f[m+1] - f[m]) / (x[k] - x[m]); 

} 

s[k] = f [0]; 

} 

return s; 

}

}

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.