Find Jobs
Hire Freelancers

java programing

$10-30 USD

Σε Εξέλιξη
Αναρτήθηκε πάνω από 7 χρόνια πριν

$10-30 USD

Πληρωμή κατά την παράδοση
GF2 In this project you are required to write the java program “[login to view URL]” to implement the second type of finite field GF(pn) where p is a prime number and n is a positive integer, and four operations “+”, “-”, “*”, and “/”, respectively. Specifically, your program will read parameters and polynomials from a file named “[login to view URL]” (under the same directory of the program). Then your program should create a file named “[login to view URL]” (under the same directory of the program) and write the results to “[login to view URL]”. Please check the attached sample files “[login to view URL]” and “[login to view URL]”. In “[login to view URL]”: 1. First line is the prime number p. 2. Second line is the degree n of the irreducible polynomial m(x) over Zp, which can be any positive integer. 3. Third line is the coefficients of m(x), from the leading coefficient to the constant term, separated by one blank space. 4. Fourth line is the degree u of f(x) over Zp, where u can be any integer satisfying 0 < u < n. 5. Fifth line is the coefficients of f(x), from the leading coefficient to the constant term, separated by one blank space. 6. Sixth line is the degree v of g(x) over Zp, where v can be any integer satisfying 0 < v < n. 7. Seventh line is the coefficients of g(x), from the leading coefficient to the constant term, separated by one blank space. Example: If the [login to view URL] file contains the following seven lines: 3 2 1 0 1 1 1 1 1 2 1 Then p = 3 (i.e. base field is Z3), m(x) = x2 + 1, f(x) = x + 1, and g(x) = 2x + 1. In “[login to view URL]”: 1. First line is the coefficients of f(x) + g(x) in GF(pn), from the leading coefficient to the constant term, separated by one blank space. 2. Second line is the coefficients of f(x) - g(x) in GF(pn), from the leading coefficient to the constant term, separated by one blank space. 3. Third line is the coefficients of f(x) * g(x) in GF(pn), from the leading coefficient to the constant term, separated by one blank space. 4. Fourth line is the coefficients of f(x) / g(x) in GF(pn), from the leading coefficient to the constant term, separated by one blank space (don’t forget to handle the case of g(x) = 0). Example: Given the preceding [login to view URL] file, f(x) + g(x) = (x + 1) + (2x + 1) = 3x + 2 = 2 Explain: since 3 is not in Zp = Z3, perform 3 mod 3 = 0. f(x) - g(x) = (x + 1) - (2x + 1) = - x = 2x Explain: since − 1 is not in Zp = Z3, perform −1 mod 3 = 2. f(x) * g(x) = (x + 1) * (2x + 1) = 2x2 + 3x + 1 = 2x2 + 1 = PLDA(2x2 + 1, x2 + 1)[1] = 2 Explain: since 3 is not in Zp = Z3, perform 3 mod 3 = 0; since the degree of 2x2+ 1 >= the degree of m(x), perform 2x2 + 1 mod x2+ 1 = PLDA(2x2+ 1, x2 + 1)[1] = 2. f(x) / g(x) = (x + 1) / (2x + 1) = (x + 1) * EEAP(2x + 1, x2 + 1)[0] = (x + 1) * (2x + 2) = 2x2 + 4x + 2 = 2x2+ x + 2 = PLDA(2x2 + x + 2, x2 + 1)[1] = x Therefore, the [login to view URL] file should contain the following four lines: 2 2 0 2 1 0 Remark 1: The leading coefficient should not be 0 unless the polynomial is 0. Example 1: Let p = 3, m(x) = x2+ 1, f(x) = 2x, g(x) = x + 1, then f(x) + g(x) = 1 rather than 0x + 1 or 3x + 1. Thus the first line of “[login to view URL]” should be 1 rather than 0 1 or 3 1. Example 2: Let p = 3, m(x) = x2 + 1, f(x) = x + 2, g(x) = 2x + 1, then f(x) + g(x) = 0 rather than 0x + 0 or 3x + 3. Thus the first line of “[login to view URL]” should be 0 rather than 0 0 or 3 3. Remark 2: The coefficient (that after the leading coefficient) should be outputted even if it is 0. Example 1: Let p = 3, m(x) = x2 + 1, f(x) = 1, g(x) = x + 2, then f(x) + g(x) = x. Thus the first line of “[login to view URL]” should be 1 0 rather than 1 or 1 3. “javac [login to view URL]” will be entered to the command line to compile the java file and then “java GF2” will be entered to the command line to run the program Your program should output the file “[login to view URL]” to the same directory
Ταυτότητα εργασίας: 11886217

