Next: Misc
Up: Useful formulas
Previous: Useful formulas
Contents
cantilever: mode shape
y = cos(kx) - cosh(kx) - sin(kx) - sinh(kx),where
k is found from
cos(kL)*cosh(kL) = - 1 and L is the length of the
beam. First five values: kL = 1.875, 4.694, 7.855, 10.996.
Harris+Piersol pg 7.17
$username="comment";
$password="12345aa";
$database="commentsdb1";
$link = mysql_connect('mechanicalvibrationc.domaincommysql.com', 'comments', $password);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
@mysql_select_db($database) or die( "Unable to select database");
$query = "SELECT * FROM `comments` WHERE URL='$URL'";
#echo "query is " . $query;
$result = mysql_query($query);
mysql_close();
while($row = mysql_fetch_array($result)) {
echo "User " . $row['Name'] . " Posted on " . $row['DateTime'];
echo "
";
echo $row['Comment'];
echo "
";
}
echo "
";
?>
Leave a comment on this page:
This work by Daniel Kiracofe (daniel dot kiracofe at gmail dot com)
is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.