Skip to main content
6 events
when toggle format what by license comment
Jun 22, 2016 at 6:45 vote accept sixpenny
Jun 22, 2016 at 3:56 comment added xzczd @sixpenny Actually the fatal part isn't the integration. What's crucial is, the independent variable must explictly exist in the body of function. Just compare the output of Clear[a, b, f]; b=a; f[a_]=b^2; f[2] and Clear[a, b, f]; b=a; f[a_]:=b^2; f[2] and think about why. If still feel confused, check the document ofSet and SetDelayed and try Clear[a, b, f]; b=a; Trace[f[a_]=b^2]
Jun 22, 2016 at 3:44 comment added sixpenny I understood! I revised my code accordingly, and solved the problem. Inside the integration, core[v, qr, qi, rho] not 'core' should be used. While outside the integration, ne, not only ne[v, qr, qi, rho] can be used. This is one of the important issues I learned. Thank you very much!
Jun 22, 2016 at 3:39 vote accept sixpenny
Jun 22, 2016 at 6:45
Jun 20, 2016 at 12:03 history edited xzczd CC BY-SA 3.0
edited body
Jun 20, 2016 at 11:56 history answered xzczd CC BY-SA 3.0