rec02 - Recitation Problems Week 2 440:127 Fall 2011 S J...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Recitation Problems – Week 2 440:127 – Fall 2011 – S. J. Orfanidis Please do the following problems from your textbook during your recitation session, including any addi- tional problems given to you by your TA. 1. The harmonic series is deFned as the sum: h n = 1 + 1 2 + 1 3 +···+ 1 n ,n 1 The series diverges, but slowly, like ln (n) . A fairly good approximation to h n is given by the formula: f n = γ + ln (n) where γ = 0 . 5772156649 ... is the so-called Euler constant. An improved approximation is given by g n = γ + ln (n) + 1 2 n Use the function cumsum to calculate h n for n
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/25/2011 for the course COMPUTER S 101 taught by Professor Orfandi during the Spring '11 term at Rutgers.

Ask a homework question - tutors are online