When would you convert from octal to decimal?
You would convert from octal to decimal when you are working in legacy computing applications and need to convert a base 8 number to one that is more easily readable.
How do you know if a number is octal or decimal?
By just looking at a number, one cannot tell if it is octal or decimal unless it has a prefix. The prefix for an octal number is โ0oโ and is most often used when working with octal numbers in computing applications.
Why is there no 9 in octal?
There is no 9 in octal because each digit represents a power of 8, and so the โonesโ digit only contains numbers 0-7.
Your way looks fine, except for your final result:
$$5 \cdot 8^2 + 4 \cdot 8^1 + 7 \cdot 8^0 = 5 \cdot 64 + 4 \cdot 8 + 7 \cdot 1 = 320+32+7=359$$
A second way is Horner's method (only for decimal-system) for using in calculation:
You also start with $359=5 \cdot 8^2 + 4 \cdot 8^1 + 7 \cdot 8^0$. Thats a sum of 3 products (left factor is your number, right factor is a multiple of 8). Re-arrange:
$$1\cdot 7 + 4 \cdot 8 + 5 \cdot 8^2=359$$
$$7+8\cdot (4+8\cdot 5)=359$$
Now you can use a calculator:
Input Output
5 5
[x] 8 [+] 4 [=] 44
[x] 8 [+] 7 [=] 359
Hope this helps.
Another method working from left to right
$547_8$
Start with
$x = 0$ add the first digit $x = 5$
Now since there are more digits to follow multiply by 8 $x = 40$
add the next digit $x = 40+4 = 44$
Now since there are more digits to follow multiply by 8 $x = 352$
add the next digit $x = 352 + 7 = 359$
Now since there are no more digits we are done.