{"group":{"id":1,"name":"Community","lockable":false,"created_at":"2012-01-18T18:02:15.000Z","updated_at":"2025-12-14T01:33:56.000Z","description":"Problems submitted by members of the MATLAB Central community.","is_default":true,"created_by":161519,"badge_id":null,"featured":false,"trending":false,"solution_count_in_trending_period":0,"trending_last_calculated":"2025-12-14T00:00:00.000Z","image_id":null,"published":true,"community_created":false,"status_id":2,"is_default_group_for_player":false,"deleted_by":null,"deleted_at":null,"restored_by":null,"restored_at":null,"description_opc":null,"description_html":null,"published_at":null},"problems":[{"id":51560,"title":"Convert a number from factorial notation to base 10","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 197.083px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 98.5417px; transform-origin: 407px 98.5417px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 42.25px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21.125px; text-align: left; transform-origin: 384px 21.125px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 336.708px 7.91667px; transform-origin: 336.708px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eJust as numbers can be written in different bases, they can also be written in factorial notation. For example, \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"vertical-align:-6px\"\u003e\u003cimg src=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whDM8/yVdY3C5cgm+XKTiGeO/GYwNUrDkEw7boBgjgYqUkhT/m5lQ0xiPP8cI3dpLyL1DJoZfJWSBtVhDWTAsSTnFLvKYcOw9SQ2feEBHSoedl9YjytV8DS4UHKrPw783/KPo8fnoLIGZ7G7PN6IRuAc97GXTAy4bLvLeV+1Ttf8ALW9oaGhoaGhoaGhoaKiNL14i1+Yd1u66AAAAAElFTkSuQmCC\" alt=\"(34101)_!\" style=\"width: 55.5px; height: 20px;\" width=\"55.5\" height=\"20\"\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 8.94167px 7.91667px; transform-origin: 8.94167px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e is 463 in base 10 because \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"vertical-align:-5px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAwkAAAAkCAYAAADCQXb5AAANfklEQVR4nO2da3ErMQyFD4cwCIEQCIIgKIMyKINSCIZCCIdSKIZS6P2x1azqu2vLXsnebc83s3NnbjeJ/JAsyS+AEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQsh/nL4fQgghhOQ5jxbgwPyGuvsNZSAz3dvzAuAZwAuApxECLPCESZ6l5x3rQcLl+51LBxmjuGEqw56wyiTvHTGIO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EEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBCyiX+MEbqQ7qQcPAAAAABJRU5ErkJggg==\" alt=\"3*5! + 4*4! + 1*3! + 0*2! + 1*1! = 360 + 96+6+1 = 463\" style=\"width: 388.5px; height: 18px;\" width=\"388.5\" height=\"18\"\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 281.2px 7.91667px; transform-origin: 281.2px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eIf the first place after the decimal point is the 1/2! place, then we would have, for example,  \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 34.8333px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 17.4167px; text-align: left; transform-origin: 384px 17.4167px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"vertical-align:-15px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV8AAABGCAYAAABrG5dmAAALPklEQVR4nO2dMXLrOhJF7xZ+aQdKJ1AwqVagq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V5S/vyGcDmixFesRmrD+CFX1B8h2XxgbCac26tulZiIAHniu3VbvaT8+YK4MEt8xSpwyJqzQu+MNiIkRr8xW3gqyhZhzpLpgrGLq7Ue5mehKHnLtnrx+DPTEaFnRr/4HPxciGJMEV7+3taPTfLAqDC2+umK7U4s2ug95wp1Nlu21YPXn6c8M0XBohhThbclKL61PoMD0gcNsCzwbn5Wyw58OeT4c+qZ2UnZ3MM9hYhywM/z7caodW9XD6xr9VR31ExOzrdWSvuzcr5iEVhiExtq8zy/0GnWzIttOfXwgvim6YxuYhENqyLuic9tGa/41mrrXH8eQ+IrihPbXHzsGhvC2S0ltxo12lzocDXbEf1BsanqDrswo9atWL3iW6OtJfx5DImvKEquo4aEtZZdzezm4Pa6wz+jX9tOX2O0vKtZCX8eQ+IriuKZnLFXbFLmiDqGpkfMnzA5oe4JKp7i7bGhJltL+vMQ+k0NPi6EEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCPFc/gcbXdBVEgVaXQAAAABJRU5ErkJggg==\" alt=\"(0.123)_!= 1/2! + 2/3! + 3/4! = 23/24\" style=\"width: 175.5px; height: 35px;\" width=\"175.5\" height=\"35\"\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 42px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21px; text-align: left; transform-origin: 384px 21px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 383.367px 7.91667px; transform-origin: 383.367px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eWrite a function to convert a number from factorial notation to decimal notation, or base 10. For digits greater than 9, use A, B, C, etc.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = fact2dec(s)\r\n  y = f(s);\r\nend","test_suite":"%%\r\ns = '34101';\r\ny_correct = 463;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '0.123';\r\ny_correct = 23/24;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '113110';\r\ny_correct = 920;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '232000';\r\ny_correct = 1848;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '0.0022';\r\ny_correct = 0.1;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '0.012';\r\ny_correct = 0.25;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '3000001006';\r\ny_correct = 10886430;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = 'A2985943012000';\r\ny_correct = 888888888888;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = 'CB3E905A875000220';\r\ny_correct = flintmax/2;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '54321.012345';\r\ny_correct = 719+473/1680;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '11.003156501478';\r\ny_correct = 3.141592653584841;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '10.111111111111';\r\ny_correct = 2.718281828446759;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":46909,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":10,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2021-04-25T04:41:57.000Z","updated_at":"2021-04-25T04:47:47.000Z","published_at":"2021-04-25T04:46:48.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eJust as numbers can be written in different bases, they can also be written in factorial notation. For example, \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"false\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"(34101)_!\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e(34101)_!\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003cw:r\u003e\u003cw:t\u003e is 463 in base 10 because \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"true\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"3*5! + 4*4! + 1*3! + 0*2! + 1*1! = 360 + 96+6+1 = 463\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e3\\\\cdot5! + 4\\\\cdot4! + 1\\\\cdot3! + 0\\\\cdot2! + 1\\\\cdot1! = 360 + 96+6+1 = 463\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf the first place after the decimal point is the 1/2! place, then we would have, for example,  \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"true\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"(0.123)_!= 1/2! + 2/3! + 3/4! = 23/24\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e(0.123)_! = \\\\frac{1}{2!} + \\\\frac{2}{3!} + \\\\frac{3}{4!} = \\\\frac{23}{24}\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWrite a function to convert a number from factorial notation to decimal notation, or base 10. For digits greater than 9, use A, B, C, etc.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":51565,"title":"Convert a number from base 10 to factorial notation ","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 114px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 57px; transform-origin: 407px 57px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 42px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21px; text-align: left; transform-origin: 384px 21px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003ca target='_blank' href = \"https://www.mathworks.com/matlabcentral/cody/problems/51560-convert-a-number-from-factorial-notation-to-base-10\"\u003e\u003cspan style=\"\"\u003e\u003cspan style=\"\"\u003eCody Problem 51560\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 318.25px 7.91667px; transform-origin: 318.25px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e asks you to convert a number from factorial notation to base 10. This problem is the companion: Write a function to convert a number from base 10 to factorial notation with a tolerance \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 3.85px 7.91667px; transform-origin: 3.85px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"font-family: Menlo, Monaco, Consolas, \u0026quot;Courier New\u0026quot;, monospace; \"\u003ep\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 49.775px 7.91667px; transform-origin: 49.775px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e that defaults to \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"vertical-align:-5px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAnCAYAAABT7SsqAAABpElEQVRoge2YXbGDMBBGj4c6wEANoKAKcFAHdYAFNCABD7VQDVjofUh22GEuzZIu0HubM5OH0mXZL9lsfqBQKBQ+jxtwPjqIvbgBT+BydCB7UBHEfo3gAbjzJYKvQI9jSjfAA3sxqICO0OtDfLdf8f4aTtF/hYNgESpzwxJwE22HGIzQxedtbjAL9PGb8IbgMyGwFhixC66j3UjocY2MxJOQgh5cCPNWyBasgxUnFsEiqFv4/8rUIXr0m/gdS5POkg7UMbnMYavgRtk1CzZnZXNTz1um+Z5qnXpH+9Cx7iK4N9qJzf2FjQWpE7pJht3j7zrHsVWw2IwJf4OyPSVsU3HNm/iWJWpeR8yOU4L1LmeN4KwReMFuKV2TJ9irWguHCB4S/lq2E1zzRioLawX3K/x5C3bhL6W0CxbBJz6jaLlgXZZkC2oVPCb8HUbOxuNV0ZCOeXgF6E3O1nJpWdDrtfepyY2tDg9vLR1bskawrta/bRu9j4eboKuqZQcjqT0/HGx1AeBCRQhM33ZI60iPUE0oYg+myzV9M1EoFAqFQqFQ+Ff8APH62h1KkXcWAAAAAElFTkSuQmCC\" alt=\"10^{-4}\" style=\"width: 30px; height: 19.5px;\" width=\"30\" height=\"19.5\"\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 50.5583px 7.91667px; transform-origin: 50.5583px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e if not specified. \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 63px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 31.5px; text-align: left; transform-origin: 384px 31.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 361.758px 7.91667px; transform-origin: 361.758px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eGiven 463, your function should return the character string ‘34101’, and given 23/24 (and the default tolerance), your function should return ‘0.123’. As in the previous problem, use A, B, C, etc. for digits greater than 9, and take the first place after the decimal point to be the 1/2! place.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function s = dec2fact(x,p)\r\n%  x = base-10 number to be converted\r\n%  p = tolerance (default value = 1e-4 if not specified)\r\n  s = num2str(x,p);\r\nend","test_suite":"%%\r\nx = 463;\r\ns_correct = '34101';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 23/24;\r\ns_correct = '0.123';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 4;\r\ns_correct = '20';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 21;\r\ns_correct = '311';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 53;\r\ns_correct = '2021';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 719;\r\ns_correct = '54321';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 8675309;\r\ns_correct = '2381201021';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 888888888888;\r\ns_correct = 'A2985943012000';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 99887766554433;\r\ns_correct = '4C5B031684321111';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 0.2;\r\ns_correct = '0.0104';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 1/3;\r\ns_correct = '0.02';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 29.99;\r\ns_correct = '1021.1233454';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = pi;\r\np = 1e-8;\r\ns_correct = '11.00315650147';\r\nassert(strcmp(dec2fact(x,p),s_correct))\r\n\r\n%%\r\nx = exp(1);\r\ns_correct = '10.111111';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = exp(1);\r\np = 1e-8;\r\ns_correct = '10.1111111111';\r\nassert(strcmp(dec2fact(x,p),s_correct))\r\n\r\n%%\r\nx = sinh(1);\r\np = 1e-8;\r\ns_correct = '1.0101010101';\r\nassert(strcmp(dec2fact(x,p),s_correct))\r\n\r\n%%\r\nx = cosh(1);\r\np = 1e-8;\r\ns_correct = '1.101010101';\r\nassert(strcmp(dec2fact(x,p),s_correct))","published":true,"deleted":false,"likes_count":4,"comments_count":3,"created_by":46909,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":6,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2021-04-25T14:00:16.000Z","updated_at":"2021-04-25T14:01:53.000Z","published_at":"2021-04-25T14:01:53.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:hyperlink w:docLocation=\\\"https://www.mathworks.com/matlabcentral/cody/problems/51560-convert-a-number-from-factorial-notation-to-base-10\\\"\u003e\u003cw:r\u003e\u003cw:t\u003eCody Problem 51560\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e asks you to convert a number from factorial notation to base 10. This problem is the companion: Write a function to convert a number from base 10 to factorial notation with a tolerance \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:rFonts w:cs=\\\"monospace\\\"/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ep\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e that defaults to \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"false\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"10^{-4}\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e10^{-4}\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003cw:r\u003e\u003cw:t\u003e if not specified. \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven 463, your function should return the character string ‘34101’, and given 23/24 (and the default tolerance), your function should return ‘0.123’. As in the previous problem, use A, B, C, etc. for digits greater than 9, and take the first place after the decimal point to be the 1/2! place.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"}],"problem_search":{"errors":[],"problems":[{"id":51560,"title":"Convert a number from factorial notation to base 10","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 197.083px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 98.5417px; transform-origin: 407px 98.5417px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 42.25px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21.125px; text-align: left; transform-origin: 384px 21.125px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 336.708px 7.91667px; transform-origin: 336.708px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eJust as numbers can be written in different bases, they can also be written in factorial notation. For example, \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"vertical-align:-6px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAAoCAYAAADwmKS0AAADhElEQVR4nO1af5HzIBB9HuKgBmIgCqogDuqgDmohGiqhHmKhGmqh9wd5E5oDdpdA7rv7eDPMzfSAhX3L/oAADQ0NDQ0NDQ1/DD2A208v4hfjDODyE4J7AA8AndBvAHBd2lnRP4XzMo8FHewK6pcx1+XvyTjeIvcKYMqYPxs9gCfSRIwAXgDem/aCI8GKwRuvQQenmJdhDA2Sa6ThveE8jMbwcuROOMiDdXDEpQgY4TY8wSlggFucT2afIVNL3mUjSzOm98ZsTxoJlDxNjlxC0mkRTHCbiOEEt+gQOT3WjVks7Q69Qi5wxmIlfBbWxblirjBXLjEs/feElSROcIsaEn0m4f9U0l0pk9Z8g10hD+UYeorU3nz5UgzUyt1iRsX4Ny0CUkgRB6wb0yQedGVMVGqRN3v9YpZ/xkrwWEjuFjSi4qevg17pKTAmaBY4Y3VjtcijN3kjbZh+P8lr5JJHHRcvH2gV0slK4bLMoQnMNzhlkuRa5DGL1ZCijbu55AFuz6mcIgsT3IJyQeI0J5cK9WNLLfI4r4W8UEZqlRvDXj0HwfrHihHrZnz3FCsVukXO1nUcQZ6ULGhLnT3kcT2WUkoE6xwLxmUxdIE+gU+ErfeO8Ak4gjwp1vhGWIs8eqg94ekbcsjbYsBaA4VqKpYFoWTmCPKk2tNfey3yGDKKJi0lyAM+C/V58/sLcYurRR4t/V+JeSQvlhtwblM5UYo8YL0x8Tc3L+0aab5C/N9T+I3ZpkQe12C6SitJHk/RM7AoSyuhRNZW0v60/bRyY5BKsizyeDJKgORNm99SzU8W+Js2wbDcsMTgn9ASJz4G6iZGHuc2PVPR1ZUA57JkVDWvxyx3m5p4s4c8ypHmNsU8Bnap/jhhvV0PgQmL9QK2JnmA/lVBc8mwh7wH0h5ugvyW+g2825MuZVnIvgJ9mVHercKRR57GHW7XFnrOouFqvhywyvXBuJoqWa7IDF8z9JeyfjFOa5qR/+BoIe/k9ffjlKR4fiHwhDM8/yVdY3C5cgm+XKTiGeO/GYwNUrDkEw7boBgjgYqUkhT/m5lQ0xiPP8cI3dpLyL1DJoZfJWSBtVhDWTAsSTnFLvKYcOw9SQ2feEBHSoedl9YjytV8DS4UHKrPw783/KPo8fnoLIGZ7G7PN6IRuAc97GXTAy4bLvLeV+1Ttf8ALW9oaGhoaGhoaGhoaKiNL14i1+Yd1u66AAAAAElFTkSuQmCC\" alt=\"(34101)_!\" style=\"width: 55.5px; height: 20px;\" width=\"55.5\" height=\"20\"\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 8.94167px 7.91667px; transform-origin: 8.94167px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e is 463 in base 10 because \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"vertical-align:-5px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAwkAAAAkCAYAAADCQXb5AAANfklEQVR4nO2da3ErMQyFD4cwCIEQCIIgKIMyKINSCIZCCIdSKIZS6P2x1azqu2vLXsnebc83s3Nnbje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/dkqU4Ttj8ZjzJPv0f34BrsN7qWDnv34jCnA0cd3t37vBT/boNbuWomcSelRhig/qLR/4EjLB9fQts3SLrXtuUd//k8ha75GODBkUrDS2l0Sh+yXOMISjt+I2J7fklUjfxPPfnzC8caDo+sx/SBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBCyiX+MEbqQ7qQcPAAAAABJRU5ErkJggg==\" alt=\"3*5! + 4*4! + 1*3! + 0*2! + 1*1! = 360 + 96+6+1 = 463\" style=\"width: 388.5px; height: 18px;\" width=\"388.5\" height=\"18\"\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 21px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 10.5px; text-align: left; transform-origin: 384px 10.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 281.2px 7.91667px; transform-origin: 281.2px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eIf the first place after the decimal point is the 1/2! place, then we would have, for example,  \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 34.8333px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 17.4167px; text-align: left; transform-origin: 384px 17.4167px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"vertical-align:-15px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV8AAABGCAYAAABrG5dmAAALPklEQVR4nO2dMXLrOhJF7xZ+aQdKJ1AwqVagqp8rmtThzxy/xPmPnE/m+Efag7agNXgLbwL6Dts0ATRIkCLAe6pY9cpPltlk46LRaACAEEIIIYQQQgghhBBCCCGEEEIIIYQQAjgAeHn2TSzIEcAVwOvXdUFnc4sc0NlHW8/PvZ1FGNp4RfeOvZyxD18QG+aAzgE/v67WOAB4A/B75PpE1/BaImTrHcDpifdVkhd0727MztfE714Dv9uiL4gNM3TiFsX3hs62x9e/7/jZ8FppdO/o3iGj3cvXz2jnA/VHeK/offWG/v3a6y3wu9ev/39H93zOX5+1baCVDkpsmBd0zndA1yhbFN8XdHZdBz8/AvhAW6J0RSdEY0NvPofaO5oTenG174ujNyvAQxE9ovPvMXHl98aEW4hFYPTQmvg+EM9js9P5jfrzoneEO5ADejtrzuu/o+s0Y/8fSj8w2g3BEVHs+4UoTovie0bXoGLYiLBmUTogPVxuoZP5jfgIxUawQxFN2c02kMoZC1GUVsU31eDOaEN8U1CUUp3RlmG1SoqQ+KZg3rf29JOojBbF14MV35YnWj7QvducUqxamdKZcgRUcz5cVMpexZeNruaIMMYBfQXEHoTFph28ESx9QOkG8RT2Kr6sePAMZ2uCC2bshCKH4i0Pqymk747Psjqk1VpoUQl7FN8jOptvz76RBeDKrXf8FOAW7SUPdD6c6mC40vENP+u+HyiUnrnC1wvsmRv2MSSLsUfx3VMedLiYpkV/n5O3PeN7JzW71tcjvByefKBrgB8oPwRjAbT3e4f3dPv6fU8jOaC3m/a8IN0T3jLur0X2Jr5c6bSnIaYtq2ttIcEJne/OqVix+eJZcwBXxxdwjbMtzj6bn811TLtngHf28YLwmu1PxAWSL2Dsdx+I23NAZ3PNNZBz2JP40k9ajP5SsH20tJCAbbdEh8I5gMntgM4VE5tL5I/w/+bkPij+VgxT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p/cw1VrE94LxWlBPLXctjZAiMuxQvOIL1GOrl5Q/n77+f7gATeIrVoVDVs8G/HTqWuAeH1f0G0FZAY5FwCXODFwalpWNrWLNEd8abPWS8memn8aqJSS+YlW465xnEuMVdTsmVzBOyQdukTvCpVQ54luDrV5S/vyGcDmixFesRmrD+CFX1B8h2XxgbCac26tulZiIAHniu3VbvaT8+YK4MEt8xSpwyJqzQu+MNiIkRr8xW3gqyhZhzpLpgrGLq7Ue5mehKHnLtnrx+DPTEaFnRr/4HPxciGJMEV7+3taPTfLAqDC2+umK7U4s2ug95wp1Nlu21YPXn6c8M0XBohhThbclKL61PoMD0gcNsCzwbn5Wyw58OeT4c+qZ2UnZ3MM9hYhywM/z7caodW9XD6xr9VR31ExOzrdWSvuzcr5iEVhiExtq8zy/0GnWzIttOfXwgvim6YxuYhENqyLuic9tGa/41mrrXH8eQ+IrihPbXHzsGhvC2S0ltxo12lzocDXbEf1BsanqDrswo9atWL3iW6OtJfx5DImvKEquo4aEtZZdzezm4Pa6wz+jX9tOX2O0vKtZCX8eQ+IriuKZnLFXbFLmiDqGpkfMnzA5oe4JKp7i7bGhJltL+vMQ+k0NPi6EEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCPFc/gcbXdBVEgVaXQAAAABJRU5ErkJggg==\" alt=\"(0.123)_!= 1/2! + 2/3! + 3/4! = 23/24\" style=\"width: 175.5px; height: 35px;\" width=\"175.5\" height=\"35\"\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 42px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21px; text-align: left; transform-origin: 384px 21px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 383.367px 7.91667px; transform-origin: 383.367px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eWrite a function to convert a number from factorial notation to decimal notation, or base 10. For digits greater than 9, use A, B, C, etc.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function y = fact2dec(s)\r\n  y = f(s);\r\nend","test_suite":"%%\r\ns = '34101';\r\ny_correct = 463;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '0.123';\r\ny_correct = 23/24;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '113110';\r\ny_correct = 920;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '232000';\r\ny_correct = 1848;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '0.0022';\r\ny_correct = 0.1;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '0.012';\r\ny_correct = 0.25;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '3000001006';\r\ny_correct = 10886430;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = 'A2985943012000';\r\ny_correct = 888888888888;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = 'CB3E905A875000220';\r\ny_correct = flintmax/2;\r\nassert(isequal(fact2dec(s),y_correct))\r\n\r\n%%\r\ns = '54321.012345';\r\ny_correct = 719+473/1680;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '11.003156501478';\r\ny_correct = 3.141592653584841;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)\r\n\r\n%%\r\ns = '10.111111111111';\r\ny_correct = 2.718281828446759;\r\nassert(abs(fact2dec(s)-y_correct)\u003c3*eps)","published":true,"deleted":false,"likes_count":1,"comments_count":0,"created_by":46909,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":10,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2021-04-25T04:41:57.000Z","updated_at":"2021-04-25T04:47:47.000Z","published_at":"2021-04-25T04:46:48.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eJust as numbers can be written in different bases, they can also be written in factorial notation. For example, \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"false\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"(34101)_!\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e(34101)_!\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003cw:r\u003e\u003cw:t\u003e is 463 in base 10 because \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"true\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"3*5! + 4*4! + 1*3! + 0*2! + 1*1! = 360 + 96+6+1 = 463\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e3\\\\cdot5! + 4\\\\cdot4! + 1\\\\cdot3! + 0\\\\cdot2! + 1\\\\cdot1! = 360 + 96+6+1 = 463\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eIf the first place after the decimal point is the 1/2! place, then we would have, for example,  \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"true\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"(0.123)_!= 1/2! + 2/3! + 3/4! = 23/24\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e(0.123)_! = \\\\frac{1}{2!} + \\\\frac{2}{3!} + \\\\frac{3}{4!} = \\\\frac{23}{24}\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eWrite a function to convert a number from factorial notation to decimal notation, or base 10. For digits greater than 9, use A, B, C, etc.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"},{"id":51565,"title":"Convert a number from base 10 to factorial notation ","description":null,"description_html":"\u003cdiv style = \"text-align: start; line-height: 20.4333px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, monospace; font-style: normal; font-size: 14px; font-weight: 400; text-decoration: rgb(0, 0, 0); white-space: normal; \"\u003e\u003cdiv style=\"block-size: 114px; display: block; min-width: 0px; padding-block-start: 0px; padding-top: 0px; perspective-origin: 407px 57px; transform-origin: 407px 57px; vertical-align: baseline; \"\u003e\u003cdiv style=\"block-size: 42px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 21px; text-align: left; transform-origin: 384px 21px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003ca target='_blank' href = \"https://www.mathworks.com/matlabcentral/cody/problems/51560-convert-a-number-from-factorial-notation-to-base-10\"\u003e\u003cspan style=\"\"\u003e\u003cspan style=\"\"\u003eCody Problem 51560\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 318.25px 7.91667px; transform-origin: 318.25px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e asks you to convert a number from factorial notation to base 10. This problem is the companion: Write a function to convert a number from base 10 to factorial notation with a tolerance \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 3.85px 7.91667px; transform-origin: 3.85px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"font-family: Menlo, Monaco, Consolas, \u0026quot;Courier New\u0026quot;, monospace; \"\u003ep\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 49.775px 7.91667px; transform-origin: 49.775px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e that defaults to \u003c/span\u003e\u003c/span\u003e\u003cspan style=\"vertical-align:-5px\"\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAnCAYAAABT7SsqAAABpElEQVRoge2YXbGDMBBGj4c6wEANoKAKcFAHdYAFNCABD7VQDVjofUh22GEuzZIu0HubM5OH0mXZL9lsfqBQKBQ+jxtwPjqIvbgBT+BydCB7UBHEfo3gAbjzJYKvQI9jSjfAA3sxqICO0OtDfLdf8f4aTtF/hYNgESpzwxJwE22HGIzQxedtbjAL9PGb8IbgMyGwFhixC66j3UjocY2MxJOQgh5cCPNWyBasgxUnFsEiqFv4/8rUIXr0m/gdS5POkg7UMbnMYavgRtk1CzZnZXNTz1um+Z5qnXpH+9Cx7iK4N9qJzf2FjQWpE7pJht3j7zrHsVWw2IwJf4OyPSVsU3HNm/iWJWpeR8yOU4L1LmeN4KwReMFuKV2TJ9irWguHCB4S/lq2E1zzRioLawX3K/x5C3bhL6W0CxbBJz6jaLlgXZZkC2oVPCb8HUbOxuNV0ZCOeXgF6E3O1nJpWdDrtfepyY2tDg9vLR1bskawrta/bRu9j4eboKuqZQcjqT0/HGx1AeBCRQhM33ZI60iPUE0oYg+myzV9M1EoFAqFQqFQ+Ff8APH62h1KkXcWAAAAAElFTkSuQmCC\" alt=\"10^{-4}\" style=\"width: 30px; height: 19.5px;\" width=\"30\" height=\"19.5\"\u003e\u003c/span\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 50.5583px 7.91667px; transform-origin: 50.5583px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003e if not specified. \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003cdiv style=\"block-size: 63px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; margin-block-end: 9px; margin-block-start: 2px; margin-bottom: 9px; margin-inline-end: 10px; margin-inline-start: 4px; margin-left: 4px; margin-right: 10px; margin-top: 2px; perspective-origin: 384px 31.5px; text-align: left; transform-origin: 384px 31.5px; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; \"\u003e\u003cspan style=\"block-size: auto; display: inline; margin-block-end: 0px; margin-block-start: 0px; margin-bottom: 0px; margin-inline-end: 0px; margin-inline-start: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; perspective-origin: 361.758px 7.91667px; transform-origin: 361.758px 7.91667px; unicode-bidi: normal; \"\u003e\u003cspan style=\"\"\u003eGiven 463, your function should return the character string ‘34101’, and given 23/24 (and the default tolerance), your function should return ‘0.123’. As in the previous problem, use A, B, C, etc. for digits greater than 9, and take the first place after the decimal point to be the 1/2! place.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e","function_template":"function s = dec2fact(x,p)\r\n%  x = base-10 number to be converted\r\n%  p = tolerance (default value = 1e-4 if not specified)\r\n  s = num2str(x,p);\r\nend","test_suite":"%%\r\nx = 463;\r\ns_correct = '34101';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 23/24;\r\ns_correct = '0.123';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 4;\r\ns_correct = '20';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 21;\r\ns_correct = '311';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 53;\r\ns_correct = '2021';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 719;\r\ns_correct = '54321';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 8675309;\r\ns_correct = '2381201021';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 888888888888;\r\ns_correct = 'A2985943012000';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 99887766554433;\r\ns_correct = '4C5B031684321111';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 0.2;\r\ns_correct = '0.0104';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 1/3;\r\ns_correct = '0.02';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = 29.99;\r\ns_correct = '1021.1233454';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = pi;\r\np = 1e-8;\r\ns_correct = '11.00315650147';\r\nassert(strcmp(dec2fact(x,p),s_correct))\r\n\r\n%%\r\nx = exp(1);\r\ns_correct = '10.111111';\r\nassert(strcmp(dec2fact(x),s_correct))\r\n\r\n%%\r\nx = exp(1);\r\np = 1e-8;\r\ns_correct = '10.1111111111';\r\nassert(strcmp(dec2fact(x,p),s_correct))\r\n\r\n%%\r\nx = sinh(1);\r\np = 1e-8;\r\ns_correct = '1.0101010101';\r\nassert(strcmp(dec2fact(x,p),s_correct))\r\n\r\n%%\r\nx = cosh(1);\r\np = 1e-8;\r\ns_correct = '1.101010101';\r\nassert(strcmp(dec2fact(x,p),s_correct))","published":true,"deleted":false,"likes_count":4,"comments_count":3,"created_by":46909,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":6,"test_suite_updated_at":null,"rescore_all_solutions":false,"group_id":1,"created_at":"2021-04-25T14:00:16.000Z","updated_at":"2021-04-25T14:01:53.000Z","published_at":"2021-04-25T14:01:53.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:hyperlink w:docLocation=\\\"https://www.mathworks.com/matlabcentral/cody/problems/51560-convert-a-number-from-factorial-notation-to-base-10\\\"\u003e\u003cw:r\u003e\u003cw:t\u003eCody Problem 51560\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e asks you to convert a number from factorial notation to base 10. This problem is the companion: Write a function to convert a number from base 10 to factorial notation with a tolerance \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:rPr\u003e\u003cw:rFonts w:cs=\\\"monospace\\\"/\u003e\u003c/w:rPr\u003e\u003cw:t\u003ep\u003c/w:t\u003e\u003c/w:r\u003e\u003cw:r\u003e\u003cw:t\u003e that defaults to \u003c/w:t\u003e\u003c/w:r\u003e\u003cw:customXml w:element=\\\"equation\\\"\u003e\u003cw:customXmlPr\u003e\u003cw:attr w:name=\\\"displayStyle\\\" w:val=\\\"false\\\"/\u003e\u003cw:attr w:name=\\\"altTextString\\\" w:val=\\\"10^{-4}\\\"/\u003e\u003c/w:customXmlPr\u003e\u003cw:r\u003e\u003cw:t\u003e10^{-4}\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:customXml\u003e\u003cw:r\u003e\u003cw:t\u003e if not specified. \u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003cw:jc w:val=\\\"left\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eGiven 463, your function should return the character string ‘34101’, and given 23/24 (and the default tolerance), your function should return ‘0.123’. As in the previous problem, use A, B, C, etc. for digits greater than 9, and take the first place after the decimal point to be the 1/2! place.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\",\"relationship\":null}],\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"target\":\"/matlab/document.xml\",\"relationshipId\":\"rId1\"}]}"}],"term":"tag:\"dudley 13.19\"","current_player_id":null,"fields":[{"name":"page","type":"integer","callback":null,"default":1,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"per_page","type":"integer","callback":null,"default":50,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"sort","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":null,"prepend":true},{"name":"body","type":"text","callback":null,"default":"*:*","directive":null,"facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":false},{"name":"group","type":"string","callback":null,"default":null,"directive":"group","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"difficulty_rating_bin","type":"string","callback":null,"default":null,"directive":"difficulty_rating_bin","facet":true,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"id","type":"integer","callback":null,"default":null,"directive":"id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"tag","type":"string","callback":null,"default":null,"directive":"tag","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"product","type":"string","callback":null,"default":null,"directive":"product","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_at","type":"timeframe","callback":{},"default":null,"directive":"created_at","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"profile_id","type":"integer","callback":null,"default":null,"directive":"author_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"created_by","type":"string","callback":null,"default":null,"directive":"author","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player_id","type":"integer","callback":null,"default":null,"directive":"solver_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"player","type":"string","callback":null,"default":null,"directive":"solver","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"solvers_count","type":"integer","callback":null,"default":null,"directive":"solvers_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"comments_count","type":"integer","callback":null,"default":null,"directive":"comments_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"likes_count","type":"integer","callback":null,"default":null,"directive":"likes_count","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leader_id","type":"integer","callback":null,"default":null,"directive":"leader_id","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true},{"name":"leading_solution","type":"integer","callback":null,"default":null,"directive":"leading_solution","facet":null,"facet_method":"and","operator":null,"param":"term","static":null,"prepend":true}],"filters":[{"name":"asset_type","type":"string","callback":null,"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":null,"static":"\"cody:problem\"","prepend":true},{"name":"profile_id","type":"integer","callback":{},"default":null,"directive":null,"facet":null,"facet_method":"and","operator":null,"param":"author_id","static":null,"prepend":true}],"query":{"params":{"per_page":50,"term":"tag:\"dudley 13.19\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"dudley 13.19\"","","\"","dudley 13.19","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007f7360f17310\u003e":null,"#\u003cMathWorks::Search::Field:0x00007f7360f17270\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007f7360f169b0\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007f7360f17590\u003e":1,"#\u003cMathWorks::Search::Field:0x00007f7360f174f0\u003e":50,"#\u003cMathWorks::Search::Field:0x00007f7360f17450\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007f7360f173b0\u003e":"tag:\"dudley 13.19\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007f7360f173b0\u003e":"tag:\"dudley 13.19\""},"queried_facets":{}},"query_backend":{"connection":{"configuration":{"index_url":"http://index-op-v2/solr/","query_url":"http://search-op-v2/solr/","direct_access_index_urls":["http://index-op-v2/solr/"],"direct_access_query_urls":["http://search-op-v2/solr/"],"timeout":10,"vhost":"search","exchange":"search.topic","heartbeat":30,"pre_index_mode":false,"host":"rabbitmq-eks","port":5672,"username":"search","password":"J3bGPZzQ7asjJcCk","virtual_host":"search","indexer":"amqp","http_logging":"true","core":"cody"},"query_connection":{"uri":"http://search-op-v2/solr/cody/","proxy":null,"connection":{"parallel_manager":null,"headers":{"User-Agent":"Faraday v1.0.1"},"params":{},"options":{"params_encoder":"Faraday::FlatParamsEncoder","proxy":null,"bind":null,"timeout":null,"open_timeout":null,"read_timeout":null,"write_timeout":null,"boundary":null,"oauth":null,"context":null,"on_data":null},"ssl":{"verify":true,"ca_file":null,"ca_path":null,"verify_mode":null,"cert_store":null,"client_cert":null,"client_key":null,"certificate":null,"private_key":null,"verify_depth":null,"version":null,"min_version":null,"max_version":null},"default_parallel_manager":null,"builder":{"adapter":{"name":"Faraday::Adapter::NetHttp","args":[],"block":null},"handlers":[{"name":"Faraday::Response::RaiseError","args":[],"block":null}],"app":{"app":{"ssl_cert_store":{"verify_callback":null,"error":null,"error_string":null,"chain":null,"time":null},"app":{},"connection_options":{},"config_block":null}}},"url_prefix":"http://search-op-v2/solr/cody/","manual_proxy":false,"proxy":null},"update_format":"RSolr::JSON::Generator","update_path":"update","options":{"url":"http://search-op-v2/solr/cody"}}},"query":{"params":{"per_page":50,"term":"tag:\"dudley 13.19\"","current_player":null,"sort":"map(difficulty_value,0,0,999) asc"},"parser":"MathWorks::Search::Solr::QueryParser","directives":{"term":{"directives":{"tag":[["tag:\"dudley 13.19\"","","\"","dudley 13.19","\""]]}}},"facets":{"#\u003cMathWorks::Search::Field:0x00007f7360f17310\u003e":null,"#\u003cMathWorks::Search::Field:0x00007f7360f17270\u003e":null},"filters":{"#\u003cMathWorks::Search::Field:0x00007f7360f169b0\u003e":"\"cody:problem\""},"fields":{"#\u003cMathWorks::Search::Field:0x00007f7360f17590\u003e":1,"#\u003cMathWorks::Search::Field:0x00007f7360f174f0\u003e":50,"#\u003cMathWorks::Search::Field:0x00007f7360f17450\u003e":"map(difficulty_value,0,0,999) asc","#\u003cMathWorks::Search::Field:0x00007f7360f173b0\u003e":"tag:\"dudley 13.19\""},"user_query":{"#\u003cMathWorks::Search::Field:0x00007f7360f173b0\u003e":"tag:\"dudley 13.19\""},"queried_facets":{}},"options":{"fields":["id","difficulty_rating"]},"join":" "},"results":[{"id":51560,"difficulty_rating":"easy-medium"},{"id":51565,"difficulty_rating":"medium"}]}}