Forces on a Warren Truss - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP Prime Software Library (/forum-15.html) +--- Thread: Forces on a Warren Truss (/thread-3880.html) |
Forces on a Warren Truss - Eddie W. Shore - 05-17-2015 06:24 PM Link: http://edspi31415.blogspot.com/2015/05/hp-prime-casio-prizm-warren-trusses.html The following program, WTRUSS, calculates the upward forces of the truss’s pin and roller. The program allows for any number of beams (minimum of 1), however, all the beams have the same mass. The lengths between the pin, the beams, and the roller can vary. Input: h = height of the truss l1, l2, l3, etc… = the lengths between each component n = number of beams m = mass of each beam F = right-bound force from the truss Output: θ1, θ2, θ3, etc…. = angle from diagonal to peak, measured in degrees E = upward force of the roller B = upward force of the pin WTRUSS works in two units sets: U.S. (feet, pounds, feet-pounds) and SI (meters, kilograms, Newtons). Code: EXPORT WTRUSS() Source: Goswami, Indranil Ph. D. P.E. “All In One Civil Engineering PE Breadth and Depth” 2nd Edition McGraw Hill: New York. 2012. eBook. RE: Forces on a Warren Truss - akmon - 05-17-2015 07:06 PM It´s a very simple program, but this is the very first structural program for HP Prime. Congratulations, and thank you for the code. Perhaps, in a couple of years we´ll see complex programs like FEM or Vigag. |