a. Write the function [fl] = representalionbetaalA) that develops a string a characters with the representation of nel4 (natural number), in power ser.s of p and where p only can takes value in {2,...,9}. If the parameter of the input p is not in the represented range the program should give a message of error.
b. Executes the program to find the representation a 19,2014 md 50000 for all of the p values that the function allows. Show the results in a table.