How to subject the PR2 from a given equation?

  • Thread starter Thread starter PA3040
  • Start date Start date
  • Tags Tags
    Element Formula
AI Thread Summary
To isolate "PR2" from the equation Tpwm = [(PR2) + 1] • 4 • TOSC • N, the first step involves dividing both sides by 4, TOSC, and N, leading to the equation Tpwm / (4 * TOSC * N) = PR2 + 1. Next, subtracting 1 from both sides results in PR2 = [Tpwm / (4 * TOSC * N)] - 1. This process clarifies the necessary algebraic steps to solve for PR2. The final equation accurately expresses PR2 in terms of Tpwm, TOSC, and N.
PA3040
Messages
10
Reaction score
0

Homework Statement


Subject the "PR2" from the following equation

Homework Equations


Tpwm = [(PR2) + 1] • 4 • TOSC • N

• = multiply

The Attempt at a Solution



Actually I am not a student
As well as I know how the equation after subject the "PR2"... PR2 = [Fosc / (Fpwm * 4 * N )] - 1
where( Tosc = 1 / Fosc ) as well as Tpwm = 1/ Fpwm

I found above equation when I study the micro controller programming myself
I can not remember now maths
so I need to subject the "PR2" from above equation
so I need the all every steps and rule I need to follow for above matter

Please help
Thanks in advance
 
Last edited:
Physics news on Phys.org
If the • are multiply, then you can just divide by each term that is being multiplied and carry across the 1 to the next side.

Basically, divide both sides of the equation by the N, 4 and so on. Then subtract 1 from both sides of the equation.
 
  • Like
Likes 1 person
rock.freak667 said:
If the • are multiply, then you can just divide by each term that is being multiplied and carry across the 1 to the next side.

Basically, divide both sides of the equation by the N, 4 and so on. Then subtract 1 from both sides of the equation.

Can you please show me a step

Thanks in advance
 
ok

Step1 - Tpwm / 4 * TOSC * N = (PR2) - 1 ..; Is this correct?
Step2 - (Tpwm - PR2) / 4 * TOSC * N = -1 ..; Is this correct?

Please help
 
PA3040 said:
ok

Step1 - Tpwm / 4 * TOSC * N = (PR2) - 1 ..; Is this correct?
Step2 - (Tpwm - PR2) / 4 * TOSC * N = -1 ..; Is this correct?

Please help

Step 1 is somewhat correct, your equation should be


\frac{Tpwm}{4*TOSC*N} = PR2 +1

Now if you subtract 1 from both sides what do you get on the left side? What is left on the right side?
 
rock.freak667 said:
Step 1 is somewhat correct, your equation should be \frac{Tpwm}{4*TOSC*N} = PR2 +1

Now if you subtract 1 from both sides what do you get on the left side? What is left on the right side?

Next = [ Tpwm / ( 4 * TOSC * N ) ] - 1 = PR2 + 1 - 1

now [ Tpwm / ( 4 * TOSC * N ) ] - 1 = PR2 writr?
 
PA3040 said:
Next = [ Tpwm / ( 4 * TOSC * N ) ] - 1 = PR2 + 1 - 1

now [ Tpwm / ( 4 * TOSC * N ) ] - 1 = PR2 writr?

That should be correct now.
 
  • Like
Likes 1 person
Back
Top