gpt-3.5-turbo-0301· openai
from WildChat-4.8M
give me two examples of random piecewise functions
- User
give me two examples of random piecewise functions
- Assistant
-
f(x) = { 2x - 3, if x < 0 { x^2, if 0 <= x < 1 { 5, if x >= 1
-
g(x) = { 4 - x, if x < 2 { 2x + 1, if 2 <= x < 4 { 6 - 0.5x, if x >= 4
-