Algorithm for mathematical calculation, similar to spiral

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

Lenguaje: JavaScript or PHP

Input N

Ouput X,Y

Example:

f(1) = (0,0) (x=0, y=0)

f(2) -> (1,0) (x=1, y=0)

f(3) -> (1,1)

f(4) -> (0,1)

f(5) -> (-1,1)

f(6) -> (-1,0)

f(7) -> (-1,-1)

f(8) -> (0,-1)

f(9) -> (1,-1)

f(10) -> (2,-1)

f(11) -> (2,0)

f(12) -> (2, 1)

...

Algorithm JavaScript Mathematics Matlab and Mathematica PHP

Project ID: #19963703

About the project

19 proposals Remote project Active 4 years ago

19 freelancers are bidding on average $29 for this job

utkarshkatiyar19

Hi I'm an expert in algorithms. I'm sure that I can easily do this project. We can have a chat about it. Thanks..

$40 USD in 1 day
(316 Reviews)
7.3
wuyong2020

I can provide algorithm if you pay 100usd. I'm good in algorithm and data-structure. please award me.

$100 USD in 7 days
(11 Reviews)
5.9
amariitism

Hello I am a highly motivated young technocrat from India. Currently, I am a Ph.D. research scholar in the department of Computer Science & Engineering at Indian Institute of Technology (ISM) Dhanbad, India. I am a More

$60 USD in 3 days
(38 Reviews)
5.4
scrufDev

Hello, I would be happy to do this. Do you need any specific time complexity for the algorithm? Is the speed very important to you? Thanks

$20 USD in 1 day
(36 Reviews)
5.0
BestService222

Hi, hope you are doing well I read your job posting carefully and am very interest in your project. I am a full stack developer with great experience and skills. I've always been giving clients satisfaction with the More

$25 USD in 1 day
(24 Reviews)
5.5
armchang

Hi, I'm very interested in your project and can work for you. Kindly contact me and let's discuss via chat. Kind regards

$20 USD in 1 day
(18 Reviews)
4.2
elsheiryu87

Hi i am interested in this task, I have made the javascript, just message me and i will send it to you. best regards, Imam

$20 USD in 1 day
(12 Reviews)
4.1
sayu4login

Hi there, I am an expert with algorithms and is skilled in Matlab, Python etc. Please message me to discuss more

$30 USD in 1 day
(7 Reviews)
3.0
aramgev

Hi, I can realize your algo with JavaScript if you bid me. I have strong alrotighmic skills, participate in many programming olympiads (ACM ICPC semifinals) and have several diplomas.

$25 USD in 3 days
(1 Review)
2.5
jiangfengfei

Hi, I reviewed the image file and clear what you want I can start right now and send the result in 30 minutes. Regards

$20 USD in 7 days
(0 Reviews)
0.0
Edwinl0

Hello I want to doing the best for this project and I was good at PHP, Javascript, Algorithm, and Math.

$20 USD in 1 day
(0 Reviews)
0.0
syedaamiripu

I have a master degree in computer science with 6+ years experience in field ,have been applied skill in various languages including javascript,java ,C. I have already worked out the code and algorithm and can send ri More

$20 USD in 1 day
(0 Reviews)
0.0
axeljam

Hi Sir, I am interested in algorithms and I have the logic to solve your problem. Please provide me this opportunity.

$15 USD in 1 day
(0 Reviews)
0.0
CodingLead

Hi, I saw your project ("Algorithm for mathematical calculation"), and I'm interested in taking it on. I'm a seasoned JavaScript developer (with over four years of experience), but I'm relatively new to Freelancer. More

$15 USD in 1 day
(0 Reviews)
0.0
math2dot0

Hace poco realicé un programa en python para secuenciar las coordenadas de los vértices de hexágonos concéntricos. Este problema luce más sencillo... Ya tengo la función para la coordenada x...

$30 USD in 2 days
(0 Reviews)
0.0
parkhi1420

I am a senior software developer with 7 years or experience in application and algorithm development in c and c++. I have worked for big MNCs like Microsoft , oracle and cadence too. I like problem solving and algorith More

$15 USD in 7 days
(0 Reviews)
0.0
rbranko

Hi, I have read your problem. I am not an expert in programming, but it is not so difficult to make the algorithm for this problem. This can be easily solved by using analytical geometry. Regards.

$20 USD in 3 days
(0 Reviews)
0.0