Matrices are used in mathematics

Assignment Help Software Engineering
Reference no: EM13994727

*Please write all answers in c++ code using Xcode and make sure the program runs successfully... and have fun solving :)

Part B)Matrices are used in mathematics, often to represent vectors or systems of equations. A matrix is a set of numbers arranged in a particular pattern.  For example, the following is a 3x3 matrix
1 5 3
6 3 2
8 6 0
In this problem you will work exclusively with 3x3 matrices.
1.Create a structure that represents a 3x3 matrix.
Use 3 arrays; one to represent each row in
the matrix.

2.Write pseudocode and then into C++ code for the function  void printMatrix(Matrix m) that prints out all of m's information in a nice format.  Include pseudocode (and C++ code) for a main function which calls these. Initialize your matrix using {} notation.

3.Write pseudocode & then into C ++ code  for a function Matrix add(Matrix m1, Matrix m2) which returns a new matrix which is the sum of m1 and m2.  Adding matrices works as you might expect, where the sum at each location is the sum of the individual values in those locations; e.g.
1 2 3   9 8 7    10 10 10
4 5 6 + 6 5 4 =  10 10 10
7 8 9   3 2 1    10 10 10

4.Write in C++ code  for a function Matrix sum(Matrix mats[], int size) that adds up all the atrices in mats and returns the result.

Part C)

Attached below is a program using a Student struct.

The main difference is that I've added a Transcript variable, where Transcript is a struct defined above Student. You will modify printStudent,
initializeStudent, and mergeStudent to incorporate this new member variable.
In initializeStudent, you should add code to read in the students' courses and grades. From the grades entered, you should compute the student's gpa.
In printStudent, you should add code to print out the students' courses and grades, and their gpa.
In mergeStudent, you should add code that will include all courses from both students (but with no duplicates) and compute the new gpa, and store these values into the returned Student.
The idea of the mergeStudent function is that there may be two duplicate variables representing the same student, and
you want to come up with a new variable based on those.


Attachment:- alma.txt

Reference no: EM13994727

Questions Cloud

Operates under conditions of perfect competition : Assume that Raul Lopez is a soybean farmer in the Florida panhandle and that he operates under conditions of perfect competition.  If Raul discovers a new irrigation technique that reduces his AVC and ATC, how will the price at which he sells his pro..
Is elasticity elastic-inelastic or neither : Shaun suggests that there wasn't enough time in the experiment. He estimates that in the second month, April, the Café will sell 26,000 meals at $7.50. What would be the Price Elasticity of Demand if Shaun is correct? Is elasticity elastic, inelastic..
Determine the angular acceleration of the yoyo : The inner radius of the yoyo is r = 2.77 cm, and the outer radius is R = 4.49 cm, and the moment of inertia about the axis perpendicular to the plane of the yoyo and passing through the center of mass is ICM = 1.28 x 10-4 kgm2. Determine the linea..
How much money could the land owner have made : How much money could the land owner have made if they took the $350 rent payment and placed it into an annuity paying 2% over the entire lifetime of the rental?
Matrices are used in mathematics : Part B)Matrices are used in mathematics, often to represent vectors or systems of equations. A matrix is a set of numbers arranged in a particular pattern.  For example, the following is a 3x3 matrix 1 5 3 6 3 2
The after-tax ror under straight-line depreciation : An income-producing asset costs $60 000, has an estimated useful-life of 7 years, has no salvage value after installation and is expected to produce annual net savings of $15 000. The company's tax rate is 52%. Compute (a) the before-tax ROR, and (b)..
For each item indicate how treatment of the amount : Consider the total effect of items a-d. If HW's goal is to show the lowest total liabilities, which set of standards, U.S. GAAP or IFRS, best helps it meet that goal?
Compute the NPV of an investment : Compute the NPV of an investment with CFo = -$50 000 and CFj = +$12 000 (j= 1,. . . ,6) if the annual interest rate compounded annually, is (b) 10%, (c) 12% interpret the results and approximate the ROR for the Problem by interpolation between the re..
Write down the matrix with payoffs for both players : Write down the matrix with payoffs for both players - what is the Nash equilibrium in pure strategies - What is the probability that this person is from ethnicity γ? Provide your answer in fractions and not in decimal places. Failure to do so will ..

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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