Multiple choice general knowledge

The MATLAB statement for e raised to 5x is

  1. exp(5x)

  2. exp^(5*x)

  3. e^(5*x)

  4. exp(5*x)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In MATLAB, exp(x) computes e raised to power x. For e^(5x), write exp(5*x) with explicit multiplication. Option A (exp(5x)) is invalid syntax - missing multiplication. Option B (exp^(5*x)) is wrong - exp is a function, not a base. Option C (e^(5*x)) is invalid - e alone isn't recognized.