{"id":205,"date":"2017-09-13T11:13:05","date_gmt":"2017-09-13T14:13:05","guid":{"rendered":"http:\/\/www.professores.uff.br\/diomarcesarlobao\/?page_id=205"},"modified":"2017-09-13T11:13:05","modified_gmt":"2017-09-13T14:13:05","slug":"gendata-f","status":"publish","type":"page","link":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/gendata-f\/","title":{"rendered":"gendata.f"},"content":{"rendered":"<pre>      program gendata\r\n      implicit none\r\nc\r\nc   Create fake Experimental Data with random error within a given\r\nc   limit\r\nc\r\nc       John Mahaffy 2\/5\/95\r\nc\r\nc   Variables:\r\nc     t     -    time (sec) of measurement\r\nc     s     -    distance of fall measured (meters)\r\nc     np    -    number of data points\r\nc\r\nc   Parameters\r\nc     dt   -   time step between measurements\r\nc     v0   -   initial velocity\r\nc     s0   -   initial offset from zero point for distance measurements\r\nc     err  -   full range of permited measurements centered on the \"true\"\r\nc              location.\r\nc\r\n      integer np,i\r\n      parameter (np=20)\r\n      real t(np),s(np),v0,s0,err,dt,rand,st\r\n      parameter ( dt=2.\/np, s0=.0025, v0=.05, err=.005)\r\n      open(11,file='fall.data')\r\n      do 20 i=1,np\r\n      t(i)=i*dt\r\n      st=s0+t(i)*v0+.5*9.807*t(i)**2\r\n      s(i)=st+min(st,err)*(.5-rand())\r\nc\r\nc    NOTE THAT:    st-.5*err .le. s(i) .le. st+.5*err\r\nc\r\n      write(11,2000)t(i),s(i)\r\n 2000 format(1x,f7.4,4x,2f10.6)\r\n 20   continue\r\n      stop\r\n      end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>program gendata implicit none c c Create fake Experimental Data with random error within a given c limit c c John Mahaffy 2\/5\/95 c c Variables: c t &#8211; time (sec) of measurement c s &#8211; distance of fall measured (meters) c np &#8211; number of data points c c Parameters c dt &#8211; time [&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-205","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/205","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=205"}],"version-history":[{"count":1,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/205\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/205\/revisions\/206"}],"wp:attachment":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}