Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I'm having some problems solving a quadratic equation. It's telling me one of my values should be a scalar, but I had units in functions before. I've attached the problem. Basically, I want to get my positive root (should be in length units) out of this, which represent depth to the netural axis of my section.
Thanks
Solved! Go to Solution.
I figured it out. Should have been A.c(c.s) in the function definition.
I figured it out. Should have been A.c(c.s) in the function definition.
Noel,
For completeness I would suggest uploading the worksheet with the solution in.
Mike