Cody

# Problem 44943. Calculate Amount of Cake Frosting

Solution 1979927

Submitted on 17 Oct 2019 by ME
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
r = 3; h = 2; y_correct = 65.9734; assert(abs(func_frosting(r,h) - y_correct) < 1e-4)

2   Pass
r = 0.5; h = 0.25; y_correct = 1.5708; assert(abs(func_frosting(r,h) - y_correct) < 1e-4)
{"ft_lang_label":"__label__en","ft_lang_prob":0.535827,"math_prob":0.8997061,"size":509,"snap":"2019-51-2020-05","text_gpt3_token_len":166,"char_repetition_ratio":0.13267326,"word_repetition_ratio":0.049382716,"special_character_ratio":0.35952848,"punctuation_ratio":0.16190477,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98130774,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-24T11:32:27Z\",\"WARC-Record-ID\":\"<urn:uuid:abfaf739-4b50-4e8a-9b1d-848006242f5d>\",\"Content-Length\":\"72455\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1af75bfc-337b-47cd-9755-69442721d198>\",\"WARC-Concurrent-To\":\"<urn:uuid:9178c06b-1379-4494-8f32-e609338bc204>\",\"WARC-IP-Address\":\"23.50.112.17\",\"WARC-Target-URI\":\"https://nl.mathworks.com/matlabcentral/cody/problems/44943-calculate-amount-of-cake-frosting/solutions/1979927\",\"WARC-Payload-Digest\":\"sha1:KEBDFISTOHGR6JUKU7IFUSHQ7FME5JRB\",\"WARC-Block-Digest\":\"sha1:4QUGZ6YIXCKULCGK5DI2YN75QBGPWDHH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250619323.41_warc_CC-MAIN-20200124100832-20200124125832-00224.warc.gz\"}"}