{"id":37491,"date":"2017-10-03T08:08:12","date_gmt":"2017-10-03T13:08:12","guid":{"rendered":"https:\/\/kenscourses.com\/tc1017fall2017\/?p=37491"},"modified":"2017-10-03T08:08:12","modified_gmt":"2017-10-03T13:08:12","slug":"wsq10-babylonian-method-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc1017fall2017\/instructor\/wsq10-babylonian-method-2\/","title":{"rendered":"WSQ10 \u2013 Babylonian Method"},"content":{"rendered":"<header class=\"entry-header\">\n<div class=\"post-thumbnail\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" src=\"https:\/\/kenscourses.com\/tc1017winter2017\/wp-content\/uploads\/2017\/03\/4156702926_cdcddb2c88_z.jpg\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" srcset=\"https:\/\/kenscourses.com\/tc1017winter2017\/wp-content\/uploads\/2017\/03\/4156702926_cdcddb2c88_z.jpg 640w, https:\/\/kenscourses.com\/tc1017winter2017\/wp-content\/uploads\/2017\/03\/4156702926_cdcddb2c88_z-300x200.jpg 300w, https:\/\/kenscourses.com\/tc1017winter2017\/wp-content\/uploads\/2017\/03\/4156702926_cdcddb2c88_z-162x108.jpg 162w\" alt=\"Babylonian Fresco flickr photo by Brimley shared under a Creative Commons (BY-NC) license\" width=\"640\" height=\"426\" \/><\/div>\n<\/header>\n<div class=\"entry-content\">\n<h2>Background<\/h2>\n<p>In this assignment you will write a function to calculate the square root of a number using the Babylonian method. You can search for that method, it will be easy to find.<\/p>\n<h2>What to Do<\/h2>\n<p>The function should receive a number and return floating point number. Obviously you should test your function, so create a main program that asks the user a value, calculates the square root and displays that.<\/p>\n<h2>What to Submit<\/h2>\n<p>As usual, create a blog post explaining what you did, where you found resources (books, videos, web pages, friends) to help you solve this. Remember to put the tag #WSQ10 on your post so our blog hub picks that up.<\/p>\n<p>You should include your code as a link to GitHub.<\/p>\n<p>And of course, leave any questions here as well as asking those questions in our Facebook group so we all see your question posted there.<\/p>\n<h2>Feature Image Credit<\/h2>\n<figure id=\"attachment_38152\" class=\"wp-caption aligncenter\"><figcaption class=\"wp-caption-text\"><a title=\"Babylonian Fresco\" href=\"https:\/\/flickr.com\/photos\/brimley\/4156702926\">Babylonian Fresco<\/a>\u00a0flickr photo by\u00a0<a href=\"https:\/\/flickr.com\/people\/brimley\">Brimley<\/a>\u00a0shared under a\u00a0<a href=\"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/\">Creative Commons (BY-NC) license<\/a><\/figcaption><\/figure>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Background In this assignment you will write a function to calculate the square root of a number using the Babylonian method. You can search for that method, it will be easy to find. What to Do The function should receive a number and return floating point number. Obviously you should test your function, so create &hellip; <a href=\"https:\/\/kenscourses.com\/tc1017fall2017\/instructor\/wsq10-babylonian-method-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WSQ10 \u2013 Babylonian Method<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":37500,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[17,24],"tags":[],"class_list":["post-37491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-instructor","category-wsq"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p92Td0-9KH","jetpack_featured_media_url":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-content\/uploads\/2017\/10\/4156702926_cdcddb2c88_z.jpg","_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/posts\/37491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/comments?post=37491"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/posts\/37491\/revisions"}],"predecessor-version":[{"id":37501,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/posts\/37491\/revisions\/37501"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/media\/37500"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/media?parent=37491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/categories?post=37491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1017fall2017\/wp-json\/wp\/v2\/tags?post=37491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}