To solve the definite integral ∫z0(sinx−cosx)dx, we need to find the antiderivative of the given expression first, and then evaluate it from 0 to z.
The antiderivative of sin(x) is -cos(x), and the antiderivative of cos(x) is sin(x). Therefore, the antiderivative of (sin(x) - cos(x)) is (-cos(x) - sin(x)).
Thus, ∫z0(sinx−cosx)dx = [-cos(x) - sin(x)] evaluated from 0 to z.
Plugging in the values of z and 0, we get:
[-cos(z) - sin(z)] - [-cos(0) - sin(0)]
= [-cos(π/4) - sin(π/4)] - [-cos(0) - sin(0)]
= [-(1/√2) - (1/√2)] - [-1 - 0]
= -√2 + 1
Therefore, the value of the definite integral is -√2 + 1.
Hence, the option that represents this result is √2-1.