{"id":537,"date":"2017-09-14T13:29:48","date_gmt":"2017-09-14T16:29:48","guid":{"rendered":"http:\/\/www.professores.uff.br\/diomarcesarlobao\/?page_id=537"},"modified":"2017-09-14T13:29:48","modified_gmt":"2017-09-14T16:29:48","slug":"rhs_smd-m","status":"publish","type":"page","link":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/rhs_smd-m\/","title":{"rendered":"rhs_smd.m"},"content":{"rendered":"<pre>function f = rhs_smd(t,x,xd);\r\n% RHS of ODE for forced SDOF spring-mass-damper system\r\n\r\nm = 500;         % mass\r\nc =  200;         % damping coefficient\r\nk = 750;        % spring constant\r\nomega = 5;       % forcing frequency (rad\/s)\r\nF0 = 2000;       % forcing magnitude\r\n\r\n% use this for testing\r\nif (t &gt; 2) &amp; (t &lt; 15)\r\n  F = F0;\r\nelse\r\n  F = 0;\r\nend\r\n\r\n\r\n%F = F0*sin(omega*t);  % forcing function\r\n\r\nf = (F - c*xd - k*x)\/m;\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>function f = rhs_smd(t,x,xd); % RHS of ODE for forced SDOF spring-mass-damper system m = 500; % mass c = 200; % damping coefficient k = 750; % spring constant omega = 5; % forcing frequency (rad\/s) F0 = 2000; % forcing magnitude % use this for testing if (t &gt; 2) &amp; (t &lt; [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[],"tags":[],"class_list":["post-537","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/comments?post=537"}],"version-history":[{"count":1,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/537\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/537\/revisions\/538"}],"wp:attachment":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/media?parent=537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/categories?post=537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/tags?post=537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}