Loading [MathJax]/jax/output/HTML-CSS/jax.js

First time here? Check out the FAQ!

Ask Your Question
-2

[SOLVED] Integer to the 1/3 power representation [closed]

asked 3 years ago

Str1ien gravatar image

updated 3 years ago

I'm solving a succession problem which involves 24^(1/3), but when I go to compute this it returns it as 2 · 3^(1/3) [I can't upload an image because I have no points my apologies]

    reset()
a=[(24)^(1/3)]
for n in [1..50]:
    a.append((24 + a[n-1])^(1/3))
a[4].show()

Any ideas why this is happening?

Preview: (hide)

Closed for the following reason the question is answered, right answer was accepted by Str1ien
close date 2021-10-15 12:15:59.760567

Comments

1

Notice that 24=233 and thus 241/3=231/3 - what is your concern here?

Max Alekseyev gravatar imageMax Alekseyev ( 3 years ago )

I saw yes, but how can I make it just show 24^(1/3)?

Str1ien gravatar imageStr1ien ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 3 years ago

Max Alekseyev gravatar image

updated 3 years ago

To prevent 24^(1/3) from evaluation one can use SR(24).power(1/3, hold=True) instead.

Preview: (hide)
link

Comments

Thanks a lot

Str1ien gravatar imageStr1ien ( 3 years ago )

Question Tools

Stats

Asked: 3 years ago

Seen: 267 times

Last updated: Oct 15 '21