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

  Business and management scenario assignment

Design and document appropriate ETL processes that populate your dimensional model database.

  What are some benefits of running virtualization

Write a 200- to 300-word short-answer response to the following: We use VMware at work to run Virtual servers. What are some benefits of running virtualization

  Write business rules that are reflected in erd

Write the business rules that are reflected in the ERD.(Note that the ERD reflects some simplifying assumptions. For example,each book is written by only one author.

  Why a feasibility study must be performed

Why a feasibility study must be performed. Determine how IT determines the feasibility of a system. Do you understand the different systems analysis modeling techniques?

  Developing a software system

Describe a development scenario where an Agile method would not be an appropriate method to use for developing a software system. Cite an example that addresses a specific programming language such as Java, C++, or others.

  Sketch the dependency diagram

Sketch the dependency diagram. There are suitable examples in reading assignments of dependence diagrams. In what normal form is this table? Describe why.

  C using aspnet i need this assignment until 230914 it is

i need this assignment until 230914. it is electronic ecomerce website. you should use c using

  Recognized process flow types

Which of the following are recognized process flow types? Organized process flow

  Prepare the uml diagram for the class

Prepare the UML diagram for the class and then implement the class. Write a client program that tests all methods in the class.

  Develop the initial product backlog for the project

Take the project description and develop the initial product backlog for the project. Make sure each Product Backlog Item (user story) has a name, description, acceptance criteria, priority and initial estimate.

  Software services versus software components

Provide an example of a software component and another example of a software service. Explain what these examples have in common and how they differ.

  Drawing upon your knowledge of software development

Drawing upon your knowledge of software development, which process--requirements, design, coding, or testing--do you think has the greatest effect on the overall success and quality of development

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