Derivate of Most Maths
Prompt Engineering Has Come A Long Way ... Hasn't It?
In the begining there was counting numbers
and there was space.
-
Can we have a placeholder to replace space?
Then there waswhole or natural numbers
-
If we should go one way, can we go the opposite way?
Then there wasintegers
-
Can we share your apple? (Adam to Eve 😀)
Then there wasrational numbers
-
What do you think the diagonal of a square will be?
Well, that's irrational!irrational numbers
-
What will happen when we square root a negative number?
Hm, That is not a real number!
Can it exist as an imaginary number? 🤔
\( i = \sqrt-1\)imaginary numbers
\(i^2 = -1\) -
Can we add an
imaginary number
to areal number
?
Woh! Take your time.
ⓘ It's impossible till it's possible.
Then there was complex numbers
There are many other methods derived from \(QnA\)s and fine-tuning.
- -----> Can it go the other way?
- -----> Can I use it with something I know?
Say, we wanted to know the average volume of sound in a room filled with people
talking at different volumes.
where: \(\mu\) = Average, \(\sum\) = Sum of volumes, \(n\) = Count(\(n\underline{o}\)) of volumes
7.1. How far on average, are all values from the middle?
7.2. How about the reciprocal of the volumes... Can we have an average for that?
Sure. We can even have the reciprocal of the average 😀. Harmonic Mean
This method is good for handling big outliers.
7.3. How about when we want to compare different properties? Geometric Mean
Geometric Mean
can also be used to calculate mean of different large values.
In example 2,
we confirm the saying 'A child is half way between a Cell and the Earth'.
7.4. We can also find the rate of change or average or mean or slope between two points, \(\Delta y \over \Delta x\)
as well as form a triangle from the change...given the \(x\) and \(y\) values,
and calculate the hypotenuse, using pythagoras theorem. We can then perform
trigonometry operations on it. Like, finding the angle \(\theta\) . You get the idea.
8.1. What is the probability that search engines can read your mind? Think about it.
-----> event can be one or more outcomes
-----> the sum of probability of all possible outcomes = 1
where: \(P(A)\) = event(s), \(P(\hat A)\) = complement of event(s) or unwanted possible outcome(s)
- -----> What is the probability of creating random words?
(Words that can at least be pronounced. Let's start with (4) letter words.) - -----> How about we say, the word should have at least one vowel? 🤔
- -----> Or what's the frequency of letters that follow another letter?
-----> when there are \(M\) ways to do something and \(N\) ways to do another,
then there are \(M * N\) ways to do both
8.2. Probability of (2) Events A and B, where both are independent, is
8.3. Probability of (2) Events, where Event B is dependant on Event A,
will be (Pr of eventA) * (Pr of eventB given eventA)
From this, we can derive,
and
8.4. Probability of A or B, gives us
or when there's a mutually inclusive possibility,
8.5. Can we find probability when we know certain other probabilities?
8.6. How about the probability of any combination?
-----> combination of (2) or more things, regardless of the order of combination = Combination
-----> combination of (2) or more things, with regard to order of combination = Permutation
- Combination of a pin to unlock your phone is permutation .
- Combination of white and yellow socks is combination . White and yellow socks?
Can you think of a better example? Something along those lines.
-----> combination and permutation can both have repeating values or not .
- Terms
- \(!\) is factorial of the number
- n is no. of things to choose from
- r we choose r of them
Permutation Formulae:
with repetition:
without repetition:
Combination Formulae:
with repetition:
without repetition:
Do you remember \({change\space in\space Y \over change\space in\space X} = {dy \over dx}\) formula?
- TLDR:
- Exploration of questions and answers (QnA), refining and fine-tuning.