Cody

# Problem 953. Pi Estimate 1

Solution 1978656

Submitted on 16 Oct 2019 by Banana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
x = 10; y_correct = 3.041840000000000; assert(isequal(pi_est1(x),y_correct))

y = 3.0418

2   Pass
x = 1000; y_correct = 3.140593000000000; assert(isequal(pi_est1(x),y_correct))

y = 3.1406

3   Pass
x = 1e6; y_correct = 3.141592000000000; assert(isequal(pi_est1(x),y_correct))

y = 3.1416
{"ft_lang_label":"__label__en","ft_lang_prob":0.53445715,"math_prob":0.99717516,"size":652,"snap":"2020-10-2020-16","text_gpt3_token_len":214,"char_repetition_ratio":0.1558642,"word_repetition_ratio":0.0,"special_character_ratio":0.41104296,"punctuation_ratio":0.152,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99562526,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-03-30T23:30:15Z\",\"WARC-Record-ID\":\"<urn:uuid:8a2e955b-4a9f-4b70-b8ae-c2aa7b796287>\",\"Content-Length\":\"72908\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b2c10f61-35a3-4257-9cd9-07cc3e8e692b>\",\"WARC-Concurrent-To\":\"<urn:uuid:8e6969ae-6351-4e03-839a-f93c3727759d>\",\"WARC-IP-Address\":\"104.110.193.39\",\"WARC-Target-URI\":\"https://es.mathworks.com/matlabcentral/cody/problems/953-pi-estimate-1/solutions/1978656\",\"WARC-Payload-Digest\":\"sha1:HMMTZD5MZZDOMDR3T6YFAKAICQC5V6CO\",\"WARC-Block-Digest\":\"sha1:KNTHGVTRFBYIJUSZN6WPTI7ADYGOMVLE\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-16/CC-MAIN-2020-16_segments_1585370497309.31_warc_CC-MAIN-20200330212722-20200331002722-00254.warc.gz\"}"}