.

Wednesday, April 17, 2019

Matlab problem Assignment Example | Topics and Well Written Essays - 1250 words

Matlab problem - Assignment ExampleIt is to see to it that the resistors commitd be not unnecessarily too many and that the value of resistance that they form in combination are the closest to the desired value of resistance. Problem statement Resistors are measured in SI units know as ohms. In a bid to ease the process of manufacturing in bulk, the manufacturers of resistors usually do it in some standardized set measures. These standard resistors are known as E12 resistors. They are the resistors with the determine 10 ? 12 ? 15 ? 18 ? 22 ? 27 ? 33 ? 39 ? 47 ? 56 ? 68 ? and 82 ? Designers of electrical comp iodinents who which incorporate the office of resistors usually design for some arbitrary resistance values which shall best suit the requirements of the component under design. Given that resistors are manufactured in the 12 standard values, this implies that the designer shall have make an appropriate combination of a number of the standard resistors to form a value that is as close to the designed value of resistance as is practically possible. The combination should use as few resistors as possible to minimize costs and this calls for proper optimization. In this task, resistors are to be combined in series since resistors combining in series have the total resistance world the sum of the individual resistances of each one of the resistors connected in series. In this problem the designer desires to reduce optimization modes of combining resistors in series to get the following values of resistances- 20 ? 100 ? cc ? 1k ? 2k ? 50k ? 100k ? 2m ? 20M ? 150M ?. Method The method employed in solving this problem takes advantage of the fact that each one of the E12 resistance values form a geometric series, they are all approximately 21% larger than the previous value. The method employed too takes advantage of the fact that for resistors in series, the total resistance is condition by summing up the value of each of the individual resistances of th e resistors connected in series. i.e, RT = R1 + R2 + R3 The method employed also targeted at making the program user congenial. It was to engage the user in a human worry dialogue and hence be usable even by people who have no fellowship of programming. In this regard, the method employed was to write a program code that would ask for some twain information from the user of the program. The first information to be inquired from the user is the desired value of resistance (target value). In this case the user would input one of the following as desired 20 ? 100 ? two hundred ? 1k ? 2k ? 50k ? 100k ? 2m ? 20M ? 150M ?. The second information to be inquired from the user is the maximum number of resistors that can be combined. This was introduced in a bid to cut down on the cost of manufacturing. The method employed also involved the use of shorthand in which case, M, K and R were used instead of M ? K ? and ? respectively. So as to make it possible for the universally accepted an d used shorthand used by electrical engineers be input in the program by the users. Results and discussion The program so formed is user friendly and able to ask for the two values from the user, i.e. the value of resistance desired and the maximum number of resistors to be combined. The program is also able to accept values of input written in electrical engineers

No comments:

Post a Comment