Banded linear system of equations using gauss-seidel method

Assignment Help Mechanical Engineering
Reference no: EM13712212

Write a program to solve a banded linear system of equations using the Gauss-Seidel method.

A user is prompted for the file paths containing the coefficient and constants matrices. The matrices are provided and loaded using csv read. Then the user must use a gauss-seidel method for banded matrices to solve the linear system of equations, and the answers written to a user specified output file (using csv write). The struggle is with the gauss-seidel function, it is not like the typical function in that the coefficient matrix is already banded and not square. It then asks for a function to convert the banded matrix to a full matrix.

Reference no: EM13712212

Questions Cloud

At approximately what temperature would a specimen : At approximately what temperature (in Kelvin) would a specimen of an alloy have to be carburized for 1.8 h to produce the same diffusion result as at 930°C for 14 h? Assume that values for D0 and Qd are 2.8 × 10-4 m2/s and 137 kJ/mol, respectively.At..
What circumstances is the objective function more important : What circumstances are the constraints more important than the objective function in a linear programming model - Why is the critical path not the shortest path through a network.
What is the maximum isolator stiffness of undammed isolator : A 1000 Kg machine has rotating unbalance of 0.1 kg-m. It operates a speed of 500 to 750 rpm. What is the maximum isolator stiffness of undammed isolator that can be used to reduce the transmitted force to 300 N at all operating speeds?
Transfer rate required at heating station to heat petroleum : One component in a household refrigerator is the compressor where refrigerant 12 enters as saturated vapor at -24?F and is isentropic ally compressed to 29 psia. Determine the work required in kJ/kg and the exit temperature (in °C) of the refrigeran..
Banded linear system of equations using gauss-seidel method : Write a program to solve a banded linear system of equations using the Gauss-Seidel method. A user is prompted for the file paths containing the coefficient and constants matrices. The matrices are provided and loaded using csv read. Then the user mu..
Total amount of heat to be removed from the water : There is a process in which ball bearings made of plain carbon steel are rolling from an oven at a uniform temp of 870 degrees Celsius into a water bath where the water is at 37 degrees Celsius to quench them. A rubber conveyer belt then carries them..
Explain change in magnetic properties when steel is heated : Explain the change in magnetic properties when steel is heated. Is this due to allotropic properties?
Gravity is just the ratio of density of a material to water : A fan jumps into a swimming pool in an attempt to drown her sorrows. She is able to float on her back...in a position that is neutrally buoyant...so that she can continue to breathe through her mouth. Believing that 70% of her body is composed of wat..
Contained is a gas-tight frictionless piston-cylinder : A mass of 2.2 kg of helium at 381 kPa and -253oC is contained is a gas-tight frictionless piston-cylinder. The gas is expanded to a final pressure of 74 kPa in a poly tropic process where n = 1.667. Compute the work done (output positive) in the proc..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd