2

I tried to solve a simple trig equation.

Solve[{Sin[x] == Cos[x], 0 <= x <= Pi}];

The answer should be pi/4

But I get

simplify[{{x -> -2 ArcTan[1 - Sqrt[2]]}}]

smellerbee
  • 121
  • 1

1 Answers1

0

Try

FindRoot[Sin[x] - Cos[x], {x, 0}]
PaulCommentary
  • 1,482
  • 7
  • 12