C function to calculate angle on circle

En curso Publicado hace 7 años Pagado a la entrega
En curso Pagado a la entrega

Looking for a C function that is given two arguments : distance on X axis (blue numbers on image) and radius (R).

The function should return a float which is an angle (in radians).

For example :

getAngle(2,R);

returns angle between A&B as shown on the image.

getAngle(3,R);

returns angle between A&C as shown on the image.

getAngle(5,R);

returns angle between A&D as shown on the image.

To verify the function works correctly, this should work :

angle=getAngle(5,R);

xpos=R*cos(angle);

xpos should be 5 in this example

Programación en C Arquitectura de software

Nº del proyecto: #12980032

Sobre el proyecto

15 propuestas Proyecto remoto Activo hace 7 años

15 freelancers están ofertando un promedio de $21 por este trabajo

wangbeizou

Hello. How are you. I have read and understood the project. I'm an Expert in Data Structures and Algorithms. And I know well ; Java ,C/C++, Python ,PHP. I'm interested this project. So, firstly I want to discu Más

$30 USD en 1 día
(150 comentarios)
6.3
iridescent2x15

I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you

$25 USD en 1 día
(59 comentarios)
6.1
Weebside

Hello, Sir Weebside Inc. is a professional freelancer service provided to worthy clients like you. We can provide our best developers to provide you High-Quality Product with 100% Delivery Rate, 100% Satisfaction. Más

$15 USD en 1 día
(151 comentarios)
6.1
abhijitbuet

15 minutes task for me to complete. Can do it really within 15 minutes :) ...............................................................

$10 USD en 1 día
(86 comentarios)
5.8
chungtranduc89

This is tiny project. Thank you......................................................................................................................

$25 USD en 1 día
(9 comentarios)
4.6
celalaybar

Hello. Thank you very much for taking time to read my proposal. I can help you. You can check my portfolio and reviews. We can discuss further details. Hopefully, both of us will be happy after the jo Más

$11 USD en 1 día
(12 comentarios)
3.9
vw8150693vw

Hi, I have Bachelor degree in computer engineering and I have done many projects in C , you can check that I have done many projects on this site. I have excellent experience in C language I will ensure the work to be Más

$25 USD en 1 día
(13 comentarios)
3.5
anson418

Hi there, my name is Anson and I am a CS major from UC Davis. I should be able to deliver this to you within the hour. Contact me so we can confirm and get started.

$30 USD en 1 día
(3 comentarios)
2.5
rj291988

Hello Mate We are an experienced team that is focused on growth through doing things differently. Since inception we have focused on delivering projects which are benchmarked by its quality. We say what we can delive Más

$30 USD en 1 día
(1 comentario)
1.5
seankahn

There are two anglesfor each input x value, one for the lower halfcircle, one for the upper. which one do you want? generally : float returnAngle ( float d, float r) { float x = d; float y = sqrt(r^2 - d^2); Más

$25 USD en 10 días
(1 comentario)
2.4
dannygist

Haven read the job description carefully, I assure you that I can get the project done and delivered on time even within the stipulated budget. As an experienced mathematician, I have been able to fix problems pertaini Más

$10 USD en 1 día
(0 comentarios)
0.0
Gehadelkot

hello i did some projects with c programming and i would like to help you with your project best regards Gehad

$10 USD en 1 día
(0 comentarios)
0.0
censuraa

A proposal has not yet been provided

$25 USD en 1 día
(0 comentarios)
0.0