DEV Community

Cover image for "Day 47 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( P & C- 2)
Nitin-bhatt46
Nitin-bhatt46

Posted on

1

"Day 47 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( P & C- 2)

PERMUTATION AND COMBINATION - 2

Fundamental Principle of Counting. :-

  1. Fundamental Addition Principle of Counting. :-

If there are ‘m’ different ways of doing an even and ’n’ other different ways of doing same event ,m then the number of ways in which the event can be done is given by ’m+n’ different ways.

( Only one event is there )

Model - 1

There are two houses -house 1 and house 2, From house 1 to house 2 we have three ways to travel by train, with 4 ways to travel by bus and 2 ways by air.

Find total ways

The total ways to go from house 1 to house 2 = 3+4+2 = 9

In this case one event takes place only. ( only one event is there ).
This previous decision does not depend on others.

Model - 2

There are four boxes 1,2,3,& 4
Boxes has
1 - 5 different chocolate
2 - 4 different chocolate
3 - 3 different chocolate
4 - 2 different chocolate
IN how many ways a boy/girl can eat one chocolate.

Total possibility = 14
Because only one event takes place out of one event.

🙏 Thank you all for your time and support! 🙏
Don't forget to catch me daily at 6:30 Pm (Monday to Friday)for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! 💻✨

API Trace View

Struggling with slow API calls? 👀

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay