With standard trig, it is straightforward, you just have to know the sin and cos of 45 degrees. And the number comes out to be somewhat ugly.
With the replacement for trig it isn't quite as straightforward. The "simple algebra" doesn't quite stay so simple.
Cheers,
Ben