I ONLY NEED GROUP 2 This is your Programming Assignment 3 . When you have completed the assignment please ZIP you ENTIRE Netbeans project and upload it using the assignment upload link. Note, you must...

1 answer below »

I ONLY NEED GROUP 2


This is your Programming Assignment 3 . When you have completed the assignment please ZIP you ENTIRE Netbeans project and upload it using the assignment upload link. Note, you must upload the entire Netbeans project in a zipped file; because, I check all your code to see if it runs. Remember that you must upload the assignment before it's due date to get credit. Otherwise, you will receive a zero for the assignment grade.




The project instructions can be found here:


For this assignment you been assigned a group number, which you can find in canvas's gradebook. Depending on the group number you are to write the recursive code that generates the sequence for your group number. For example if you are in Group 3 your code will generate the following sequence:




Group 3 Sequence
---------------------------------------------
1, 1, 2, -5, 22, -106, 475, -2171, 9893, -45080, 205453, -936304, 4267030, -19446179, 88622237, -403878935, 1840601122, 201746431, -427139774, 1878826890




In addition, you will output the recursive call multipliers x, y, z values under your sequence output.
Note x,y,z are integers that can range in values from : -10 to 10


This assignment can easier be done if you know Linear Algebra. If you use Linear Algebra you must show your work, by attaching the pdf of the work in you netbeans project src folder.
If you do not know Linear Algebra you must crack the sequence my brute force....


Hint: Use the idea of Fibonacci recursive code in the notes with one more lag call.


Multiplier: x, y, z
--------------------------------------
X -> is the multiplier of the recursive call of the (n-1) term
Y -> is the multiplier of the recursive call of the (n-2) term
Z -> is the multiplier of the recursive call of the (n-3) term


This is a quick assignment and is due within a week.




IMPORTANT:
You are to write your code individually, and not as a group.




----------------------------------------------------------







Group 2 Sequence
---------------------------------------------
1, 1, 2, 10, 20, 52, 152, 376, 992, 2656, 6896, 18160, 47888, 125584, 330320, 868816, 2282960, 6002512, 15781328, 41484112






Answered 1 days AfterApr 02, 2021

Answer To: I ONLY NEED GROUP 2 This is your Programming Assignment 3 . When you have completed the assignment...

Vibhav answered on Apr 03 2021
159 Votes
Sequence/build.xml

Builds, tests, and runs the project Sequence.


Sequence/build/classes/.netbeans_automatic_build
Sequence/build/classes/.netbeans_update_resources
Sequence/build/classes/Sequence.class
public synchronized class Sequence {
public static final int X = 6;
public static final int Y = 2;
public static final int Z = 1;
public void Sequence();
public static int modFibSequence(int);
public static void main(String[]);
}
Sequence/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
Sequence/nbproject/build-impl.xml















































































































































































































Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar




































































































Must set javac.includes



























































































































...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here