Cody

# Problem 42924. Write a code that will follow the equation y = x * (x + x) * x.

Solution 2887124

Submitted on 28 Aug 2020 by Kunjunni Mohanan
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 = 5; y_correct = 250; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
x = 2; y_correct = 16; assert(isequal(your_fcn_name(x),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.6170119,"math_prob":0.92365515,"size":418,"snap":"2020-45-2020-50","text_gpt3_token_len":124,"char_repetition_ratio":0.14251208,"word_repetition_ratio":0.0,"special_character_ratio":0.31578946,"punctuation_ratio":0.10958904,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9843565,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-28T22:51:29Z\",\"WARC-Record-ID\":\"<urn:uuid:cc860020-7c65-4682-a799-5b0d8880c2fd>\",\"Content-Length\":\"79410\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:212fec79-2a5f-4bce-8e45-e15a67a91d95>\",\"WARC-Concurrent-To\":\"<urn:uuid:e2842664-1b32-4877-ace4-32c0dae2b421>\",\"WARC-IP-Address\":\"23.223.252.57\",\"WARC-Target-URI\":\"https://in.mathworks.com/matlabcentral/cody/problems/42924-write-a-code-that-will-follow-the-equation-y-x-x-x-x/solutions/2887124\",\"WARC-Payload-Digest\":\"sha1:ERLQTA2LU7JUQ7XIKRVNGQ5YXJU3TPIC\",\"WARC-Block-Digest\":\"sha1:DW44RAPE65KKYCDA3RMBGLPI3VFWZJNC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107902038.86_warc_CC-MAIN-20201028221148-20201029011148-00218.warc.gz\"}"}