Multiple choice general knowledge

The MATLAB output on Command Window for the last command entered is syms x f=3*x^2 subs(f,x,5)

  1. 50

  2. 85

  3. 60

  4. 75

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

Given f = 3*x^2, substituting x=5 yields: 3 * (5)^2 = 3 * 25 = 75. Options A (50), B (85), and C (60) are incorrect calculations. The subs function evaluates symbolic expressions at specific values.