Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A multinational company has started a project to launch its Branches in differen

ID: 3636957 • Letter: A

Question

A multinational company has started a project to launch its Branches in different
countries and the company is going to start its Business and initially its network will
be developed for six countries i.e. Pakistan ,Saudi Arabia, China, Austria ,Japan ,
and Brunei Darussalam .
These countries may be named as a, b, c, d, e ,f respectively and Company has planned to establish the Communication Channels for its proper smooth business .The cost is given in the following table to establish the communication link .Which Communication Channels will be developed to ensure that all countries are connected so that the total cost of the Mega Project is minimized?

Branches: Cost in $ Billion
a-b 0.95
a-c 1.2
a-d 1.1
a-e 1.5
a-f 2.5
b-c 2.6
b-d 2.3
b-e 2.1
b-f 2.2
c-d 3.1
c-e 3.2
c-f 1.7
d-e 1.9
d-f 0.85
e-f 3.5

Model this problem using the weighted graph where Vertices represent Country
Branches, Edges represent possible Channel link and the weights on edges are
represented by costs of that channel.
a) First apply Prims Algorithm
b) Second apply Kruskal‘s algorithm

Explanation / Answer

A local recording studio rents its facilities for $200 per hour. Managementcharges only for the number of minutes used. Create a project inwhich the input is the name of the group and the number of minutes itused the studio. Your program calculates the appropriate charges, accumulatesthe total charges for all groups, and computes the average chargeand the number of groups that used the studio.Form: Use labeled text boxes for the name of the group and the numberof minutes used. The charges for the current group should display formattedin a label. Create a group box for the summary information. Insidethe group box, display the total charges for all groups, the number ofgroups, and the average charge per group. Format all output appropriately.Include buttons for Calculate, Clear, and Exit.Code: Use a constant for the rental rate per hour; divide that by 60 toget the rental rate per minute. Do not allow bad input data to cancel theprogram. This is my coding so far for my claculations Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalculateButton.Click 'Calculate the price Dim MinutesUsedInteger, TotalChargesInteger As Integer Dim AmountDue, AverageCharge As Decimal Try 'Convert minutes used to numeric variable MinutesUsedInteger = Integer.Parse(MinutesUsedTextBox.Text) Try 'convert price if minutes used was successful AmountDue = Decimal.Parse(AmountDueTextBox.Text) 'Calculate values for sale AmountDue = MinutesUsedInteger * CHARGE_PER_HOUR 'calculate summary values TotalChargesSumInteger += TotalChargesInteger TotalNumberOfGroups += 1 AverageCharge = TotalChargesSumInteger / TotalNumberOfGroups 'Format and Display answers for the sale AmountDueTextBox.Text = AmountDue.ToString("C") 'Format and Display summary values TotalChargesTextBox.Text = NumberOfGroupsTextBox.Text= AverageChargeTextBox.Text = TotalChargeAllGroupsTextBox.Text= Catch ex As Exception End Try Catch ex As Exception Catch AnException As Exception ' Handle any other exception MessageBox.Show("Error: " & AnException.Message) End Try End Sub End Class

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote