Answer:
1794-40=x?
Step-by-step explanation:
this is genuine answer but a little bit unsure
Answer:
<h3>See explanations below</h3>
Step-by-step explanation:
1) Given the recursive function An=an-1 + 3 when a1 = 5, we are to find the first four terms;
First term a1 = 5
a2 = a1 +3
a2 = 5 + 3
a2 = 8
a3 = a2 + 3
a3 = 8+3
a3 = 11
a4 = a3 + 3
a4 = 11 + 3
a4 = 14
<em>The first four terms are 5, 8, 11 and 14</em>
<em></em>
<em>2) </em>For the recursive function An=an-1 + 2/3 when a1 = 1
a2 = a1 + 2/3
a2 = 1 + 2/3
a2 = 5/3
a3 = a2 + 2/3
a3 = 5/3 + 2/3
a3 = 7/3
a4 = a3 + 2/3
a4 = 7/3 + 2/3
a4 = 9/3
a4 = 3
<em>Hence the first four terms of the sequence are 2/3, 5/3, 7/3, 3</em>
<em></em>
3) For the recursive function An=an-1 + 12 when a1=30
a2 = a1 + 12
a2 = 30 + 12
a2 = 42
a3 = a2 +12
a3 = 42 + 12
a3 = 54
a4 = a3 + 12
a4 = 54+12
a4 = 66
<em>Hence the first four terms of the sequence are 30, 42, 54, 66</em>
Answer:
advantage: it uses memory very efficiently than linear data structures
disadvantages: Non - linear data structures are quite hard to understand and implement than linear data structures
The two equations that have been given in the question are:
x - y = 11
2x + y =19
Now we will take the first equation.
x - y = 11
x = 11 + y
Now replacing the value of x in the second equation we get
2x + y = 19
2(11 + y) = 19
22 + 2y = 19
2y = 19 - 22
2y = -3
y = - 3/2
Now putting the value of y in the first equation we get
x - y = 11
x - (-3/2) = 11
2x + 3 = 11 * 2
2x + 3 = 22
2x = 22 -3
2x = 19
x = 19/2
So the value of x is 19/2 and the value of y is -3/2.