Skip to main content
3 events
when toggle format what by license comment
Jan 27, 2020 at 16:40 comment added user49048 @user14750 as I mentioned previously and you can see in every answer, the issue is the use of the set delayed. That is the := symbol. If you change that to = your code works just fine
Jan 27, 2020 at 16:34 comment added user14750 I understand your points and appreciate for them. I still have not reached my answer. Please consider the code in which a and b are arbitrary constants and I want to have them utill the finall solution: f[a_, b_] := NDSolve[{ax''[t] + bx'[t] + x[t] == 0, x[0] == 1, x'[0] == -4}, x[t], {t, 0, 2}] Plot[Evaluate[x[t] /. f[1, 2]], {t, 0, 2}] Now I want to perform integration but the following code does not work: g[t_] := Integrate[Exp[y*x[t]] /. f[1, 2], {y, 1, 10}] Plot[g[t], {t, 0, 2}]
Jan 27, 2020 at 15:16 history answered Ulrich Neumann CC BY-SA 4.0