Escolar Documentos
Profissional Documentos
Cultura Documentos
control loop
Assignment Policy:
1.
2.
3.
For any problem, you need to show steps for solving the problem and then
show your implementation (code).
4.
In your code, comments have to be clearly written for each step and
variable names should have a clear meaning.
5.
6.
7.
Please clearly write your name, section number, and student number.
Substantial departures from the above guidelines will NOT be graded.
* Note that the 2nd number might be smaller than the 1st and in both
cases you need to find the sum.
Q3: write a program that asks the user to enter an integer N
then compute f(n)
Where f(n) :
F(0)=3
F(n+1)=3/4*f(n)+4
Enter the
f(0)
f(1)
f(2)
f(3)
f(4)
f(5)
Nth term: 5
= 3.00
= 6.25
= 8.69
= 10.52
= 11.89
= 12.92