Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

using julia Problem 1.2 Create a variable time that starts in 1900 with 5-year increments and goes to 2015: 1900, 1905, 1910, ... 2015. Suppose

using julia image text in transcribed
Problem 1.2 Create a variable time that starts in 1900 with 5-year increments and goes to 2015: 1900, 1905, 1910, ... 2015. Suppose that GDP per capita was equal to 3,000 in 1900 and subsequently grew at 1% per year. Plot the evolution of GDP over time by using a for-loop to calculate its value at every date: 1905, 1910, 1915 etc. Show, in the same plot, what the output trajectory would have been like if output grew at 1.5% and 2% per year. (Hint: if a variables grows at a rate of g per year, it gipws at a rate of (1+g)' - 1 in t years.) Then, in another graph, plot the evolution of the natural logarithm of GDP per capita against time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions