using a while-end loop

Use a while-end loop to find the base-5 place value larger than the base-10 number 4,219.
Use a while-end loop to find the first base-10 place value larger than the base-5 number 14,241.

4 comentarios

madhan ravi
madhan ravi el 17 de Oct. de 2018
Base - 5 & 10 values example?
Liliana Rios
Liliana Rios el 17 de Oct. de 2018
Editada: Liliana Rios el 17 de Oct. de 2018
Use a while-end loop to display the first 6 place values for base 5.
i=1;limit=6;while i<=limit;p=5^(i-1);display(p);i=i+1;end
the answer; p= 1 p=5 p=25 p=125 p=625 p= 3125
Liliana Rios
Liliana Rios el 17 de Oct. de 2018
that's the only example that was given for the 2 questions that I have to answer

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Oct. de 2018

Comentada:

el 21 de Oct. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by