Cody

# Problem 44660. Perimeter of a semicircle

Solution 2119903

Submitted on 6 Feb 2020 by Sophia Nguyen
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
d = 20; y_correct = 20+(10*pi); assert(isequal(perm_semicircle(d),y_correct))

2   Pass
d = 100; y_correct = 100+(50*pi); assert(isequal(perm_semicircle(d),y_correct))

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
{"ft_lang_label":"__label__en","ft_lang_prob":0.51199937,"math_prob":0.75702435,"size":431,"snap":"2020-45-2020-50","text_gpt3_token_len":128,"char_repetition_ratio":0.1381733,"word_repetition_ratio":0.0,"special_character_ratio":0.33178654,"punctuation_ratio":0.10526316,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9761387,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-22T01:25:03Z\",\"WARC-Record-ID\":\"<urn:uuid:d2b46a96-2618-43bf-a624-37ed966c1bc4>\",\"Content-Length\":\"79568\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f0e6fafd-c36c-42a3-9070-f06f33519bba>\",\"WARC-Concurrent-To\":\"<urn:uuid:4c864813-ea62-4dd9-8acc-108e8de6b306>\",\"WARC-IP-Address\":\"23.32.68.178\",\"WARC-Target-URI\":\"https://kr.mathworks.com/matlabcentral/cody/problems/44660-perimeter-of-a-semicircle/solutions/2119903\",\"WARC-Payload-Digest\":\"sha1:KGDKNXS7S2MEZGAMS2YWT5H7O6SOBWO3\",\"WARC-Block-Digest\":\"sha1:A6PWMCLM7TMBZNFDSYS6VZ3QGQVZHGO5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107878662.15_warc_CC-MAIN-20201021235030-20201022025030-00567.warc.gz\"}"}