Consider these functions: Double F(double x) { return g(x) + sqrt(h(x)); } Double G(double x) { return 4 * h(x); } Double H(double x) { return x * x + k(x) – 1; } Double K(double x) { return2 * (x + 1); } Without actually compiling and running a program, determine the results of the following function calls: Double x1 = F(2); Double x2 = G(H(2)); Double x3 = K(G(2) + H(2)); Double x4 = F(0) + F(1) + F(2); Double x5 = F(-1) + G(-1) + H(-1) + K(-1); I don't just want answers to this, I'd like to know how to solve it. Working each problem out fully. Maybe point me to a resource that actually shows it, cause I don't get it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |