Given that [tex]f(1)=2[/tex] and [tex]f(n)=[f(n-1)]^2-n[/tex]
We need to determine the value of f(4)
To determine the value of f(4), we need to know the values of the previous terms f(2), f(3).
The value of f(2):
The value of f(2) can be determined by substituting n = 2 in the function [tex]f(n)=[f(n-1)]^2-n[/tex]
Thus, we get;
[tex]f(2)=[f(2-1)]^2-2[/tex]
[tex]f(2)=[f(1)]^2-2[/tex]
[tex]f(2)=2^2-2[/tex]
[tex]f(2)=2[/tex]
Thus, the value of f(2) is 2.
The value of f(3):
The value of f(3) can be determined by substituting n = 3 in the function [tex]f(n)=[f(n-1)]^2-n[/tex]
Thus, we get;
[tex]f(3)=[f(3-1)]^2-3[/tex]
[tex]f(3)=[f(2)]^2-3[/tex]
[tex]f(3)=2^2-3[/tex]
[tex]f(3)=1[/tex]
Thus, the value of f(3) is 1.
The value of f(4):
The value of f(4) can be determined by substituting n = 4 in the function [tex]f(n)=[f(n-1)]^2-n[/tex]
Thus, we get;
[tex]f(4)=[f(4-1)]^2-4[/tex]
[tex]f(4)=[f(3)]^2-4[/tex]
[tex]f(4)=1^2-4[/tex]
[tex]f(4)=-3[/tex]
Thus, the value of f(4) is -3.