- #1
codemonkey209
- 1
- 0
Hello everyone,
I just started using Mathematica and was wondering how do you set a variable, such as 'A' or 'B', equal to a constant whose derivative is equal to zero. So for example if I were to input something like this:
Dt[A*E^(2 x)*Cos[3 x] + B*E^(2x)*Sin[3 x], {x, 2}]
it wouldn't include something like this in the answer:
Dt[B, x]
but instead take it to be zero thus simplifying the outputted answer.
I just started using Mathematica and was wondering how do you set a variable, such as 'A' or 'B', equal to a constant whose derivative is equal to zero. So for example if I were to input something like this:
Dt[A*E^(2 x)*Cos[3 x] + B*E^(2x)*Sin[3 x], {x, 2}]
it wouldn't include something like this in the answer:
Dt[B, x]
but instead take it to be zero thus simplifying the outputted answer.