+ Reply to Thread
Results 1 to 6 of 6

Using EXCEL to calculate forces in wedges

  1. #1
    Registered User
    Join Date
    05-04-2015
    Location
    Houston
    MS-Off Ver
    Pro 2010
    Posts
    2

    Using EXCEL to calculate forces in wedges

    Hello everyone,

    So I have a problem that I cannot seem to get solved in Excel. I am looking to set up a spreadsheet to allow me to input angles, friction coefficients, and weights of wedges to get the force required to move the objected wedge. Everything was going well until I tried solving for N2 and N1. Here is the formula I need to solve:

    μ = 0.25

    -700 - μN1 - μN2(.156) + N2(.988) = 0

    given it's a two variable function, we can solve for N1 with the variable N2 and substitute that equation in, so we are left with only N2.

    N1 = μN2(.988) + N2(.156) = 0.403N2

    So...

    We plug that back into the equation, using the cell N1 because it will be variable and change, we cannot simply input "μ*0.403N2"

    -700 - μ(N1) - μN2(.156) + N2(.988) = 0

    However, since N1 uses N2 in the formula, and same with N2 referencing N1, there seems to be a loop I cannot get around. On paper, I can solve for N2 in a heartbeat and finish the equation. Does anyone know how to get Excel to solve that last equation? Thank you!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Using EXCEL to calculate forces in wedges

    Hi,

    You appear to be saying you've got what is known in spreadsheet terminology as a 'circular reference'.

    Not being familiar with the data you're trying to model, the first question is does your calculation need to iterate through various values of a variable in order to hone in on a desired value or contraint, or once you've solved for N1 do you just need to plug that in and solve for N2.

    If the former then it's likely that Excel's 'Solver' Add-In may be give the solution. If the latter then probably a macro.

    Could you upload an example workbook which clearly shows which cells are variables, and manually add the results you expect to see for a few examples. Add a narrative explanation as to how you calculate the results with reference to specific cells.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    10-02-2013
    Location
    Harrisburg, PA
    MS-Off Ver
    Office 365 MSO (16.0.10730.20264) 32-bit
    Posts
    160

    Re: Using EXCEL to calculate forces in wedges

    Hey... I think you have some housekeeping issues with the math first...
    1) You dropped the -700
    2) You lost the "-" sign on the µN2(.156)

    LittleMath.jpg

    Now... You have 1 equation and 2 unknowns. The only way this can be done is with substitution... You pick the N2 value and you can calculate the N1 value.

    Setup a column with N2 values, use the derived formula above, and solve for n1 for each of the N2 values.

    Hope I understood what you were trying to do. If not, scan the statics problem and I will check it out.

    Signed... Lehigh BSME, '87

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,858

    Re: Using EXCEL to calculate forces in wedges

    Just looking at the problem as a mathematical problem, you have one equation in 2 unkowns. Usually, one would not expect a single, unique solution from such a problem. You indicate that you would find this quick and easy to solve on paper, which suggests to me that there is something about the problem that I am not seeing (or you are not communicating). Can you describe the steps you would take to solve this on paper, so I can understand how you are solving these problems?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    05-04-2015
    Location
    Houston
    MS-Off Ver
    Pro 2010
    Posts
    2

    Re: Using EXCEL to calculate forces in wedges

    Thank you for the replies.

    Here's the solved equation for the problem. You're right Steve, I forgot to include the (-), my mistake. The N1 is not solved for -700 in this scenario though.

    MrShorty, when I get to the "-700 - μ(N1) - μN2(.156) + N2(.988) = 0" part, I can simplify it down to "-700 -0.25(0.403N2 + 0.949N2 = 0"

    This simplifies to 0.848N2 = 700 when we solve for N2 (Last block of work in the attached photo).

    Richard, if I understand you correctly: the first. N1 will be 0.403N2 and we will use this to solve for N2 and later, N1. I have tried Solver, but I just applied the addon today and have virtually no experience with it.

    Thank you all again for the help, I've been struggling with trying to get this into Excel all morning.

    wedge.JPG

  6. #6
    Forum Contributor
    Join Date
    10-02-2013
    Location
    Harrisburg, PA
    MS-Off Ver
    Office 365 MSO (16.0.10730.20264) 32-bit
    Posts
    160

    Re: Using EXCEL to calculate forces in wedges

    Hi Ryan...
    I suggest you forget about excel and understand the Statics first. You must do the problem and understand it before you put it into excel
    1) This problem is Static = meaning no motion (no acceleration) So, 1st law, ΣF = MA... Static means A=0 therefore ΣF=Mx0 = 0
    2) I cannot see F1 and F2 in the image above.

    So, here is your homework for the forum. I would like to see your free-body diagrams for each block. Using your free-body diagrams, sum the forces in each the X and Y direction. Pick a sign convention and use it (housekeeping). Based on this, you will solve the equations simultaneously.

    Once you can do it by hand, then you will understand it and putting it into excel will be simple.

    Seems to me that you don't quite get the freebody diagram - this is where you get your equations - sum forces in each direction (x direction is 1 equation and y direction is the 2nd equation - this will be for each block. Which means you have 4 equations.

    Lehigh University.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Forces all text to Proper case
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2015, 08:27 PM
  2. textbox that forces user to name workbook
    By royaldex in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-28-2014, 01:10 PM
  3. Conditional Formatting Forces Ugly Font
    By Alcon in forum Excel General
    Replies: 4
    Last Post: 03-02-2012, 04:40 PM
  4. Adding a header forces new page
    By mealstrom in forum Excel General
    Replies: 10
    Last Post: 04-01-2011, 01:08 PM
  5. Drop Down forces calculate
    By demuro1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-12-2008, 06:18 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1