Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Revenue Calculation | Section
Practice
Projects
Quizzes & Challenges
Вікторини
Challenges
/
Essential R Programming for Absolute Beginners - 1768563985826

bookChallenge: Revenue Calculation

Завдання

Swipe to start coding

Use variables to calculate projected revenue from a deposit with compound interest:

  1. With the variables initial_money, interest_rate, and n_years, compute the value of the deposit after 4 years and store it in a variable named revenue;
  2. Print the result in the format:
    Accrued amount: number
    

The formula for revenue is:

initial_money * (1 + interest_rate / 100) ^ n_years

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 9
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Revenue Calculation

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Use variables to calculate projected revenue from a deposit with compound interest:

  1. With the variables initial_money, interest_rate, and n_years, compute the value of the deposit after 4 years and store it in a variable named revenue;
  2. Print the result in the format:
    Accrued amount: number
    

The formula for revenue is:

initial_money * (1 + interest_rate / 100) ^ n_years

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 9
single

single

some-alt