Cody

# Problem 44411. テレビのサイズを求めてみよう

Solution 1527914

Submitted on 13 May 2018 by Ahmed Abdelbasit
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 = 40; y_correct = [34.86 19.61]; [y1 y2]=TV(x) assert(y1-y_correct(1)<=0.01 && y2-y_correct(2)<=0.01)

y = 18.3576 width = 34.8630 height = 19.6104 y1 = 34.8630 y2 = 19.6104

2   Pass
x=49 y_correct = [42.71 24.02]; [y1 y2]=TV(x) assert(y1-y_correct(1)<=0.01 && y2-y_correct(2)<=0.01)

x = 49 y = 18.3576 width = 42.7072 height = 24.0228 y1 = 42.7072 y2 = 24.0228

### 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.59356296,"math_prob":0.9813964,"size":655,"snap":"2020-45-2020-50","text_gpt3_token_len":250,"char_repetition_ratio":0.14285715,"word_repetition_ratio":0.03846154,"special_character_ratio":0.5053435,"punctuation_ratio":0.15333334,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9959248,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-01T18:58:00Z\",\"WARC-Record-ID\":\"<urn:uuid:a5e56a9c-eb3a-4a17-ae49-5d0c519d955d>\",\"Content-Length\":\"79591\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a22d404e-4cbc-45bb-bd42-dc145d5c0e03>\",\"WARC-Concurrent-To\":\"<urn:uuid:4c1cdff9-4c58-4417-8f32-fc1c16c45083>\",\"WARC-IP-Address\":\"184.25.198.13\",\"WARC-Target-URI\":\"https://kr.mathworks.com/matlabcentral/cody/problems/44411-/solutions/1527914\",\"WARC-Payload-Digest\":\"sha1:NPGIM6VLWAXRWB74ZRBBRWXTMN3JA6ED\",\"WARC-Block-Digest\":\"sha1:5OYHCDH3KH7TB7S4VPB4NBJ37TEY5QGK\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141681209.60_warc_CC-MAIN-20201201170219-20201201200219-00389.warc.gz\"}"}