- use Eclipse or Netbeans to create a project.
- In the new created project, create a recursive method to implement the following formula :
a1 = 3
an = 4 an−1 +1, for n ≥ 2
- Use the main method to test the recursive method for various values of n like : for n=1, n=2, n=3, n= 10;
- write the same method but in sequential form (not Recursive). And compare between results for the same values of n.
using java (data structure )
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here