Click here to Skip to main content
15,896,727 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i have to make project of linear variable equation solver. please help me! i need code for dev cpp in c language.

What I have tried:

it is really hard i m getting getting what to do.
Posted
Updated 19-Apr-16 10:38am
Comments
Richard Deeming 19-Apr-16 13:57pm    
We're happy to help with specific questions about code you have written. But nobody here is going to do your homework for you.
Sergey Alexandrovich Kryukov 19-Apr-16 14:23pm    
Yes, it's pretty hard, but the problem itself is not extremely hard, just because it is well known.
It's not clear what help you can possibly expect, because we don't know from what level you need to start.
You need to learn the whole big mathematical topic: linear algebra. It is not particular difficult field of mathematics, but it's still a big university course: vectors, matrices, linear spaces, all that stuff. And then you need to learn matching part in the field of computational mathematics and algorithms...
You should see that this is all is hardly for a Quick Answer. But if you point out some particular problem, it can be a different story...
—SA

1 solution

Quote:
i have to make project of linear variable equation solver.
Just as you said, you have to make a project, not us.
Quote:
it is really hard i m getting getting what to do.
It's very basic problem, you will mostly never find something simpler than that in professional life.
A fail at doing this HomeWork will help your teachers to spot your weaknesses to get remedial actions.
And frankly, if we give you the answer, how will you do the next assignments which will be harder and harder ?

For this problem: At least show that you know the maths.
- Show that you know how to deduce the function from 2 points
- Show that you know how to find the 0 on the curve
- Show that you know how to compute any point on the curve.

Advice:
- reread your courses
- read C documentation. the book from Kernigan & Ritchie was a reference for years, even if outdated, the basics of the language are still the same.
- follow tutos.

For future:
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.

The debugger allow you to follow the execution line by line, inspect variables and you will see that there is a point where it stop doing what you expect.
Debugger - Wikipedia, the free encyclopedia[^]
Mastering Debugging in Visual Studio 2010 - A Beginner's Guide[^]
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html[^]
https://www.jetbrains.com/idea/help/debugging-your-first-java-application.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900