(127]= hourhand [t_] := {Thick, Blue, Line[{{0, 0}, (.6) pos [t]}]}; minutehand [t_] := (Thick, Green, Line[{{0, 0}, (.8) pos [t]}]}; secondhand [t_] := {Red, Line[{-(.2) pos [t], (.9) pos [t]}]}; Dynamic[ Graphics [ (* Background+) Circle(], Table [Disk[ (.95) pos [t], .01], {t, 0, 2+ Pi, Pi/6}], (* Hands +) hourhand (2 + Pi hr [] / 12] , minutehand [2+ Pi min[] / 60], secondhand [2 + Pi sec [] / 60] 1, UpdateInterval→ .1 ut[130]-
(127]= hourhand [t_] := {Thick, Blue, Line[{{0, 0}, (.6) pos [t]}]}; minutehand [t_] := (Thick, Green, Line[{{0, 0}, (.8) pos [t]}]}; secondhand [t_] := {Red, Line[{-(.2) pos [t], (.9) pos [t]}]}; Dynamic[ Graphics [ (* Background+) Circle(], Table [Disk[ (.95) pos [t], .01], {t, 0, 2+ Pi, Pi/6}], (* Hands +) hourhand (2 + Pi hr [] / 12] , minutehand [2+ Pi min[] / 60], secondhand [2 + Pi sec [] / 60] 1, UpdateInterval→ .1 ut[130]-
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
I'm having trouble fixing this error in my Mathematica 12.0 code, I'm trying to make a dynamic clock but whatever I do to implement the hour minute and second hands it keeps giving me this error, any help is greatly appriciated.
![In[127):= hourhand [t_] := {Thick, Blue, Line[{{0, 0}, (.6) pos [t]}]};
minutehand [t_] := {Thick, Green, Line[ {{0, 0}, (.8) pos [t]}]};
secondhand [t_] := {Red, Line[{- (.2) pos [t], (.9) pos [t]}]};
Dynamic (
Graphics (
(* Background+)
Circle[],
Table [Disk [ (.95) pos [t], .01], {t, 0, 2* Pi, Pi / 6}],
(* Hands *)
hourhand (2 * Pi hr [] / 12],
minutehand [2 * Pi min [] / 60],
secondhand [2 * Pi sec [] / 60]
UpdateInterval → .1
Out[130]=
Coordinate 0.95 SCellContext pos[0] should be a pair of numbers, or a Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[1, 6]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[1, 3]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[1, 2]3.141592653589793] should be a pair of numbers, or a Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[2, 313.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[5, 6]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[7, 6]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[4, 313.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[3, 2]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fadd5b56d-97e3-4d3c-9aa9-5b563ad77377%2F5c52182a-7dbb-425c-aef3-59ddecce7d6b%2F9ha028h_processed.png&w=3840&q=75)
Transcribed Image Text:In[127):= hourhand [t_] := {Thick, Blue, Line[{{0, 0}, (.6) pos [t]}]};
minutehand [t_] := {Thick, Green, Line[ {{0, 0}, (.8) pos [t]}]};
secondhand [t_] := {Red, Line[{- (.2) pos [t], (.9) pos [t]}]};
Dynamic (
Graphics (
(* Background+)
Circle[],
Table [Disk [ (.95) pos [t], .01], {t, 0, 2* Pi, Pi / 6}],
(* Hands *)
hourhand (2 * Pi hr [] / 12],
minutehand [2 * Pi min [] / 60],
secondhand [2 * Pi sec [] / 60]
UpdateInterval → .1
Out[130]=
Coordinate 0.95 SCellContext pos[0] should be a pair of numbers, or a Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[1, 6]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[1, 3]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[1, 2]3.141592653589793] should be a pair of numbers, or a Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[2, 313.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[5, 6]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[7, 6]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[4, 313.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Coordinate 0.95 SCellContext pos[Rational[3, 2]3.141592653589793] should be a pair of numbers, ora Scaled or Offset form.
Expert Solution

Step 1
Answer:
I have given answered in the brief explanation
Step by step
Solved in 3 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY