Discovering Computers ©2018: Digital Technology, Data, and Devices
Discovering Computers ©2018: Digital Technology, Data, and Devices
1st Edition
ISBN: 9781337285100
Author: Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Jennifer T. Campbell, Mark Frydenberg
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 2, Problem 18SG

Explanation of Solution

Web address:

  • Web address is used to specify the address of the webpage.
  • HTTP protocol is used to specify the address of the webpage.
  • It contains access control protocol, image, domain name and other documents, present in the internet...

Blurred answer
Students have asked these similar questions
Write a C program to calculate the checksum for a given line of an IntelHex file. To get full points, you must be able to explain to the instructor the individual parts of the IntelHex line (see below), as well as any part of your code. Definition:The checksum is calculated as the two's complement of the sum of the individual bytes from the beginning of the line to the checksum. Example:If you enter this string: :10010000214601360121470136007EFE09D21901XX You should get a checksum of 40 instead of XX. Demonstrate the completion of the task by calculating checksums, for example, for the following strings: :100010000C9445000C9445000C9445000C944500xx:100020000C9445000C9445000C9445000C944500xx:100030000C9445000C9445000C9445000C944500xx:100040000C9445000C9445000C9445000C944500xx
Write a program to calculate the function sin(x) or cos(x) using a Taylor series expansion around the point 0. In other words, you will program the sine or cosine function yourself, without using any existing solution. You can enter the angles in degrees or radians. The program must work for any input, e.g. -4500° or +8649°. The function will have two arguments: float sinus(float radians, float epsilon); For your own implementation, use one of the following relations (you only need to program either sine or cosine, you don't need both): Tip 1:  Of course, you cannot calculate the sum of an infinite series indefinitely. You can see (if not, look in the program) that the terms keep getting smaller, so there will definitely be a situation where adding another term will not change the result in any way (see problem 1.3 – machine epsilon). However, you can end the calculation even earlier – when the result changes by less than epsilon (a pre-specified, sufficiently small number, e.g.…
Write a C program that finds and prints the machine epsilon for the float and double data types. Also print the values ​​of __FLT_EPSILON__ and __DBL_EPSILON__ defined in float.h. Reminder – the phrase data type tells how the compiler “understands” the ones and zeros you are working with. This identifies whether you are working with integers, letters, real numbers, and so on. Another definition:Machine epsilon is the "distance" between the number 1 and its immediate right neighbor. We work in binary (decimal is in parentheses): 1 + 0,1   = 1,1                    (1 + 1/2 = 1,5) 1 + 0,01  = 1,01                (1 + 1/4 = 1,25) 1 + 0,001 = 1,001            (1 + 1/8 = 1,125) then, due to the limited accuracy of the computer at a certain number of decimal places, a situation arises where 1 + 0.0…001 = 1 (instead of the correct 1.0…001). Then the previous number 0.0…01 is called the machine epsilon . It is obvious that its value may be different on different computers. However, the machine…

Chapter 2 Solutions

Discovering Computers ©2018: Digital Technology, Data, and Devices

Ch. 2 - Prob. 11SGCh. 2 - Prob. 12SGCh. 2 - Prob. 13SGCh. 2 - Prob. 14SGCh. 2 - Prob. 15SGCh. 2 - Prob. 16SGCh. 2 - Prob. 17SGCh. 2 - Prob. 18SGCh. 2 - Prob. 19SGCh. 2 - Prob. 20SGCh. 2 - Prob. 21SGCh. 2 - Prob. 22SGCh. 2 - Prob. 23SGCh. 2 - Prob. 24SGCh. 2 - Prob. 25SGCh. 2 - Prob. 26SGCh. 2 - Prob. 27SGCh. 2 - Prob. 28SGCh. 2 - Prob. 29SGCh. 2 - Prob. 30SGCh. 2 - Prob. 31SGCh. 2 - Prob. 32SGCh. 2 - Prob. 33SGCh. 2 - Prob. 34SGCh. 2 - Prob. 35SGCh. 2 - Prob. 36SGCh. 2 - Prob. 37SGCh. 2 - Prob. 38SGCh. 2 - Prob. 39SGCh. 2 - Prob. 40SGCh. 2 - Prob. 41SGCh. 2 - Prob. 42SGCh. 2 - Prob. 43SGCh. 2 - Prob. 44SGCh. 2 - Prob. 45SGCh. 2 - Prob. 46SGCh. 2 - Prob. 47SGCh. 2 - Prob. 48SGCh. 2 - Prob. 49SGCh. 2 - Prob. 1TFCh. 2 - Prob. 2TFCh. 2 - Prob. 3TFCh. 2 - Prob. 4TFCh. 2 - Prob. 5TFCh. 2 - Prob. 6TFCh. 2 - Prob. 7TFCh. 2 - Prob. 8TFCh. 2 - Prob. 9TFCh. 2 - Prob. 10TFCh. 2 - Prob. 11TFCh. 2 - Prob. 12TFCh. 2 - Prob. 1MCCh. 2 - Prob. 2MCCh. 2 - Prob. 3MCCh. 2 - Prob. 4MCCh. 2 - Prob. 5MCCh. 2 - Prob. 6MCCh. 2 - Prob. 7MCCh. 2 - Prob. 8MCCh. 2 - Prob. 1MCh. 2 - Prob. 2MCh. 2 - Prob. 3MCh. 2 - Prob. 4MCh. 2 - Prob. 5MCh. 2 - Prob. 6MCh. 2 - Prob. 7MCh. 2 - Prob. 8MCh. 2 - Prob. 9MCh. 2 - Prob. 10MCh. 2 - Prob. 2CTCh. 2 - Prob. 3CTCh. 2 - Prob. 4CTCh. 2 - Prob. 5CTCh. 2 - Prob. 6CTCh. 2 - Prob. 7CTCh. 2 - Prob. 8CTCh. 2 - Prob. 9CTCh. 2 - Prob. 10CTCh. 2 - Prob. 11CTCh. 2 - Prob. 12CTCh. 2 - Prob. 13CTCh. 2 - Prob. 14CTCh. 2 - Prob. 15CTCh. 2 - Prob. 16CTCh. 2 - Prob. 17CTCh. 2 - Prob. 18CTCh. 2 - Prob. 19CTCh. 2 - Prob. 20CTCh. 2 - Prob. 21CTCh. 2 - Prob. 22CTCh. 2 - Prob. 23CTCh. 2 - Prob. 24CTCh. 2 - Prob. 25CTCh. 2 - Prob. 26CTCh. 2 - Prob. 27CTCh. 2 - Prob. 1PSCh. 2 - Prob. 2PSCh. 2 - Prob. 3PSCh. 2 - Prob. 4PSCh. 2 - Prob. 5PSCh. 2 - Prob. 6PSCh. 2 - Prob. 7PSCh. 2 - Prob. 8PSCh. 2 - Prob. 9PSCh. 2 - Prob. 10PSCh. 2 - Prob. 11PSCh. 2 - Prob. 1.1ECh. 2 - Prob. 1.2ECh. 2 - Prob. 1.3ECh. 2 - Prob. 2.1ECh. 2 - Prob. 2.2ECh. 2 - Prob. 2.3ECh. 2 - Prob. 3.1ECh. 2 - Prob. 3.2ECh. 2 - Prob. 3.3ECh. 2 - Prob. 4.1ECh. 2 - Prob. 4.2ECh. 2 - Prob. 4.3ECh. 2 - Prob. 5.1ECh. 2 - Prob. 5.2ECh. 2 - Prob. 5.3ECh. 2 - Prob. 1IRCh. 2 - Prob. 2IRCh. 2 - Prob. 3IRCh. 2 - Prob. 4IRCh. 2 - Prob. 1CTQCh. 2 - Prob. 2CTQCh. 2 - Prob. 3CTQ
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage