Homework Answers

Math 58880 52480
Physics 50710 47629
Chemistry 44357 42759
Programming & Computer Science 34330 30918
Economics 34267 33209
English 12729 11462
Biology 9425 8734
Management 8270 7078
Engineering 8082 6895
History 4259 3853
Psychology 2611 2287
Geography 2457 1903
Sociology 2387 2125
Law 2080 1463
Other 2007 1890
Marketing 1915 1605
Philosophy 1405 1148
Political Science 1107 1010
French 565 528

Questions: 281 843

Answers by our Experts: 258 976

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You are given a graph G = (V, E) where the weights of the edges can have

only three possible values - 2, 5 and 7. Design a linear time , that is O(E + V) time algorithm to find the minimum spanning tree of G. Hint: Modify a known algorithm.


There are n galaxies connected by m intergalactic teleport-ways. Each


teleport-way joins two galaxies and can be traversed in both directions.


However, the company that runs the teleport-ways has established an


extremely lucrative cost structure: Anyone can teleport further from their


home galaxy at no cost whatsoever, but teleporting toward their home galaxy


is prohibitively expensive.


Judy has decided to take a sabbatical tour of the universe by visiting as


many galaxies as possible, starting at her home galaxy. To save on travel


expenses, she wants to teleport away from her home galaxy at every step,


except for the very last teleport home.


(a) Describe and analyze an algorithm to compute the maximum number of


galaxies that Judy can visit. Your input consists of an undirected graph G


with n vertices and m edges describing the teleport-way network, an


integer 1 <= s <= n identifying Judy’s home galaxy, and an array D[1 .. n]


containing the distances of each galaxy from s


(Greedy Algorithms) Suppose you are given n tasks J = {j1, j2, · · · jn}.

Each task J has two parts - a preprocessing phase which takes pi units and a main phase which takes fi units of time. There are n machines that can execute the main phases of the jobs in parallel. However, the preprocessing phases need to be executed sequentially on a special machine. The completion time of any schedule is the earliest time when all tasks have finished execution. Design a greedy algorithm which produces a schedule that minimizes the completion time.


Input:1good23morning456


Output: goodmorning 123456



Explanation:given a string, write a program to remove all the numbers in it to its end.

1. What is the boiling point and freezing point of a solution containing 6 g of



glycerol (C3H8O3) in 25 g of water?



2. What is the molecular mass of a solute in a solution containing 3.8 g of



nonelectrolyte in 420 g of water which freezes at -23 oC?

Input: Tea is good for you


3


Output:is good



Explanation: given a string write a program to remove all the words with k length.

Identify what colligative property is applied or observed in the following. Explain



your answer.



1. Salt is mixed with ice in ice cream making.



2. Salt and sugar are used in food preservation.



3. Coolant is added to car radiators.



4. Pressure cooker.



5. Pruned or wrinkled fingers.

Solve for what is being asked.



What is the molar mass of the solute in a solution made by dissolving 34.41



g of an unknown nonelectrolyte compound in 280.0 g benzene. The boiling point of



the solution is 93.2 °C. Benzene has a boiling point of 80.1 °C and molal boiling-



point elevation constant of 2.53 °C/m.

Prices are much higher in the Pakistan in 2022 than in 2010.

Does this fact mean that people were economically better off in

2010? Why or why not?


A very large, superconducting solenoid such as one used in MRI scans, stores 1.00 MJ of energy in its magnetic field when 100 A flows. (a) Find its self-inductance. (b) If the coils

“go normal,” they gain resistance and start to dissipate thermal energy. What temperature increase is produced if all the stored energy goes into heating the 1000 kg magnet,

given its average specific heat is 200 J/kg·oC ?


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS