Answer:
See definition below
Step-by-step explanation:
Since we have to give a recursive definition, we must give a initial value f(0). Additionally, the value of f(n) must depend on the value of f(n-1) for all n≥1.
The required value of f(0) is (0+1)!=1!=1.
Now, the factorial itself is a recursive function, because (n+1)!=(n+1)n!. In terms of f, this means that f(n)=(n+1)f(n-1) for all n≥1.
Then, our definition is: f:N→N is defined by
- f(0)=1.
- For n≥1, f(n)=(n+1)f(n-1).
1/5 (0.2)
0.49
0.5
Hope this helped!! xx
If you need any steps explained lmk
Answer:
The answer to your question is: I bought 7 snacks
Step-by-step explanation:
Data
beginning balance = $42 = b
lunch = $1.80 = l
snack = $ 0.85 = s
final balance = $0.05 = f
f = b - 1.8l - 0.05s
0.05 = 42 - 1.8l - 0.85s
After 20 days I spent = 1.8(20) in lunches = $36
0.05 = 42 - 36 - 0.85s
0.05 = 6 - 0.85s
0.05 - 6 = -0.85s
-5.95 = -0.85s
s = -5.95/-0.85
s = 7
Answer:
2
because ans = 4. and input =half so,4/2 .=2