עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

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.

סכומי רימן

Featured Replies

פורסם

מחפש דוגמה לתכנית בשפת c

לחישוב שטח מתחת לפרבולות בשיטת קירוב רימן (מלבנים)

האם אפשרי?

פורסם

האם זה אפשרי? כן. אם לבעיה יש פתרון מתמטי סופי, בדר"כ אפשרי לפתור אותה באמצעות מחשב....

אם אתה יודע C, ואם אתה יודע איך מחשבים שטח מתחת לפרבולה לא יהיה לך קשה לכתוב כזו תכנית בעצמך, אלא אם כן אתה מחפש שמישהו אחר יעשה בשבילך את השיעורים?

  • 2 שבועות מאוחר יותר...
פורסם

אני פשוט סקרן, אתה יכול להגיד לי מה זו שיטת רימן?

פורסם

Here it is:

typdef double (* DFD)(double); /*define a type DFD to be a pointer to a function that recieves a double and return a double */

double (DFD p, double low, double high, unsigned N)

{

double Area = 0;

double x = low, dx = (high - low) / N;

while (x < high)

{

Area += dx * (p(x) + p(x + dx)) / 2;

x += dx;

}

return Area;

}

and here is an example how to use it:

define a function:

double F(double x)

{

return x * x;

}

and then in main() :

void main()

{

printf("%lf", integral(F, 0, 3, 100000)); //print the integral of F from 0 to 3 using riemann sums

}

צריך עוד הסברים?

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

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.