2.2k views
3 votes
There were 230{,}600230,600230, comma, 600 jobs available in the field of radiology in the year 201420142014. Each year, that number is expected to grow by 0.9\%0.9%0, point, 9, percent.

Write a function that gives the expected number j(t)j(t)j, left parenthesis, t, right parenthesis of jobs in radiology ttt years from the year 201420142014.
Do not use commas in your answer.

User Tnilsson
by
8.5k points

1 Answer

2 votes


The formula for the expected number of jobs in radiology t years from the year 2014 can be written as:

j(t) = 230600*(1+0.009)^t

We can implement this formula as a Python function:

```python
def expected_jobs(t):
return int(230600*(1+0.009)**t)
```

Note that we use the `int` function to round down the result to the nearest integer, as the number of jobs is always a whole number. Also, we do not include commas in the result, as requested.
User Sardaukar
by
7.6k points