Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

(a) To see the results in Problem 1graphically, computer plot the percentage error in Stirling’s formula as a function of p for values of p = 1-1000. Make separate plots, say for p = 1-10, 10-100, 100-1000, to make it easier to read values from your plots.

(b) Repeat part (a) for the percentage error in (11.5) using two terms of the asymptotic series, that is, Stirling’s formula times[1+112p].

Short Answer

Expert verified

The graph is shown below.

a)

b)

Step by step solution

01

Given Information

The gamma function isΓp+1=p!.

02

Definition of Gamma function.

Gamma function behaves similarly to a factorial for natural numbers (a discrete set), its extension to positive real numbers (a continuous set) allows it to be used to model situation involving continuous change.

Gamma functionΓ(p)=0xp-1e-xdx.

03

Plot the graph for part (a).

The gamma function is Γp+1=p!.

Find the relative error using Sterling’s formula.

localid="1664876138184">R=xxe-x2πx1+112x-xxe-x2πxxxe-x2πx1+112x=112x1+112x=1+112x=1001+12x%

The graph of the function is shown below.

04

Plot the graph for part (b).

The gamma function is Γp+1=p!.

Find the relative error using Sterling’s formula.

R=xxe-x2πx1+112x+1288x2-xxe-x2πx1+112xxxe-x2πx1+112x+1288x2=1288x21+112x+1288x2=11+24x+288x2=1001+24x+288x2%

The graph of the function is shown below.

Hence, the graph has been plotted.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Physics Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free