Results 1 to 12 of 12

Thread: Rearrange equation[resolved]

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Rearrange equation[resolved]

    Ok my maths skills are ok, but i stuggle with re-arranging formulas.

    = 4 πr – (10000r / r(cubed))


    I'm trying to re-arrange that to get a value of r, π = pi().

    If anyone could show me the way to do it step by step i would appriciate it.

    Thanks
    Last edited by Pino; Apr 18th, 2005 at 09:15 AM.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Rearrange equation

    Well, lets see how much I can correctly remember my algebra.

    Lets put it into complete formula syntax.

    0 = 4(pi)r - (10000r / r^3)

    Now since the equation is balanced properly we need to shift the variables to one side leaving one on one side for
    solving its value.

    So far you probably already know this.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Rearrange equation

    Next we need to simplify so we can solve for r.

    0 = 4(pi)r - (10000r / r^3)
    becomes

    0 = 4(3.1415)r - (10000 / r^3)
    becomes

    0 = 12.566r - (10000 / r^3)
    becomes

    0 = 12.566r - (10000)
    ...................-------
    .....................r^3

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Rearrange equation

    Next if I still am remembering correctly (someone correct me if I am wrong) we can do like so...

    Move half to other side changing its sign
    (10000)...12.566r
    ------- = -------
    ..r^3..........1

    Then cancel out one r on each side
    (10000)...12.566
    ------- = ------
    ..r^2..........1

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Rearrange equation

    Then we can cross-multiply to remove the division.

    10000 = 12.566r^2

    Then divide by 12.566 on each side to isolate the r so we can colve it.
    10000....r^2
    ------ = ----
    12.566.....1

    Which then gives us

    795.7981~ = r^2

    Then we can take the square root of each side.
    28.209~ = r

    Then switch to make it the proper order.
    r = 28.209~

    w00t w00t, I remembered
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: Rearrange equation

    RobDog888, you missed one "r" in the second line!
    And the cancleing out of r in your third post was not correct, you have to do the same on each side of the =!
    0 = 4(pi)r - (10000r / r^3)
    delete one r in the second part
    0 = 4(pi)r - (10000 / r^2)
    add the second part to shift it to the other side
    (10000 / r^2)= 4(pi)r
    multiply by r^2
    1000=4(pi)r^3
    divide by 4(pi)
    1000/(4(pi))=r^3
    which is
    79.5774715....=r^3
    and now take the cubic root, and you have it:
    r=4,301270069.........
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  7. #7
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Re: Rearrange equation

    remember....dividing by r can be dangerous if r is zero
    sql_lall

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Rearrange equation

    Doh!!!

    opus, how could you cancel out r and r^3 from just one element of the equation and not reduce the other element?

    Told you "lets see how much I can correctly remember my algebra"
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: Rearrange equation[resolved]

    The part of the equation was (1000*r)/r^3, if you divide just this part by r, the result will not change, so it comes to 1000/r^2. Sorry but I don't have the correct wording for that in english. It's the same as reducing (2*3)/(3*3) to 2/3.


    and for sql_lall: yes never ever forget the dammed division by Zero, but I don't put it into code, I just gave the conversion of the formula.
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Rearrange equation[resolved]

    Thanks for the refresher opus. Its been more years then I care to say but I was actually surprised at the
    amount I remembered.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    WGTN, New Zealand
    Posts
    338

    Re: Rearrange equation[resolved]

    You lot need to lay off the Pepsi and espressos and get a bit of sleep I think.

    0 = 4(pi)r - (10000r / r3)

    Remove common factor:
    0 = 4(pi)r - (10000 / r2)

    Rearrage:
    4(pi)r = 10000 / r2

    Multiply both sides by r2:
    4(pi)r3 = 10000

    Divide both sides by 4(pi):
    r3 = 10000 / 4(pi)

    Cube root both sides:
    r = (10000 / 4(pi))1/3

    r is approximately 9.2668054481521281461060217862479

    Opus, what happened when 10000 became 1000? Typo?

  12. #12
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: Rearrange equation[resolved]

    Oh, well .........
    Maybe it's the age.
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width