Find the minimise the cost of given rod

Assignment Help Engineering Mathematics
Reference no: EM131468045

Question: There is a rod of length N lying on x-axis with its left end at x = 0 and right end at x = N. Now, there are M weak points on this rod denoted by positive integer values(all less than N) A1, A2, ..., AM. You have to cut rod at all these weak points. You can perform these cuts in any order. After a cut, rod gets divided into two smaller sub-rods. Cost of making a cut is the length of the sub-rod in which you are making a cut. Your aim is to minimise this cost. Return an array denoting the sequence in which you will make cuts. If two different sequences of cuts give same cost, return the lexicographically smallest.

Reference no: EM131468045

Questions Cloud

Why is the crowd a problem according to kierkegaard : Why is the 'crowd' a problem according to Kierkegaard? Why is the 'seriousness' of the individual opposed to the 'crowd'
Create a prospecting strategy : You have been hired as a consultant by a new company to develop a strategic prospecting strategy. Create a prospecting strategy.
What was the lawsuit and who filed the lawsuit : What was the lawsuit and who filed the lawsuit? What was the decision of the court? Do you think the statute is fair and lawful for today?
Use a circular list to implement the josephus problem : Use a circular list to implement the Josephus Problem. In the Josephus Problem, there is originally a circle of people numbered from one to n
Find the minimise the cost of given rod : There is a rod of length N lying on x-axis with its left end at x = 0 and right end at x = N. Now, there are M weak points on this rod denoted by positive.
Describe some of the threats to your personal security : Describe some of the threats to your personal security. Describe what you can do to better protect your personal security.
Destroyed by an earthquake : Your manufacturing facility in Mexico has been destroyed by an earthquake. what tax implications must be considered regarding the potential move to China?
Find the critical path : Find the critical path.What is the project completion time?
What are the struggles managers would go through dealing : What are the struggles managers would go through dealing with these simulations and how did you see them through the metrics.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd