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 件のコメント

madhan ravi
madhan ravi 2018 年 10 月 17 日
Base - 5 & 10 values example?
Liliana Rios
Liliana Rios 2018 年 10 月 17 日
編集済み: Liliana Rios 2018 年 10 月 17 日
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 2018 年 10 月 17 日
that's the only example that was given for the 2 questions that I have to answer

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2018 年 10 月 16 日

コメント済み:

2018 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by