Question 2.)Let A= student id last digit % 4 and add 1. For example mine student...
Question 1.) Given a directed negative weights Graph what is the most efficient algorithm to detect a cycle. What is the most efficient method to detect a cycle? Question 2.)Let A= student id last digit % 4 and add 1. For example mine student id is 7. So 7%4=3 and add 1 -->A=4 Run DFS starting at node a, and breaking ties alphabetically(in this case numerically as nodes have numbers where 1 goes before 2). Please label just back edges....
ID#: 20254136 Let A be the last digit and let B be the second to last digit of your 8-digit student ID. (Example: for 20245347, A = 7 and B = 4.) Imagine the energy levels in an atom are given by En = - (8.30+A)eV/n2. Find the wavelength of the photon emitted when an electron goes from n = (2+B) to n = 1. Give your answer in nanometers (nm) and with 3 significant figures.
JAVA LAB 1 2 5 7 6 9 3 8 . Write code to implement an adjacency matrix (2d matrix) which represents the graph. Your code should contain a function called addEdgelint i, int j). Use this function to add the appropriate edges in your matrix. Write code to implement Depth-First-Search (DFS) and Breadth-First-Search (BFS) of your graph. Let 0 be the source Node . Traverse the graph using DFS, print the Nodes as they are visited. . Traverse the...
Question 4 A ball with a diameter of your last digit of your University ID+1) cm leaves a girl's hand with an upward velocity of 6 meters per second. What is the maximum height of the ball above the girl's hand? neglect air resistance Not yet answered Marked out of 2.00 Flag question Select one O a 6,4M Ob. 1.8 M O C70M d. 4.5 M e. 52 M 10 9 12 M 130M Last digit : 7
Mid-Term # 2 for MAE409A, Sec 3, 3/28/2019 Student Name& ID: Instructor: Dr. George Tzong Problem i (1196): Please use one dimensional finite elem by following Element and Node IDs as defined in the figure. Node 3 is fixed, and Nodes 3 and 4 are 2 units away from rigid walls. (1) Assemble and show the reduced global stiffhess matrix and load vector for the model; and (2) Find the nodal displacements, reaction forces at Node 1, and stress in...
the last three digit 552 solve only question 4 In this HW, the values of a, b and c are the last three digits of your student ID. For example, if your student ID is 201802321 then a = 3, b = 2 and c=1. 1. (5pts) Evaluate the eigenvalues of the following matrix a +5 4 0 0 -1 a+10 0 0 0 0 0 -2 2 + c 2. (7pts) Let -3 1 B= 1 -2 1 3...
last digit is 5 bisect f.m newton.m func.m 2(a) Let d be the last digit of your student ID number. But if d0, take d6. Then in Example 1.1 of Chapter 4, suppose we want v(12)d, that is, g(e24-I) With g-9.8, use the bisection method as implemented in the Matlab function bisect in bisect.m with error tolerance eps 108 to find an approximation to . Please hand in an explanation of how your a and b were found as well...
MA112 2 Name.. Student ID.................. Instructions: Answer each question to the best of your ability. You MUST SHOW ALL WORK for full credit. Clearly indicate your final answers. Good luck! 1. Let n be the last digit of your student ID. Consider the vector field 3.02 - } (x, y) = 6x In(y)i + -) 3, for y>0 Y | 7 di is independent of path in a simply connected (n+1.e) 1.1 (3 points) Determine whether (n+1,1) region containing the...
.n= n(n-1)(n+1) for all n > 2. 12. Use induction to prove (1 : 2) +(2-3)+(3-4) +...+(n-1).n [9 points) 3
Consider the bar shown below which is made of two different materials with different cross sectional areas. An axial force P 200x103 N is applied at the intersection point. Both ends of the bar are fixed 300 mm> 400 mm Aluminum A 2400 mm2 E 70 x 10 N/2 E2-200 x 109 N/m2 Steel A,-600 mm2 1. 2. 3. Find the axial displacements at X, -140 mm and X2 -440 mm Find the stress at X' = 140 mm and...