Question: I need help with this problem please The harmonic series is defined as the sum: The series diverges, but slowly, like ln(n). A good approximation

I need help with this problem please

The harmonic series is defined as the sum:

The series diverges, but slowly, like ln(n). A good approximation to is given by the formula:

where = 0.57721 is so-called Euler-Mascheroni constant. ( - greek letter, gamma)

An improved approximation to is given by:

(1) create a vector n, where n start at 1, end as 20 with increment of 1.

(2) Calculate the approximation of using , use variable name f_n.

(3) Calculate the approximation of using , use variable name g_n.

(4) Convert f_n and g_n to column vectors, and put them in a matrix named table_approx. In the matrix, the first column is f_n, second of the table is g_n.I need help with this problem please The harmonic series is defined

The harmonic series is defined as the sum: hn=1+21+31++n1,n1 The series diverges, but slowly, like ln(n). A good approximation to hn is given by the formula: fn=+ln(n+21) where =0.57721 is so-called Euler-Mascheroni constant. ( - greek letter, gamma) An improved approximation to hn is given by: gn=+ln(n+21+24n1) (1) create a vector n, where n start at 1 , end as 20 with increment of 1. (2) Calculate the approximation of hn using fn, use variable name fn. (3) Calculate the approximation of hn using gn, use variable name gn. (4) Convert f_n and g_n to column vectors, and put them in a matrix named table_approx. In the matrix, the first column is f_n, second of the table is g_n. Script 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!