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

  Determine the pressure and temperature at each point in the

consider an air-standard gas turbine cycle with a regenerator heat exchanger. the operating compression ratio oand a

  Determine the peak runoff

Determine the peak runoff from 500 ft of pavement(32ft wide) that drains toward a gutter(for 10 years freq. storm), the pavement slope is .0005, n=.016 and c=.9

  Determine the magnitude and direction

The direction of the forces are 0,-30 and +120 degrees from the positive X axis. Determine the magnitude and direction of the resultant force.

  How much water will need to be heated

You are throwing a dinner party and decide to prepare instant Chinese noodles (chicken flavor) for all your guests. From the cooking instruction on the back of the package, you determine that you will need to bring 44 cups of water to a boil for your..

  For the vapor power cycle steam enters the at 3 mpa and 500

for the vapor power cycle steam enters the at 3 mpa and 500 c and leaves at 70 kpa and 200 c. the system is operating

  A value that causes the 24 hr average velocity to be 20 ms

a wind turbine with a swept area of 1000 m2 operates with 56 efficiency under stp conditions. at the location of the

  A gate is 05 m wide and 06 m tall and is hinged at the

a gate is 0.5 m wide and 0.6 m tall and is hinged at the bottom. on one side the gate holds back a 0.5 m deep body of

  Freeze dried product is completely dried and has no moisture

If 100 lbs of fresh strawberries at moisture content of 4.8 (db) is freeze dried, what will be the output?

  Calculate the anguler acceleration of the wheel the wheel

two weights are attached to a wheel pully m1 is 2.00 slugs and m2 is 1.00 slugs use kinetics to calculate the anguler

  A heat engine rejects heat to the atmosphere

A heat engine rejects heat to the atmosphere. The temperature of the atmosphere is 80 F. Saturated liquid water enters the boiler at a rate of 1000 lbm/hour with pressure of 250 psia. The water exits the boiler as a saturated vapor at the same pressu..

  Two blocks of steel cp011 btulbm ordmf one at 800ordmf and

two blocks of steel cp0.11 btulbm ordmf one at 800ordmf and the other at 300ordmf are brought into contact in an

  A carnot engine operates between two reservoirs maintained

a carnot engine operates between two reservoirs maintained at 400 degrees celcius673.15k and t2 respectively. the heat

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