# Solve a system of DEs and define array values in a given time interval?

Posted 9 months ago
474 Views
|
0 Replies
|
0 Total Likes
|
 Hello, I am trying to solve the system of differential equations with the "method of lines" method. I have an array in the shape of QU[t_] = Table[qu[i][t], {i, 0, n}]; I want certain points to have a value of 50 at a certain time, but the remaining points must be zero in this time interval. For example, for i = 1,2,3,4, let p [i] [t] = 50 for 0 10. How to do that. Thank you