def solow_model(t, k, g, n, s, alpha, delta):
 k_dot = ((s * (k ** alpha)) - (((g + n) + delta) * k))
 return k_dot

def solow_model ( t , k , g , n , s , alpha , delta ) : k_dot = ( ( s * ( k ** alpha ) ) - ( ( ( g + n ) + delta ) * k ) ) return k_dot
equation of motion for capital stock .