e… Yes, e. #WSQ12

This is great… In this program we had to estimate the value of «e» by giving certain number of decimals. I include the library iomanip for the code to work. I used Fabrizzio‘s tutorial and Bere’s help. I used to functions, the first one was easy because we already used that kind of funtions and the second one used things I’ve never seen, but once Bere explained me, everything was fine. Here is the code:

e2

Here how it worked:

e

Original feature image recovered from: https://www.flickr.com/photos/giotto2009/9695805129/in/photolist-fLMx4X-bUrqKG-2ToA4i-5UUxAx-e9UWPF-38HgKB-jKNivm-foLqe6-6FAry4-aj5Qoc-9TgzGb-6S7LdR-9cmiuQ-2HMHm6-7QZDAh-4DnyP9-8md35F-dLBLQ3-aK8CJ-odtJLg-81grw3-CLSiZ-bzoD1G-7BHEY5-86LSMU-9W6yjh-7drWPL-7EDPPa-oW6358-4y9YZz-SjJkWS-6bf1xZ-7qJq4j-oi5psx-6QjBS1-4u7SUh-48YY6x-wCYu-8KohFt-erbVd9-pwdopG-pq79Fq-f6JhEP-6esxmF-82PyBZ-9fBGhm-prV6xd-4DpJVJ-4mLQ1y-5HF9kX


Deja un comentario