Math, asked by snehalanandraoshinde, 7 months ago

A set of mugs consists of 5 plastic mugs each of a different design and 2 glass mugs each
of a different design. In how many ways can these 7 mugs be arranged in a row if the glass mugs are
separated from each other?

Answers

Answered by sarveshkumarkumarsar
3

Answer:

A set of mugs consists of

Answered by Anonymous
1

Answer : 3600

so 2 glass mugs can be arranged in 2 ways

5 mugs can be arranged in 5! ways ie 120 ways

so total is 240 ways

NOW IMP

so glass mugs  can be arranged in

*-Glass mugs

#-plastic mugs

Imagine as for loop from 0 to length-2  for( i=0;i<n-1;i++) and nested loop from i+1 to length-1 for(j=i+1;j<n;j++)

So 2-*##*### , *##*###, *###*##, *####*#, *#####* in such we can get 5 times

3-#*#*###, #*##*##,#*###*#,#*####* and sooo on

so in 15 ways ie first 5 then 4 then 3 then 2 then 1

so final ans will be 240*15

plz mark me as brainliest

Similar questions