# Two simple student C programming projects

Project 2:(this project is urgent, please bid immediately)

You need to do a Gaussian elimination algorithm with complete pivoting together with backward substitution to solve Ax = b, where A is an n times n square matrix. The program should read A and b from two input fi les and output the solution x.

Plus, the program should count how many multiplications and additions are done.

It should:

have two command line arguments for the fi lenames. The fi rst argument is the fi le where we

read the A matrix, and the second one is the file where you read the b vector. Each line in a

file represents a row,

use dynamically allocated memory to store the matrix and the vector,

print out an error message and quit if it detects that A is singular**

use counters to count the total number of multiplication and addition operations,

print out the number of operations together with the solution x.

**It should be done if any pivot is zero after the multiplications and additions. Or any other singularity check is ok.

Project 3: (This one's due has almost 10 days more so it's not that urgent.)

In this project, you will design a root finding software for general third degree polynomials using

Newton's method. You will only worry about one-dimensional problems of the form

f(x) = x3+ ax2+ bx + c = 0 (x3 is "x"cube, ax2 is "a" times "x"square)

The program should

 accept fi ve command line parameters, the first three being the polynomial coecients a, b,

and c, the fourth one being the stopping parameter e (defi ned below), and the fi nal one is the

initial guess x0,

 print out (for each iteration i) the current approximate root x(i) and the corresponding function

value f(x(i)),

 determine that it is time to stop when the stopping condition |x(n) - x(n - 1)|<= e is satis ed

and terminate.

You can check Newton's method from wiki or so, to understand it better.

Kỹ năng: Lập trình C

Về Bên Thuê:
( 0 nhận xét ) Turkey

Mã Dự Án: #1057977

## 20 freelancer đang chào giá trung bình \$101 cho công việc này

dobreiiita

\$120 USD trong 1 ngày
(45 Đánh Giá)
5.4

\$60 USD trong 2 ngày
(36 Đánh Giá)
5.3
wahab14

I have a lot of experience of developing and implmenting algorithms in C++.

\$75 USD trong 3 ngày
(4 Đánh Giá)
3.5
kkoukos

Hello sir, I have great experience on such programs. Please see your PM.

\$80 USD trong 0 ngày
(3 Đánh Giá)
3.0
abbie3290

\$90 USD trong 1 ngày
(6 Đánh Giá)
3.0
hiddenboy

\$45 USD trong 1 ngày
(2 Đánh Giá)
2.6
conanm

easy!!!!!!!!!!!!!!!!!!!!

\$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
moreshkashikar

project will be delivered to you as per your request and requirements

\$198 USD trong 3 ngày
(0 Đánh Giá)
0.0
ashua

I will complete this task in 3 days as i have gone through similar projects. 3 days and work done of your project.

\$60 USD trong 3 ngày
(0 Đánh Giá)
0.0
ivhturp

\$50 USD trong 1 ngày
(0 Đánh Giá)
0.0
kisalaya89

\$45 USD trong 1 ngày
(0 Đánh Giá)
0.0
keyconcept

we can do that

\$200 USD trong 5 ngày
(0 Đánh Giá)
0.0
prolancer7

I can do it for you. Check PM.

\$150 USD trong 5 ngày
(0 Đánh Giá)
0.0
rahulnagar8

i m an expert in programming and algo designing.m ready for it!! check pm

\$110 USD trong 2 ngày
(0 Đánh Giá)
0.0
nileshbosmiya

i AM IT ENGINEER

\$60 USD trong 7 ngày
(0 Đánh Giá)
0.0
AmolHJ

I can do this

\$100 USD trong 2 ngày
(0 Đánh Giá)
0.0
ashay11

I have programmed similar algorithms during my internship for solving system of linear equation.

\$100 USD trong 6 ngày
(0 Đánh Giá)
0.0
AlonaSoftEng

Please see PM for more details.

\$55 USD trong 2 ngày
(0 Đánh Giá)
0.0
pavan45