Homework Statement
Find a simple DFA (i.e. deterministic finite automaton) that accepts all natural numbers n for which n mod 3 = 0.
Hint: A natural number is divisible by 3 if its checksum (or sum of digits) is divisible by 3.
Homework Equations
The Attempt at a Solution...
Homework Statement
Question: Rewrite the function f(x) =||x|-1| as a piecewise function.
Homework Equations
The Attempt at a Solution
I tried considering the following absolute value functions:
1)|x|
|x| = x, if x \geq 0
= -x, if x < 0
2) |x-1|
|x-1| = x-1, if x \geq...
Hey, thanks for the reply.
But is there another approach to this problem, without the use of gradients (since it has not been taught yet in my calculus class)? Sorry about that. That's why, it's hard to recognize what you're trying to explain.
Homework Statement
Question: Determine the equations of both lines that are tangent to the graph of f(x) = x2 and pass through point (1,-3).
Homework Equations
Some of the equations that I could use for this problem are:
y-y1=m(x-x1) (Point-slope Equation)
the derivative of the...
That would actually make sense. But I guess, for this particular homework, they want to train us on how to solve linear inequalities. That's why I was solving for the inequalities.
For number 1, I tried placing zero on the inequality, and does not actually include zero as its solution in the...
Homework Statement
Instructions: For the following inequalities, determine if 0 is a number in the solution set.
1) 3x \leq x+1 \leq x-1
2) x(2x-1) \leq x+7
Homework Equations
The Attempt at a Solution
1)
LS:
3x \leq x+1
3x-1 \leq x
-1 \leq -3x
-1/-2 \geq -2x/-2
1/2...