суббота, 8 июня 2019 г.
Matlab problem Assignment Example | Topics and Well Written Essays - 1250 words
Matlab problem - Assignment ExampleIt is to see to it that the resistors used are 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 known as ohms. In a bid to ease the process of manu itemuring in bulk, the manufacturers of resistors usually do it in some streamer tick off measures. These standard resistors are known as E12 resistors. They are the resistors with the values 10 ? 12 ? 15 ? 18 ? 22 ? 27 ? 33 ? 39 ? 47 ? 56 ? 68 ? and 82 ? Designers of electrical roles who which incorporate the use 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 t he 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 t acquire, resistors are to be combined in series since resistors combining in series have the tally resistance being the sum of the individual resistances of each one of the resistors connected in series. In this problem the designer desires to get optimization modes of combining resistors in series to get the following values of resistances- 20 ? 100 ? 200 ? 1k ? 2k ? 50k ? 100k ? 2m ? 20M ? 150M ?. Method The mode utilize 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 also takes advantage of the fact that for resistors in series, the total resistance is given by summing up the value of each of the individual resistances of the resistors connecte d in series. i.e, RT = R1 + R2 + R3 The method employed also targeted at making the program user friendly. It was to engage the user in a human like dialogue and hence be usable even by people who have no knowledge of programming. In this regard, the method employed was to write a program code that would ask for some deuce 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 insert one of the following as desired 20 ? 100 ? 200 ? 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 and used shorthand used by electrica l 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
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий