Hello everyone,(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Basic Mathematica question

**Physics Forums | Science Articles, Homework Help, Discussion**