Find Jobs
Hire Freelancers

C/C++ code for calculating angles between of N intersections of linear equations

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
For a given number of intersections calculate the angle between the two intersecting lines. Also create an object which adds angle data to the existing line / intersections data. You will receive as INPUT: - N number of linear equations (somewhere between 10 and 100). Note that lines with slope greater than a threshold amount will be input as X = constant. - The intersections between all lines - A hash number to represent each line You should provide as OUTPUT: - The angle between each intersection. This should be added to an object, using the above hash as the object key, which adds parameters to each intersection.
Project ID: 5077999

About the project

8 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Respected Sir, I can make the program using vectors, if hash table is needed I can implement that too. m1 = slope line 1 m2 = slope line 2 If vectors are in 2 dimensions then angle can be found as angle = tan-1(|m1-m2|)/(m1+m2); if lines are in 3 dimensions then angle can be found by A = vector of line 1 B = vector of line 2 angle = cos-1 (A dot B)/ (|A| . |B|) Any errors in my understanding can be discussed. I'm new on free lancer so have trouble getting 1st project. Im a topper at my University and have excellent understanding of C++ and calculus. Thank You!
$35 USD in 1 day
0.0 (0 reviews)
0.0
0.0
8 freelancers are bidding on average $122 USD for this job
User Avatar
Hi Sir, I am ready to work for you.I have 9 years of experience in C/C++ , java. please see some of my works also check my reviews you will get better idea about my skill.I deliver quality work within time frame. Please visit my profile once. Thanks with regards, Amit
$189 USD in 3 days
4.9 (106 reviews)
6.8
6.8
User Avatar
Hello, I am C++ and Algorithm expert and interested in this project. Please let me know if you are interested. Hello we can calculate it using following strategy Suppose we have two line segments, each defined by two points. We want to know where the two lines intersect — even if the line segments do not intersect. Translate the coordinate system so that end point of one line segment is now the origin, call this point A Rotate the coordinate system so that other end point of same line is on the positive X-axis, call this point B Thanks to linearity, the proportion of the large, vertical bracket to the smaller one must be exactly the same as the proportion of the large, horizontal bracket to the smaller one. This makes it easy to discover the point ABpos,0 Apply the value ABpos along the line A-B in the original coordinate system. This gives you the intersection point you wanted. Regards Anshu Thank You
$200 USD in 3 days
4.8 (143 reviews)
6.1
6.1
User Avatar
Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality. Best Regards, Szymszteinsl
$250 USD in 3 days
4.9 (10 reviews)
5.8
5.8
User Avatar
I can complete this for you as described. I am a professional C++ developer and this is very basic stuff and needs little knowledge of maths. Thank You!
$150 USD in 3 days
5.0 (8 reviews)
4.3
4.3
User Avatar
A proposal has not yet been provided
$55 USD in 3 days
4.8 (7 reviews)
3.4
3.4
User Avatar
I can do that. I can provide you the source code and I can make that if you want in C#, Java with a nice graphical user interface or if you preffer from comand line, please contact me. Regards, Ionut
$55 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$45 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Fremont, United States
5.0
10
Payment method verified
Member since Jul 11, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.