I want to combine plot of four piecewise function for the following for. I have a code with "For", and I do not know which 'Show' can help me.
n = 4;
x[0] = 0;
x[n] = 1;
Do[x[L + 1] = N[x[L] + 1, 1];, {L, 0, 1}]
Subscript[A, 0][x_] =
Piecewise[{{1 - (x - x[0])/(x[1] - x[0]), x[0] <= x <= x[1]}}]
For[k = 0, k < n - 1, k++;
Print[Subscript[A, k][x_] =
Piecewise[{{(x - x[k - 1])/(x[k] - x[k - 1]),
x[k - 1] <= x <= x[k]}, {1 - (x - x[k])/(x[k + 1] - x[k]),
x[k] <= x <= x[k + 1]}}]]]
Any suggestion?