nik.cse2005
BAN USER
- 0of 0 votes
AnswersA mechanical engineer is writing a design specification for two gears to transmit motion between two parts, A and B, in a machine she is designing.
- nik.cse2005 in United States
the distance between A and B is equal to D.
There are n types of gears, Agear type of i has a radius Rj and cost Cj.
The two gears specified, i and j , must have Ri+Rj >= D, inorder for there to be a way of placing them so that they touch and work togeather. The objective is
to find the pair which costs the least.
You need to produce a design table that gives the most suitable match for every gear type in the list. For every gear type 'i', you need to consider its description (Ri,Ci)
and list the gear type 'j' to pair with 'i' in table position T[i]. The best map might be the same type(Ti=i). if there are multiple solutions with the same cost,
choose the gear with the largest radius.If both the cost and radius you need are found in more than one gear type, choose the type with the smallest index j.
If no radius can be found that allow the distance D to be covered, table should contain 0.
Input
n D
R1 R2 ... Rn
C1 C2 ... Cn
Output
T1 T2 ... Tn| Report Duplicate | Flag | PURGE
Myntra SDE-2 Arrays
RepWhyable is an agile team of Software Specialists with vast experience across multiple languages.We will help you to define ...
RepLove is the spice of everyone’s life. Love adds charm and excitement to the monotonous and boring life. If ...
RepTop Tiers provides latest english premier league articles and news to keep you up to date. Visit our website today ...
Repour goal is to help individuals companies and organizations of all kinds to communicate with their clients customer and employees ...
RepHire high professional child development center in Charlotte. Pal-A-Roo’s Child Development Center is a family-owned child care facility offering ...
RepOur mission is to provide informative and Self Improvement advice to help people live their lives better set definite goals ...
RepIf you want to attract someone then astrologer kumar can help you. Astrologer kumar is specialized in offering kamdev vashikaran ...
RepSpent 2001-2004 selling UFOs for the government. Have some experience with Internet Marketing Services New York. Set new standards for ...
Repannehbell8, Quality Assurance Engineer at Globaltech Research
Build and maintain relationships with convention vendors. Resolve issues throughout meeting event timelines.Plan room layouts and event programs, schedule ...
Rep
Open Chat in New Window