473,395 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Solving systems of Linear equations using Iteration

1
hi guys..
i got a problem.. could anyone help me write a program..

the program is as follows:-

2. Solving systems of Linear equations using Iteration:
You are required to write a C++ program which will solve system of linear equations with 3 or 4
unknowns (to be entered by the user).
Your program should display a menu which will allow the user to choose whether he wants to (1)
enter the number of unknowns, coefficients details, ... (2) check whether the linear system can be
solved using iteration (3) calculate and display the required results using Gauss-Seidel (4) calculate
and display the required results using Gauss-Jacobi (5) calculate and display the required results
using both methods.
Oct 6 '07 #1
6 8684
Banfa
9,065 Expert Mod 8TB
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

Banfa
Administrator
Oct 6 '07 #2
JosAH
11,448 Expert 8TB
Also MathWorld is a great repository.

kind regards,

Jos
Oct 6 '07 #3
Hi, I am Mr Doomun, lecturer of the University of Mauritius. Please do give any students answers to this assignment. They are expected to do this by themselves.

thanks in advance.
Oct 13 '07 #4
JosAH
11,448 Expert 8TB
Hi, I am Mr Doomun, lecturer of the University of Mauritius. Please do give any students answers to this assignment. They are expected to do this by themselves.

thanks in advance.
I take it you wanted to write "Please don't give any students answers ..."

kind regards,

Jos
Oct 13 '07 #5
You can get some help on how to solve the equations at tutorvista
there you will also find systems of equations solver for your convinence.
Sep 24 '11 #6
I recommend online equation calculator - www.equationcalculator.org. Solves equations up to 3rd power of unknown.
Feb 15 '15 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Guenther Sohler | last post by:
I am looking for a apropriate c library to solve my sparse linear equation system. I have n variables and m equations. m might be less, equal or greater then n!!!! If there are less...
2
by: Anatoly | last post by:
Hi All !!! Can anyone give me link to the C++ source or to the compiled program unit (compatible with Microsoft VC++), designed for the solving of the algebraic linear systems with rare matrices...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
4
by: Thomas | last post by:
Hi, I've to solve a system of linear equations and inequations in C++. Are there (free) librarys for that topic? Regards, Thomas
5
by: Fabian Wein | last post by:
Hi, my question is limited to moderm and powerfull architectures (we do simulation and solve large systems of linear equations). Are there any architectures arround where an int is unsigned? I...
0
by: fdu.xiaojf | last post by:
Hi all, I have two questions about scipy. 1) When I was trying to solve a single variable equations using scipy, I found two methods: scipy.optimize.fsolve, which is designated to find the...
2
by: Federico Zenith | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, I am looking into a problem that probably someone had before, so I hope I can avoid reinventing the wheel... I am looking into...
4
by: sdufoo | last post by:
Hallo guys, I have to solve a system of Differential equations: http://picasaweb.google.de/sdufoo/EcuacionesDiferenciales02/photo#5228386949051570594 these are the equations of an induction...
1
by: HypeBeast McStreetwear | last post by:
Hello everyone. I got a assignment that states. The set of linear equations a11X1 = a12X2 = c1 a21X1 = a22X2 = c2 May be solved using Cramers rule: X1 = c1a22 c2a12 a11a22 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.