Find Jobs
Hire Freelancers

java programing

$10-30 USD

En curso
Publicado hace más de 7 años

$10-30 USD

Pagado a la entrega
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
ID del proyecto: 11886217

Información sobre el proyecto

17 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
17 freelancers están ofertando un promedio de $26 USD por este trabajo
Avatar del usuario
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 en 1 día
5,0 (1105 comentarios)
7,7
7,7
Avatar del usuario
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 en 0 día
4,9 (274 comentarios)
6,6
6,6
Avatar del usuario
A proposal has not yet been provided
$25 USD en 0 día
4,9 (85 comentarios)
5,4
5,4
Avatar del usuario
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 en 1 día
4,8 (41 comentarios)
5,1
5,1
Avatar del usuario
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 en 1 día
3,9 (4 comentarios)
4,7
4,7
Avatar del usuario
A proposal has not yet been provided
$35 USD en 2 días
5,0 (8 comentarios)
3,5
3,5
Avatar del usuario
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 en 1 día
4,7 (12 comentarios)
3,6
3,6
Avatar del usuario
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 en 1 día
4,0 (11 comentarios)
3,5
3,5
Avatar del usuario
Naturally I love math and Coding, this is an exciting project because it combine my two greatest passions.
$23 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I will make sure to finish it as quick as possible, it doesn't seem so complicated.
$27 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Description look very clear, i can finish in one day or less. Project can open in Netbeans (or Eclipse) and run immediate.
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
frostburg, United States
4,9
6
Forma de pago verificada
Miembro desde sept 13, 2016

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.