Thank-you for the response.
1) Yes, the beam is accelerating. It will be part of a machine that will apply a maximum of 3.5 lbs-f upwards on both ends of the beam.
2) Thank-you
3) My intention was to design it to the maximum allowable stress and then simply double the dimensions of the beam to give myself a decent margin of safety. However I did not know about the 0.6*YS rule of thumb. That is very useful and I will use that in my calculations instead, and at the end will simply add on an extra 10% margin of safety.
4) the beam will be supported with 4 bolts in total (2 on each side). I will drill holes pointing in the direction of the x-axis. These holes will be on the ends of the beam. I simplified my problem because I intended to add enough of a margin of safety for it to be not as important.
I guess I should have been more clear in the goal.
The beam can be a maximum of 166 grams in weight, while providing enough strength to avoid yielding given the forces shown above.
If I use a square hollow structural tube of 1" x 1" x 1/16 ", it will weigh a total of 144 grams. I was just trying to see how much (if any) of a margin of safety a 1x1x1/16 aluminum 6063-T5 square hollow tube would provide.