How to calculate for Probability -- Summarized

  • Thread starter yeyintkoko
  • Start date
  • Tags
    Probability
In summary, we can use Newton's method or a numerical polynomial root-solver to find the value of c in the equation given Pm and δ values. This can be done by rearranging the equation to solve for c, and then plugging in the given values to find the roots. Alternatively, we can use a program like Maple to solve the equation for us.
  • #1
yeyintkoko
16
0
1. Homework Statement
if δ=7.7 %; Pm=0.2349 and
if δ=30.8 %; Pm=0.9180.

2. Homework Equations

1.jpg


The Attempt at a Solution


We can calculate value of c if we know value of Pm and δ? Please help me.
Thanks You![/B]
 
Physics news on Phys.org
  • #2
yeyintkoko said:
1. Homework Statement
if δ=7.7 %; Pm=0.2349 and
if δ=30.8 %; Pm=0.9180.

2. Homework Equations

View attachment 113798

The Attempt at a Solution


We can calculate value of c if we know value of Pm and δ? Please help me.
Thanks You![/B]

If your formula is really correct as written, then for given ##P_m## and ##\delta## you just have a 12th-degree polynomial in the parameter ##c##, so you can find the value of ##c## using a numerical polynomial root-solver.
 
  • #3
Sure, you have an equation of form: ##y = \sum_{i=2}^{12}a_ix^i## and you want to solve for ##x## given ##\{a_i\}## and ##y##.
I'd use Newton-Raphson since I have a computer right in front of me.
 
  • #4
Thanks you Ray Vickson and Simon Bridge for your help
Newton Raphson's Formula,
$$ x_{n + 1} = x_n + \frac{f ( x_n )}{f ′ ( x_n)} $$

How i get f(x) from this form $$ y=Σ^{12}_{i=2} a_i x^i $$.
Please help me!
Thanks all
 
  • #5
f(x) is the equation you are trying to evaluate the roots for... that is, it is the equation that has to satisfy f(x)=0
Can you rearrange the equation you have so it looks like that?
 
  • Like
Likes yeyintkoko
  • #6
yeyintkoko said:
Thanks you Ray Vickson and Simon Bridge for your help
Newton Raphson's Formula,
$$ x_{n + 1} = x_n + \frac{f ( x_n )}{f ′ ( x_n)} $$

How i get f(x) from this form $$ y=Σ^{12}_{i=2} a_i x^i $$.
Please help me!
Thanks all

You have the wrong formula; it should be
$$x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)},$$
with a "-" sign on the right, not a "+" sign.

In your case, ##f(x) = \sum_{i=2}^{12} \delta^i (1-\delta)^{12-i} x^i - P_m## (writing ##x## instead of ##c##).
 
  • Like
Likes yeyintkoko
  • #7
Thank you very much for your kindness!
Yes, Simon Bridge. I can't rearrange equation. Now i got from Ray Vickson.
Now i will try to solve.
 
  • #8
I can't solve.
I take ## P_M=0.2349 ## and ## δ=7.7%=0.077.##

##f(x)= [(δ^2(1-δ)^{10}x^2)+(δ^3(1-δ)^{9}x^3)+(δ^4(1-δ)^{8}x^4)+(δ^5(1-δ)^{7}x^5)+(δ^6(1-δ)^{6}x^6)+(δ^7(1-δ)^{5}x^7)+(δ^8(1-δ)^{4}x^8)+(δ^9(1-δ)^{3}x^9)+(δ^{10}(1-δ)^{2}x^{10})+(δ^{11}(1-δ)^{1}x^{11})+(δ^{12}(1-δ)^{0}x^{12})]-0.2349;##

##f(x)= ((0.0027*(x^2))+((2.219e-4)*x^3)+((1.851e-5)*x^4)+((1.544e-6)*x^5)+((1.288e-7)*x^6)+((1.075e-8)*x^7)+((8.968e-10)*x^8)+((7.482e-11)*x^9)+((6.241e-12)*x^{10})+((5.207e-13)*x^{11})+((4.344e-14)*x^{12}))-0.2349;##

