Engineering
Which four member of the family of directions lie in a plane that is parallel to the (110) plane? Make clear sketches of all your work to get full credit. Useful protocol to locate plane: Algorithm for determining the Miller Indices of a plane 1. If plane passes through selected origin, establish a new origin in another unit cell 2. Read off values of intercepts of plane designated A, B, C) with x, y, and z axes in terms of a, b, o 3. Take reciprocals of intercepts 4. Normalize reciprocals of intercepts by multiplying by lattice parameters a, b, and 4. Reduce to smallest integer values 5. Enclose resulting Miller Indices in parentheses, no commas i.e., (hkl)
Write a function: def solution(T) that, given a string T, describing a patient's body temperature in the Celsius scale, retums the name of the patient's temperature state. The string T is in the form "DD.D', where D denotes a digit. Examples: 1. Given T= "34.5", the function should return "hypothermia". 2. Given T= "35.0", the function should retum "normal". 3. Given T= "37.6", the function should return "fever". 4. Given T= "41.0", the function should return "hyperpyrexia". Assume that: - string T is in format "DD.D", where D denotes a digit; - string T describes temperature within the range [34.0C,42.0C]. In your solution, focus on correctness. The performance of your solution will not be the focus of the assessment. Copyright 2009-2022 by Codility Limited. All Rights Reserved. Unauthorized copying, publlioation or disclosure prohibited.
(a)The following is the MATLAB program that finds the index numbers of the temperatures that exceed the maximum allowable temperature:v1=[0,100;1,101;2,102;3,103;4,103;5,104;6,104;7,105;8,106;9,106;10,106;11,105;12,104;...13,103;14,101;15,100;16,99;17,100;18,102;19,104;20,106;21,107;22,105;23,104;24,104];a1=find(v1>105)The following is the MATLAB output:a1 =3435364647Thus, the MATLAB output gives the index numbers of the temperatures that exceed the maximum allowable temperature.