2d graph. Powers of a variable.

Why do these two programs give me different outputs even though they are the same? The second one gives me a wrong graph.

```x=[-5:0.01:5]
a=4
y1=sqrt(a^(2/3)-(x^2)^(1/3))^3
y2=-sqrt(a^(2/3)-(x^2)^(1/3))^3
plot2d(x,y1)
plot2d(x,y2)```
```x=[-5:0.01:5]
a=4
y1=sqrt(a^(2/3)-(x^(2/3)))^3
y2=-sqrt(a^(2/3)-(x^(2/3)))^3
plot2d(x,y1)
plot2d(x,y2)```

Scilab 16-12-17, 12:37 a.m. Abbas
Hi Abbas, following code will clear your doubt
```(-8)^(2/3)
(-8^2)^(1/3)
(-8^1/3)^2```
18-12-17, 8:45 p.m. ashutumho
Oh I get it. I don't even need to run those inputs to understand my mistake, how can I be so foolhardy. Thank you :)

18-12-17, 8:50 p.m. Abbas
{"ft_lang_label":"__label__en","ft_lang_prob":0.74723345,"math_prob":0.9974762,"size":530,"snap":"2022-40-2023-06","text_gpt3_token_len":246,"char_repetition_ratio":0.15589353,"word_repetition_ratio":0.0,"special_character_ratio":0.51132077,"punctuation_ratio":0.14102565,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9996282,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-26T02:23:05Z\",\"WARC-Record-ID\":\"<urn:uuid:f186d2d7-d0bd-4ae4-be02-b53607999f09>\",\"Content-Length\":\"31926\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f887bd72-7c21-4f7e-8838-c99d2c13d3b6>\",\"WARC-Concurrent-To\":\"<urn:uuid:5d260c33-dfb4-4831-84a3-d84d620439f1>\",\"WARC-IP-Address\":\"144.76.40.203\",\"WARC-Target-URI\":\"https://forums.fossee.in/question/337/\",\"WARC-Payload-Digest\":\"sha1:VC5M6OZWNEH356S7QKGVEBJYTOETY5GJ\",\"WARC-Block-Digest\":\"sha1:BUY7QZMMOGAOXA5IJDBYAQ6FOMGYVTTJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030334644.42_warc_CC-MAIN-20220926020051-20220926050051-00048.warc.gz\"}"}