##f'(x)=(0.0053*(x))+((6.659e-4)*x^2)+((7.406e-5)*x^3)+((7.723e-6)*x^4)+((7.732e-7)*x^5)+((7.525e-8)*x^6)+((7.175e-9)*x^7)+((6.733e-10)*x^8)+((6.241e-11)*x^9)+((5.727e-12)*x^{10})+((5.212e-13)*x^{11});##

Please help me.
 
  • #9
yeyintkoko said:
I can't solve.
I take ## P_M=0.2349 ## and ## δ=7.7%=0.077.##

##f(x)= [(δ^2(1-δ)^{10}x^2)+(δ^3(1-δ)^{9}x^3)+(δ^4(1-δ)^{8}x^4)+(δ^5(1-δ)^{7}x^5)+(δ^6(1-δ)^{6}x^6)+(δ^7(1-δ)^{5}x^7)+(δ^8(1-δ)^{4}x^8)+(δ^9(1-δ)^{3}x^9)+(δ^{10}(1-δ)^{2}x^{10})+(δ^{11}(1-δ)^{1}x^{11})+(δ^{12}(1-δ)^{0}x^{12})]-0.2349;##

##f(x)= ((0.0027*(x^2))+((2.219e-4)*x^3)+((1.851e-5)*x^4)+((1.544e-6)*x^5)+((1.288e-7)*x^6)+((1.075e-8)*x^7)+((8.968e-10)*x^8)+((7.482e-11)*x^9)+((6.241e-12)*x^{10})+((5.207e-13)*x^{11})+((4.344e-14)*x^{12}))-0.2349;##
Entering your formula for ##f(x)## in Maple using ##P=.2349,~\delta = .077## and solving for roots ##x## gives ##6.411427145## and a negative root also. Entering ##P = .9180,~\delta =.308## gives ##2.850506026## plus a negative root. Does that help you?
 
Last edited:
  • Like
Likes yeyintkoko
  • #10
Really Thank you very much.
Finally i got. But need to long time insert. Look my solving in Maple
pf.jpg

If you have any idea, please advice me and help me. Thanks you all.
 
  • #11
It looks like you have figured out how to use Newton's method with Maple. Good job. Of course, if you are going to use Maple in the first place, you don't have to program Newton's method, you can just let Maple solve it for you in two steps like this:
> restart;
> f := (delta, P) -> sum(delta^i*(1-delta)^(12-i)*x^i, i = 2 .. 12) - P;
> fsolve(f(.077, .2349));

and you can put any other pair of numbers in that last step.
 
  • Like
Likes yeyintkoko
  • #12
Thanks you LCKurtz.
Thanks you all!
 

1. What is probability and why is it important to calculate?

Probability is the measure of the likelihood of an event occurring. It is important to calculate because it allows us to make informed decisions and predictions based on the likelihood of different outcomes.

2. What is the formula for calculating probability?

The formula for calculating probability is: P(event) = Number of favorable outcomes / Total number of possible outcomes.

3. How do I determine the total number of possible outcomes?

The total number of possible outcomes is determined by counting all the possible outcomes of an event. For example, if you are rolling a dice, the total number of possible outcomes is 6 (since there are 6 sides on a dice).

4. How do I calculate probability for multiple events?

To calculate probability for multiple events, you can use the formula: P(A and B) = P(A) x P(B). This is known as the multiplication rule for independent events.

5. Can probability be greater than 1 or less than 0?

No, probability cannot be greater than 1 or less than 0. It is always expressed as a decimal or a percentage between 0 and 1, representing the likelihood of an event occurring (0% being impossible and 100% being certain).

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
3K
  • Calculus and Beyond Homework Help
Replies
5
Views
3K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
13
Views
248
Back
Top