Ich möchte diese Formel in Python codieren. Ich habe Folgendes versucht, bin mir aber nicht sicher, ob das richtig ist, da ich mit der Integration in Python nicht vertraut bin. Ich hoffe, jemand kann mir dabei helfen!
#Here I simulate the function F
def simulate_F(T, r, age_dead, age_ci, x_age,N, a_y, b_y, c_y, mu_y, phi_d, m, b, k_1, k_2, phi_ci, a_hat, b_hat, c_hat, timestep,dt,t, T_r):
F=np.zeros((N,timestep))
F_2 = np.zeros((N,timestep))
def mu_y(u):
if x_age+t*dt
Integrieren Sie über eine integrierende Funktion ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post