{"id":31231,"date":"2016-02-13T12:59:06","date_gmt":"2016-02-13T18:59:06","guid":{"rendered":"http:\/\/dariomagana10.wordpress.com\/?p=263"},"modified":"2016-02-13T13:53:25","modified_gmt":"2016-02-13T19:53:25","slug":"quiz03finally-video","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/quiz03finally-video\/","title":{"rendered":"#Quiz03(finally!) VIDEO"},"content":{"rendered":"<p>This was the most difficult program i\u00b4ve done since i started coding. The first one was extremely easy but the fibonacci\u00b4s got me like<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-274\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/3389fbc243d3c568700dfda9501b9b80.jpg\" alt=\"24\"   \/><\/p>\n<p>Well lets check the codes <a href=\"https:\/\/github.com\/dariomagana10\/programs.cpp\/tree\/master\">here\u00b4re both of my codes<\/a><\/p>\n<h2>1st Program: Create a code that calculates the distance between two point in the cartesian plane.<\/h2>\n<p>Easy one, the user must type the coordenates of the two points(giving the x and y values of both of them) and using the <a href=\"http:\/\/k37.kn3.net\/taringa\/1\/6\/6\/0\/9\/6\/71\/jamesblunderland\/740.gif?8302\">pythagorean theorem\u00a0<\/a>getting the addition of the squares of the differences between x1-x2 and y1-y2. Well here\u00b4s a ss of the code and how it works<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-286\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/72ed5fa3445b5bbb73222a28a0b9114e.jpg\" alt=\"dist\"   \/><\/p>\n<p>Dont forget to add the cmath library to use the square root.<\/p>\n<h2>2nd Program Fibonacci\u00b4s(wth)<\/h2>\n<p>Now we\u00b4re talking about serious stuff, doing this code was extremely difficult i was breaking my head because i was trying doing it with loops(and there must be a freaking way and later ill figure it out!) then i found the formula<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-294 aligncenter\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/7c3875500ef6550bd9eb4b974019ced6.jpg#038;h=133\" alt=\"image62\" width=\"453\" height=\"133\" \/><\/p>\n<p>Anddd this helped a lot, to understand better the formula and the proccess. Friday in class me and <a href=\"https:\/\/alexhfoo.wordpress.com\/\">AlexFoo<\/a>\u00a0found a website that explain the fibonacci(and the code) incredibly well. <a href=\"http:\/\/code.runnable.com\/UqfN-4zVBhVwAAH9\/solving-the-fibonacci-number-sequence-using-recursion-in-c%2B%2B-for-recursive\">Here\u00b4s the page m8s<\/a><\/p>\n<p>Let\u00b4s check a quick video made by me, explaining the code and some of the fibonaccis uses.<\/p>\n<div class=\"jetpack-video-wrapper\"><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text\/html' width='775' height='466' src='https:\/\/www.youtube.com\/embed\/JTHGiORpBEo?version=3&#038;rel=1&#038;%23038;fs=1&#038;%23038;autohide=2&#038;%23038;showsearch=0&#038;%23038;showinfo=1&#038;%23038;iv_load_policy=1&#038;%23038;wmode=transparent' frameborder='0' allowfullscreen='true'><\/iframe><\/span><\/div>\n<p>Hope that the video may helped you a little bit, if you have a doubt don\u00b4t hesitate to contact me in Fb (Dar\u00edo Maga\u00f1a) Twitter @dariosneijder or in my cellphone 3521252322.<\/p>\n<p>I want to take advantage of this post letting you here my <a href=\"https:\/\/www.tumblr.com\/blog\/dariomagana\">Tumblr account<\/a>, i\u00b4m always posting interesting stuff about everything and some amazing pics and thoughts just like this one:<\/p>\n<div class=\"embed-tumblr\">\n<div class=\"tumblr-post\" data-href=\"https:\/\/embed.tumblr.com\/embed\/post\/9PT1mznPaDsk9ARIT2AvVQ\/138891687870\" data-did=\"da39a3ee5e6b4b0d3255bfef95601890afd80709\"  ><a href=\"http:\/\/dariomagana.tumblr.com\/post\/138891687870\">http:\/\/dariomagana.tumblr.com\/post\/138891687870<\/a><\/div>\n<p><script async src=\"https:\/\/secure.assets.tumblr.com\/post.js\"><\/script><\/div>\n<p>&nbsp;<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/dariomagana10.wordpress.com\/263\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/11d4217813730ac180347b03bb29a0ef.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/9734c5e87dbcfd1351ca260a0d763fc5.jpg#038;blog=105221128&#038;%23038;post=263&#038;%23038;subd=dariomagana10&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was the most difficult program i\u00b4ve done since i started coding. The first one was extremely easy but the fibonacci\u00b4s got me like Well lets check the codes here\u00b4re both of my codes 1st Program: Create a code that calculates the distance between two point in the cartesian plane. Easy one, the user must &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/quiz03finally-video\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">#Quiz03(finally!) VIDEO<\/span><\/a><\/p>\n","protected":false},"author":14,"featured_media":31233,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[177,94,178,20],"class_list":["post-31231","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-cismymotto","tag-nowiknowwhatimdoing","tag-personalstuff","tag-quiz"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=31231"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31231\/revisions"}],"predecessor-version":[{"id":36107,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31231\/revisions\/36107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/31233"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=31231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=31231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=31231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}