Math, asked by mrraji001985, 9 months ago

how many perfect cubes between 1 and 30?

Answers

Answered by MissSizzling
6

Step-by-step explanation:

The easy way:

]a=.1 2 3 4 5 6 7 8 9 10^3

1 8 27 64 125 216 343 512 729 1000

How many?

#a

10

The brute force way:

Generate all the integers from 1–1000, take the cube root of each, & store in b.

b=.1r3^~1+i.1000

Find all the cube roots in b that have exact integer values, and list the original integer:

b#~-.,1e7< }."1 (2&1

1 2 3 4 5 6 7 8 9 10

<<<<>>>>

hope it's help u ‼️✌️✌️

Similar questions