How to modify a power function?

  • Thread starter Thread starter SHRock
  • Start date Start date
  • Tags Tags
    Function Power
SHRock
Messages
8
Reaction score
0

Homework Statement



Let's say I have 2 ordered pairs. I want to find the the a and b in the function. How would I do that?

Homework Equations


y=ax^b


The Attempt at a Solution


y/a=x^b
b=log(y/a)/logx

But now I have 2 variables. How would I find those variables?
 
Physics news on Phys.org
SHRock said:

Homework Statement



Let's say I have 2 ordered pairs. I want to find the the a and b in the function. How would I do that?

Homework Equations


y=ax^b


The Attempt at a Solution


y/a=x^b
b=log(y/a)/logx

But now I have 2 variables. How would I find those variables?

Substitute the points you have into your equation. Then you will have two equations in the two unknowns, a and b.
 
Mark44 said:
Substitute the points you have into your equation. Then you will have two equations in the two unknowns, a and b.

Yeah but the problem is I don't know how to reduce that.

Let's say I pick 2 points

(35,0.01)
(4.5,30)

so the functions will be

b=log(0.01/a)/log 35

b=log(30/a)log4.5
 
Let's go back to the original equation, y = axb

Using your points, we have
.01 = a * 35b
30 = a* 4.5b

Dividing the first equation by the second, we have
.01/30 = 35b/4.5b = (35/4.5)b

Can you solve that for b? Once you get b, then use either equation to find a.
 
Mark44 said:
Let's go back to the original equation, y = axb

Using your points, we have
.01 = a * 35b
30 = a* 4.5b

Dividing the first equation by the second, we have
.01/30 = 35b/4.5b = (35/4.5)b

Can you solve that for b? Once you get b, then use either equation to find a.

Oh ok thanks I get it. Now another little questions. Let's say if I do this for multiple ordered pairs. And a and b aren't always the same, but pretty close. Should get the average of those and plug it in as b? Because this is like a lab and error will occur.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top