Find Jobs
Hire Freelancers

Compute polygon and chess problems

$30-250 USD

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

$30-250 USD

Pagado a la entrega
*Must be done in 24 hrs* Problem 1: ---------- Implement the function computePolygonArea :: [(Double,Double)] -> Double that computes the area of the polygon. The formula for the area of the polygon is given at: [login to view URL] You should report an error when the list is empty or contains only one point. You should implement the function det :: (Double,Double) -> (Double,Double) -> Double that computes the determinate of the 2 x 2 matrix whose columns are given by the first and second arguments, respectively. You should use the det function in your computation of the polygon area. Problem 2: ---------- See [login to view URL] for more details Recall we only consider the situation where there is only a single piece on the board Given the definitions --------------------------------------------------------------- type File = Char -- column index -- valid files are 'a','b',...,'h' type Rank = Int -- row index -- valid ranks are 1,2,...8 type Position = (File,Rank) data Color = Black | White deriving (Eq,Show) data Piece = King | Queen | Rook | Bishop | Knight | Pawn deriving (Eq,Show) --------------------------------------------------------------- implement the functions --------------------------------------------------------------- isLegalPosition :: Position -> Bool isLegalMove :: Color -> Piece -> Position -> Position -> Bool --------------------------------------------------------------- that check whether a position is a legal board position and whether a move is legal.
ID del proyecto: 9609911

Información sobre el proyecto

3 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
Adjudicado a:
Avatar del usuario
I am a computer science professional with excellent skills in PHP, XML, regexp, and data parsing, and some other language and tools. Please please see reviews on my profile. It would be my pleasure to do your HW.
$70 USD en 1 día
4,8 (57 comentarios)
5,7
5,7
3 freelancers están ofertando un promedio de $80 USD por este trabajo
Avatar del usuario
Hi i can help u with this assignment ......................................... ................... ..........
$166 USD en 1 día
4,5 (3 comentarios)
2,7
2,7
Avatar del usuario
Hello, I am good candidate, because finished computer science, mathematical faculty. I play chess. I passed algebra, so i know what Matrix is. I am in top 40 programmers from Poznan in stackoverflow. Choosing my, you obtain quality and punctuality.
$111 USD en 1 día
5,0 (1 comentario)
1,9
1,9
Avatar del usuario
Hello. How are u. I saw your description and attached files. I understood it and can do it well. I have done several project like this. I'm an expert in Data Structures and Algorithms. And I know Java ,C/C++,C# and Python well. I'm interested this project. I want to discuss with you about this project. If it's possible,please contact me and explain more detail. I wait your good reply. Bye.
$60 USD en 1 día
5,0 (4 comentarios)
1,7
1,7

Sobre este cliente

Bandera de UNITED STATES
Orlando, United States
5,0
3
Forma de pago verificada
Miembro desde oct 1, 2012

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.