Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please type up the code Question 3 (15 marks) The electrical resistance of a material depends on temperature. The resistance temperature coefficient, . allows adjustment
Please type up the code
Question 3 (15 marks) The electrical resistance of a material depends on temperature. The resistance temperature coefficient, . allows adjustment of the resistance of a material for a given temperature. In addition to the coefficient, the resistance of the material must be known at a standard temperature (normally 20 degrees Celsius). The resistance, R, of a material at a temperature T can be found using where R is the material's resistance in ohms at the temperature T in C Rref is the material's resistance at the reference temperature Tref (normally at 20 C) is the resistance temperature coefficient( C) of the material T is the material's temperature in C Tref is the reference temperature (C) at which a is defined for the material (reference: https://www.allabouteircuits.com/textbook/direct-current/chpt-12/temperature-coefficient- resistance For metals, the coefficient is positive, which indicates that resistance increases as temperature increases. In the case of the elements carbon, germanium, and silicone, the coefficient is negative, which indicates that the resistance decreases as temperature increases. For certain metal alloys, the coefficient is almost zero and thus their resistance varies very little with change in temperature. The following table provides examples for the resistance temperature coefficient Material Nickel Iron Tungsten Aluminium Element/Alloy Elemen Elemen Element Elemen Elemen 0.005866 0.005671 0.004403 0.004308 0.004041 0.003 0.000074 0.075 0.048 Steel (99.5% iron 0.5% carbon) Constantan | Alloy Alloy Elemen Elemen Silicon You are involved in a project for the development of electrical transformers which contains field coils. Field coils consist of a conductor wrapped around an iron core. Your role is to develop software which can calculate the conductor resistance of the coils at different temperatures The resistance of a coil is computed with the following steps 1. Using the resistance value per unit length, Ri (ohms/meter) and the length of the conductor, L (meters), compute the coil resistance at the reference temperature, Trf, (20 C) as R-R.L To adjust the resistance at the given temperature, T (C), equation 1 is used with a given resistance temperature coefficient, a (C), at the reference temperature, Tref (20 C) 2. Apply the following guidelines to answer this question 1) First develop a set of test cases (Excel is practical spreadsheet software that allows you to create test cases). Provide at least 5 test cases. Ensure that the test cases cover a wide range of values a) Vary the resistance per unit length, RL, between 0.00327 ohms/m and 3.55 ohms/m b) Use the coefficient values for aluminum and copper given in the above table c) Vary the length of the conductor between 0.1 meters and 100 meters 2) Develop your program using the GNG1106 C template (GNG1106template.c), that is, your program will contain a main function and a function that calculates the resistance of the field coil conductor. The main function contains instructions to get data from the user, calls the function to compute the resistance, and displays the results to the user. Be sure to document well your program and follow programming conventions. 3) A hint: The value 5.65 x 10-8 is represented in a C program with 5. 65e-8 4) Inelude in your assignment report, a table of your test cases, your source code, and the captures output for all your test cases. Also submit your source code file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started