Make a graph of unique capital letters of your Name then applied Floyd algorithm to find...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Make a graph of unique capital letters of your Name then applied Floyd algorithm to find the last matrix. (Note: If your Name is too long, then chose only six unique letters). Edge weight between two Nodes is the difference of ASCII table values of that letters. Suppose there is a Node 'A' and 'B'. ASCII value of A=65 and B=66, difference of B-A=1 (66-65=1). Every node is connected to next two node through edges i.e. 1s Node connected with 2nd and 3rd node. Similarly 6th (last) node connected back to 1* and 2nd node. E.g. If your Name is "USMAN ALI" then initially node of graph look like this. ASCII value of U=85 and S=83 then edge weight between U and S is 85-83=2. Similarly make your name graph and calculate all other edges value and then applied Floyd Algorithm. Make a graph of unique capital letters of your Name then applied Floyd algorithm to find the last matrix. (Note: If your Name is too long, then chose only six unique letters). Edge weight between two Nodes is the difference of ASCII table values of that letters. Suppose there is a Node 'A' and 'B'. ASCII value of A=65 and B=66, difference of B-A=1 (66-65=1). Every node is connected to next two node through edges i.e. 1s Node connected with 2nd and 3rd node. Similarly 6th (last) node connected back to 1* and 2nd node. E.g. If your Name is "USMAN ALI" then initially node of graph look like this. ASCII value of U=85 and S=83 then edge weight between U and S is 85-83=2. Similarly make your name graph and calculate all other edges value and then applied Floyd Algorithm.
Expert Answer:
Related Book For
College Physics Reasoning and Relationships
ISBN: 978-0840058195
2nd edition
Authors: Nicholas Giordano
Posted Date:
Students also viewed these computer network questions
-
Make a graph of an AC voltage versus time that corresponds to a frequency of 300 Hz and an rms value of 45 V. Be sure to label the axes of your graph.
-
Make a graph of the kinetic energy versus momentum for (a) A particle of nonzero mass, (b) A particle with zero mass.
-
Method of continuous variation. Make a graph of absorbance versus mole fraction of thiocyanate from the data in the table. (a) What is the stoichiometry of the predominant Fe(SCN) n 3-n species? (b)...
-
Cutler Manufacturing manufactures and distributes specialty piping used in the construction industry. Due to the recent contraction in the commercial construction market, the company has had...
-
Why is it desirable for exchange rates to be stable and predictable?
-
The stockholders equity of a corporation may include both preferred stock and common stock. Preferred stock may (1) Be convertible into common stock, or (2) Be issued with warrants attached enabling...
-
Plaintiff sought to enforce against the defendant estate a promise made by his now-deceased uncle to pay Plaintiff a sum of money if Plaintiff refrained from the use of alcohol and tobacco for a...
-
Beckman Engineering and Associates (BEA) is considering a change in its capital structure. BEA currently has $20 million in debt carrying a rate of 8 percent, and its stock price is $40 per share...
-
Prove that f(xx, yy) = (i=1 (yy) (1/2) x) (i-1 (yy)(1/2)x}) where 1 and 2 refer to periods 1 and 2 respectively; satisfies the condition that: fk(ykx,ykk) = for all k=1,...K then f(yx,y)=\
-
The graph below shows supply and demand curves for a new mp3 player accessory. a. What is the equilibrium price? b. Describe the relationship of supply and demand if the item were sold for $20. c....
-
When Sue returned from her meeting with the CFO, there was a note from the Wine bottle facility manager, Ron Cross, waiting for her at her desk. She read through the note with enthusiasm, noting in...
-
Consider the following column: 0.5Q EI, L 4 B EI, L A The column has a length 2L and is clamped in point A and simply supported in point B. The bending stiffness is El. The column is loaded by a...
-
W hat charge exists that on a test charge that experience a force of 1 . 4 x 1 0 - 8 N at a point where the electric field intensity strength is 5 . 0 x 1 0 - 4 N / C .
-
Salalah Steel SAOG was about to decide whether to launch a new product In year 2002 sale price per unit is OMR 10 and is expected to increase by 10% every year due to inflation. In year 2002 expenses...
-
The following table shows the option prices of HKMU Inc. common stock (HKMU) on 5 November 2022. The closing price of HKMU on that day was USD208.50 and all stock options will expire on 16 December...
-
Consider 6-bits Successive Approximation. If Vref=4.5V and Vin 2.35V, [3 Maks] then use the iterative approach and find the binary equivalent of the input. Show your work. Direct answer will yield...
-
Figure Q.7 shows a shift register counter. Name this counter. Sketch a full cycle timing diagram (4 clock pulses) for output Qo, Q, Q2, and Q3 with respect to the CLOCK pulses once the START button...
-
The Heese Restaurant Group manufactures the bags of frozen French fries used at its franchised restaurants. Last week, Heeses purchased and used 101,000 pounds of potatoes at a price of $ 0.70 per...
-
Analyzing a real battery. The battery in Figure P19.58 is a real battery. That is, it has some internal resistance R int in series with an ideal battery with an emf of V0. In an attempt to determine...
-
Two nearby nodes of a standing wave are separated by 3.5 m. If the frequency of the wave is 150 Hz, what is the speed of the wave?
-
Find the electric field a distance of 1.0 nm from an electron. Is this field directed toward or away from the electron?
-
The end of a spring is pulled to the right by 4 cm; the restoring force is 8 N to the left. Given the relationships shown in Figure 8.14c, if the spring is returned to equilibrium and then pushed to...
-
A 10 kg mass is hung from a 1-m-long cable, causing the cable to stretch by 2 mm. Suppose a 10 kg mass is hung from a 2 m length of the same cable. By how much does the cable stretch? A. 0.5 mm B. l...
-
A 1.0 kg weight is suspended from a spring, stretching it by 5.0 cm. How much does the spring stretch if the 1.0 kg weight is replaced by a 3.0 kg weight? A. 5.0cm B. 10.0cm C. 15.0cm D. 20.0cm
Study smarter with the SolutionInn App