Find Jobs
Hire Freelancers

Least Squares subroutine c#

$30-100 USD

In Progress
Posted over 18 years ago

$30-100 USD

Paid on delivery
Goal: to create a class with methods to be able to pass in x,y pairs and get back a curve fitted using the proper forumla (suggested: ax2 + by + c). Pass back the a, b, c values. Part 2: Be able to pass to another function the abc values, and new x coordinate and get back the y value. See example. ...for developer to do... is the part I need done. C# class InputPairs { public double x; public double y; public InputPairs(double dx, double dy) { x = dx; y = dy; } } class clsLeastSquaresVarsCurve { ...for developer to do... } ArrayList inputs = new ArrayList(); InputPairs p1 = new InputPairs(1.0, .40); [login to view URL](p1); InputPairs p2 = new InputPairs(2.0, .45); [login to view URL](p2); InputPairs p3 = new InputPairs(3.0, .48); [login to view URL](p3); InputPairs p4 = new InputPairs(4.0, .42); [login to view URL](p4); InputPairs p5 = new InputPairs(5.0, .50); [login to view URL](p5); clsLeastSquaresVars vars = GetLeastSquaresVarsCurve(inputs); double newX = 6.0; double newY = GetNewValue(vars, newX); public clsLeastSquaresVars GetLeastSquaresVarsCurve(ArrayList input) { // find correct quadratic equation // return variables // ... for developer to do ... } public double GetNewValue(clsLeastSquaresVars vars, double XValue) { // using quadratic variables // using XValue // return calculated Y value // ... for developer to do ... ## Deliverables 1) Complete and fully-functional working sample Visual Studio 2003 project with complete source code of all work done. 2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Microsoft .NET C#, Visual Studio 2003 project.
Project ID: 3093141

About the project

1 proposal
Remote project
Active 18 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
1 freelancer is bidding on average $85 USD for this job
User Avatar
See private message.
$85 USD in 7 days
5.0 (14 reviews)
3.3
3.3

About the client

Flag of UNITED STATES
Fort Worth, United States
5.0
256
Payment method verified
Member since Nov 14, 2005

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.