Cody

# Problem 43156. Find x in provided equation!

Solution 1049073

Submitted on 9 Nov 2016 by jaeseong kim
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 = [1 -2 1]; y_correct = [1;1]; assert(isequal(solvepol(x),y_correct))

2   Pass
x = [1 -3 2]; y_correct = [2;1]; assert(isequal(solvepol(x),y_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.58041143,"math_prob":0.9817706,"size":466,"snap":"2020-24-2020-29","text_gpt3_token_len":141,"char_repetition_ratio":0.13419913,"word_repetition_ratio":0.0,"special_character_ratio":0.33690986,"punctuation_ratio":0.09195402,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9543923,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-05-26T07:46:33Z\",\"WARC-Record-ID\":\"<urn:uuid:98535a6e-ad95-487b-8a3b-97a20c6d3f99>\",\"Content-Length\":\"72886\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:410729b3-e5d0-4019-8897-6e64d9855554>\",\"WARC-Concurrent-To\":\"<urn:uuid:22bce687-cb6f-425e-a5ad-6feb7eda5ced>\",\"WARC-IP-Address\":\"23.50.112.17\",\"WARC-Target-URI\":\"https://ch.mathworks.com/matlabcentral/cody/problems/43156-find-x-in-provided-equation/solutions/1049073\",\"WARC-Payload-Digest\":\"sha1:CMR3UVA75SRZXNVWLUTUFWNRD6AYVS4Y\",\"WARC-Block-Digest\":\"sha1:T3FS7KIGQNYNEYTSHHM4AX5EWO7LFZPN\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590347390448.11_warc_CC-MAIN-20200526050333-20200526080333-00130.warc.gz\"}"}