Python Forum
How can I find the value of k(subscript t+1) for periods t=1...50?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I find the value of k(subscript t+1) for periods t=1...50?
#1
Hello,
I know that:

k(subscript t+1)= (1−δ)k(subscript t) + s[k^(θ)(subscript t)]
s=0.08
δ=0.3
θ= 0.35
k(subscript 0)=2.5

(δ,s,θ) = (0.08,0.3,0.35)
k=2.5
K = (1-δ)*k+s*k**θ
print (K)
I want to calculate the value of k for periods 1,...,50
Of course, the result of my code is only for k(subscript 1).
Can you help me understand how I can find the values up to k(subscript 50)?
Reply


Messages In This Thread
How can I find the value of k(subscript t+1) for periods t=1...50? - by maeva - Nov-06-2021, 09:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error in Int object is not subscript-able. kakut 2 1,281 Jul-06-2022, 08:31 AM
Last Post: ibreeden
  Error in Int object is not subscript-able. How to debug this ? yanDvator 1 2,320 Aug-03-2020, 02:28 PM
Last Post: Larz60+
  word subscript Staph 1 1,875 Mar-31-2020, 10:21 AM
Last Post: buran
  Super/subscript copied to word lk89 4 7,164 Oct-13-2016, 04:13 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020