- use Eclipse or Netbeans to create a project. - In the new created project, create a recursive method to implement the following formula : a​ 1 ​​ = 3​ a ​n ​ = 4 a​ n−1 ​​ +1, for n ≥ 2​​ ​​- Use...


- use Eclipse or Netbeans to create a project.


- In the new created project, create a recursive method to implement the following formula :


a​1​​ = 3​


a​n​ = 4 a​n−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 )



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here