Σχετικά με την εργασία

17 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 7 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
17 freelancers δίνουν μια μέση προσφορά $26 USD για αυτή τη δουλειά
Avatar Χρήστη
Hi there, I went through the requirements I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
$30 USD σε 1 ημέρα
5,0 (1105 αξιολογήσεις)
7,7
7,7
Avatar Χρήστη
Hi there, I'm a senior software developer who have around 300 completed projects and my account is qualified by this site. My page: https://www.freelancer.com/u/DucNA.html Could you please send (or discuss with) me more detail? I'll check and then will let you know my estimation (time and coding effort) for this project. Thanks & best regards, Duc Nguyen
$30 USD σε 0 ημέρα
4,9 (274 αξιολογήσεις)
6,6
6,6
Avatar Χρήστη
A proposal has not yet been provided
$25 USD σε 0 ημέρα
4,9 (85 αξιολογήσεις)
5,4
5,4
Avatar Χρήστη
Introduction & skills: I have good knowledge in below mentioned skills by you. I also have some certifications in Java. I can share some of demos with you if you want for better understanding. Currently I'm working on a banking project in an IT company using Java, jsp/jsf, hibernate, spring, software architecture and database programming. And most importantly, you will get your project done before the deadline. Experience: We are serving our customers since 2012 and on freelancer since 2015.
$25 USD σε 1 ημέρα
4,8 (41 αξιολογήσεις)
5,1
5,1
Avatar Χρήστη
I am a highly motivated with strong creative and conceptual skills, always prepared to accept challenging tasks and hence, I am here to further enhance my personal and professional growth. JAVA-SE (OOP,Collection,JDBC,GUI,Swing,Multithreading,IO Streaming). JAVA-EE ( Servlets, JSP,Struts2,JSF,Web Services,Spring DI,Spring Transaction ) PHP (HTML5,CSS3,JAVASCRIPT,JQUERY,AJAX,BOOTSTRAP, WORDPRESS ) C/C++ Databases: RDBMS, MYSQL,Oracle,SQL Sever Other Software Engineering Skills: Database Design, Software Documentation
$25 USD σε 1 ημέρα
3,9 (4 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
A proposal has not yet been provided
$35 USD σε 2 ημέρες
5,0 (8 αξιολογήσεις)
3,5
3,5
Avatar Χρήστη
hi, ready to start right now. I have experience in Java. Can provide quality and standard work. Please pm me for more details. Thank you
$30 USD σε 1 ημέρα
4,7 (12 αξιολογήσεις)
3,6
3,6
Avatar Χρήστη
I have read over your project description and I'm interested in completing your task. If you check my site or portfolio you will see that I am of a higher quality than most freelancers on here. I get it done quickly, efficiently, and with exceptional quality. I am a professional with roughly 7 years experience and a college level degree in the field of web development. I am experienced in the languages of PHP, CSS, Javascript, HTML5, XML, MySQL, AJAX, Jquery, actionscript 2.0 & 3.0 I am also experienced with the use of all Adobe products. Please let me know if you have any questions or concerns before making your final decisions. Thank You,
$35 USD σε 1 ημέρα
4,0 (11 αξιολογήσεις)
3,5
3,5
Avatar Χρήστη
Naturally I love math and Coding, this is an exciting project because it combine my two greatest passions.
$23 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
I will make sure to finish it as quick as possible, it doesn't seem so complicated.
$27 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Description look very clear, i can finish in one day or less. Project can open in Netbeans (or Eclipse) and run immediate.
$25 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
A proposal has not yet been provided
$25 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
I just have finished my degree computer Engineer in University of Peradeniya , Sri Lanka. I have good knowledge and working experience with java. I also have knowledge about algorithm. therefore I can do this project.
$14 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
A proposal has not yet been provided
$25 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
I have 5 years of experience on java , and technical part of this is really simple. and whats about math part, i am currently on engineering course in university and we are passing this things right now, so it wont be a problem either.
$25 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
frostburg, United States
4,9
6
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Σεπ 13, 2016

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.