Ace - AI Tutor
Ask Our Educators
Textbooks
My Library
Flashcards
Scribe - AI Notes
Notes & Exams
Download App
alejandro ibarra

alejandro i.

Divider

Questions asked

BEST MATCH

Question 11 (3 points) The following function should swap the values contained in two integer varial num1 and num2. What, if anything, is wrong with this function? void swap(int num1, int num2) { int temp = num2; num2 = num1; num1 = temp; } A) You must first initialize temp to 0 before using it. B) The variable temp should first be set to num1, not num2. C) The swap function must use reference parameters. D) The last line should be temp = num1. E) Nothing is wrong with this function.

View Answer
divider
BEST MATCH

A droid is moving [N40°E] at 26 km/h. An Ewok 5 km north of the droid is walking southeast [S45°E] at 5 km/h. Find the velocity of the droid relative to the Ewok. (4 marks)

View Answer
divider
BEST MATCH

Problem 2. (20 points) Consider G = (V, E) for figure 1 where V is the vertex/nodes and E is the edges. (Hint: for example, for V = {a,b} and the edge would be E = {ab}.) (1) Write down set of V and E. (2) Is G a tree? Explain your reason by checking with the definition of tree. (3) Write down the adjacent nodes for a and c. (4) If i is j's adjacent nodes or j is i's adjacent nodes, write the entry of A(i, j) = 1 otherwise A(i, j) = 0. Write down adjacency matrix A in the order of a, e, h, f, g.

View Answer
divider
BEST MATCH

An object made of two disk-shaped sections, A and B, as shown in the figure, is rotating about an axis through the center of disk A. The masses and the radii of disks A and B, respectively, are 3.29 kg and 0.329 kg and 18.48 cm and 1.85 cm. Calculate the moment of inertia of the object.

View Answer
divider
BEST MATCH

A single cylinder vertical petrol engine of total mass 400 kg is mounted upon a steel chassis frame and causes a vertical static deflection of 0.25 cm. the reciprocating parts of the engine have a mass of 5 kg and move through a vertical stroke of 12 cm with simple harmonic motion. A dashpot is provided, the damping resistance of which is directly proportional to the velocity and amounts to 20 kN at 1m/s. if steady state vibrations has been reached, determine from first principles (a) the amplitude of forced vibrations when the driving shaft of the engine rotates at 540 rpm, (b) the maximum dynamic force transmitted to the ground (i) through the chassis frame (which behaves as a spring), (ii) through the dashpot and (iii) through the chassis frame and dashpot together and (c) the driving shaft speed at which resonance will occur.

View Answer
divider
BEST MATCH

2x\textsuperscript{2}+x-6 if x ? 1 f(x) = \begin{cases} -2x-2 & \text{if } x > 3 \end{cases} Step 2 of 3: Evaluate this function at x = 2. Express your answer as an integer or simplified fraction. If the function is undefined at the given value, indicate \text{Undefined}.

View Answer
divider
BEST MATCH

Five pulse rates are randomly selected from a set of measurements. The five pulse rates have a mean of 73.6 beats per minute. Four of the pulse rates are 78, 54, 82, and 88. a. Find the missing value. b. Suppose that you need to create a list of n values that have a specific known mean. Some of the n values can be freely selected. How many of the n values can be freely assigned before the remaining values are determined? (The result is referred to as the number of degrees of freedom.) a. The missing value is \boxed{} beats per minute. (Type an integer or a decimal. Do not round.)

View Answer
divider
BEST MATCH

If a table that's twice as high were used, what would the horizontal distance (in meters) of the ball be if it rolled off the table with the average velocity? Select one: Oa. 1.608 Ob. 0.309 Oc. 0.618 Od. 0.437

View Answer
divider
BEST MATCH

Construct line LM so that LM is the perpendicular bisector of bar (QR).

View Answer
divider
BEST MATCH

George Consulting, Inc. is currently operating at 90 percent of capacity. The profit margin and the dividend payout ratio are projected to remain constant. Sales are projected to increase by 8% next year. What is the projected addition to retained earnings for next year given the current retained earnings stand at $415.50 mn?

View Answer
divider