\$dy/dx = d/dx(1/x) = d/dx(x^1) = x^(11) = x^2 = 1/x^2\$
Derivative of 1/x & Tossing a coin problem
Carvia Tech  August 31, 2019  2 min read  23 views
What is the derivative of 1/x?
For finding derivative of 1/x, there is a condition if x is real number. In case x is real & x > 0 then,
\$dy/dx = d/dx(1/x) = d/dx(x^1) = x^(11) = x^2 = 1/x^2\$
Tossing a coin ten times resulted in 8 heads and 2 tails. How would you analyze whether a coin is fair? What is the pvalue?
Answer :
Analyzing is coin is fair by tossing coin only 10 times would not be a fair decision as precision would be two low. As if we go by hypothesis then we must reject the hypothesis that coin is fair if pvalue is too low.
Here, pvalue is low so coin is not fair.
You have 10 coins. You toss each coin 10 times (100 tosses in total) and observe results. Would you modify your approach to the the way you test the fairness of coins?
Since, we will be tossing coin atleast 100 times, we shall see if it obeys null hypothesis or not. Here null hypothesis will be coin is unbiased means probability of getting heads should be qual to probability of getting tails.
There are steps that we can follow to find if a coin is fair or biased. This is all based on probability so you may have guessed the process already.

Toss the coin 100 times.

If total number of heads is not equal to total number of tails in those X times, then coin could be biased since probability of getting head is not equal to probability of getting tail.

Though with X increasing, both probabilities shall approach closer to each other if coin is fair.
Top articles in this category:
 Google Data Scientist interview questions with answers
 Top 100 interview questions on Data Science & Machine Learning
 Python coding challenges for interviews
 Python Flask Interview Questions
 Write a program for Hailstone Sequence in Python
 Closest Points
 Sequence of Differences in Python
Find more on this topic:
Machine Learning
Data science, machine learning, python, R, big data, spark, the Jupyter notebook, and much more
Last updated 1 week ago
Recommended books for interview preparation:
Similar Posts
 Python  Get Google Analytics Data
 Installing PySpark with Jupyter notebook on Ubuntu 18.04 LTS
 Python send GMAIL with attachment
 Send rich text multimedia email in Python
 Blueprints in Flask API Development
 Singleton Design Pattern in Python
 SVM after LSTM deep learning model for text classification
 RuntimeError: get_session is not available when using TensorFlow 2.0
 Deploying Keras Model in Production with TensorFlow 2.0
 Python coding challenges for interviews
Provide email address to subscribe to this blog.