Develop-implement method to identify numerically equivalent, Mechanical Engineering

Assignment Help:

For example, if one were provided with the set [3 1 3 -4 -6], the resulting answers would be [3 1 -4], [3 1 -4], an [3 3 -6], as these are the three sets of three values which sum to zero from the provided set. Notice that the first and second solution appear to be the same, but correspond to two solutions for the two different 3s in the provided set.

Your code should return the answer in 2D array format, where each row is a solution set (3 columns per row). If no solution sets can be found for a given input, the code should output a value of zero.

For this assignment you should find or develop an algorithm for finding these solutions. Once you have found or developed this algorithm, create a flowchart for this algorithm. Please conform to the algorithm format outlined in class.

Your code should be adequately commented, such that one would be able to understand your code by reading comments only. Your code should also include an initial code block giving a brief overview of how to use the function and your solution process, so that someone can query your program for this code block using the help command.

EXTRA CREDIT:

Develop and implement a method to identify and remove and solutions which are numerically equivalent, so that the result from your code doesn't have any repeated solutions. This should be able to match solutions which contain the same values but in different orders. This means that if the sets [3 1 -4] and [3 -4 1] are in the solution your method should still identify them as equivalent and only return one of them.


Related Discussions:- Develop-implement method to identify numerically equivalent

Design, Hi I am new tutor here Pankaj kumar I got the mail for the verif...

Hi I am new tutor here Pankaj kumar I got the mail for the verification and i regitered now . But how can i get the sample assignment for the further process.

Probability, Airlines like to overbook their flights (this is a vibrant are...

Airlines like to overbook their flights (this is a vibrant area of research called yield management). It is estimated that 10% of the people who book their flight do not show up. H

Door strap pull force, A pull up door is stuck in the closed position. A st...

A pull up door is stuck in the closed position. A strap, fastened on the inside bottom and located at the center of the door is pulled outward at an angle of 45 deg above horizonta

Aspects of scheduling , Aspects Of Scheduling  The difficulty is a mod...

Aspects Of Scheduling  The difficulty is a modification of a flexible manufacturing cell at ABB's plant for the manufacturing of turbocharger in Baden, Switzerland. The difficu

Evaluate the absolute velocity of jet, A jet of water moving at 8 m/sec. im...

A jet of water moving at 8 m/sec. impinges on a concave-shaped vane to deflect the jet through 120 o when stationary. If the vane is moving at 5 m/sec., calculate the angle of jet

Problems on structural design of combined footings, Problems on Structural ...

Problems on Structural Design of Combined Footings a. Two columns 50 cm x 50 cm in size support service loads of 1200kN and 800kN.The centre to centre spacing between columns

Illustrate about plant type and process, Q. Illustrate about Plant Type and...

Q. Illustrate about Plant Type and Process? Plant layout is influenced by the type of plant (both the industry and technology utilized) and the kind of process units and associ

Single direction pump, Can I have a quote for answers relating to this ques...

Can I have a quote for answers relating to this question (6 and 7) on my paper. Thanks

Manufacturing engineering-2, Enumerate the essential features of a milling ...

Enumerate the essential features of a milling fixture

Write Your Message!

Captcha
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