I have no idea how to use python for this project , first pic is of the instructions the second pic is what I have.
I have no idea how to use python for this project , first pic is of the instructions the second pic is what I have.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
I have no idea how to use python for this project , first pic is of the instructions the second pic is what I have.
![rubber surface or carpet.) Take a picture of the app measurement or protractor measurement
to verify your work.
Using the website Your Python Trinket, write a short code to convert your angle measurement
from degrees to radians and to estimate the total distance traveled by the circle by using the arc
length formula s = er. See screenshot below. Type up the code below. Then fill in your angle in
degrees (a number); an approximation of 7 to 5 decimal places; an expression that converts your
angle in degrees to radians (you should use the word 'angle' in this formula and not only
numbers); your cap's constant radius; and an expression that yields the arclength of the rotation
using 'theta' and the 'radius'. Use the key * for multiplication. Run the code. Upload a
screenshot of both your code and the outputs for your angle 'theta' and 'arclength'. (Note:
the hashtag symbol # and green words in the code below are used for descriptive comments. They
do not directly affect the code.)
E
trinket bogor bas ke bil
trinket Run
<>
1
2
4
main.py
import math
angle
pi-
theta
radius-
5
6
7 arclength= I
? Modules
SUOY
Share
inc
angle of rotation in degrees el volem ding gamut oloni af
san of pi to 5 decimal
angle of rotation in radians (you'll need to write a conversion expression on the right side) similes
slodw
Trates of your cap
#arclength of your rotation (write the right side in terms of theta and Fadius) a
print theta.
1010cint arclength oy wode of (anoicholas yns quibolani) noitsaciqz londa stw orlA
c. Refer to the starting and ending points you marked earlier. Using a ruler or tape measure, measure
the straight-line distance (without using angles!) that the object traveled from start to finish.
d. Were your answers to (b) and (c) close? Hopefully they were similar. In theory, they should be
ni no equal. If they weren't close, go back and fix any errors in your set-up or calculations. Also, write
a paragraph (3-5 sentences) that explains why the arclength formula works and why your two
answers should be equal. Use language that somebody who doesn't know trigonometry would
biv understand. og load e oso od to moitoton
to vil our doorsanoin site de las cosasion ofzoq gainst a TOOT]
wyshem or save almologs n noitaion to signs for all sniampieb ban mongol](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F9affadff-1dbc-4796-87cc-cd8c2c6f7c45%2F5ab47ebe-1aad-42bd-87b5-5da5aa59cfb4%2F4pi0j1b_processed.jpeg&w=3840&q=75)
Transcribed Image Text:rubber surface or carpet.) Take a picture of the app measurement or protractor measurement
to verify your work.
Using the website Your Python Trinket, write a short code to convert your angle measurement
from degrees to radians and to estimate the total distance traveled by the circle by using the arc
length formula s = er. See screenshot below. Type up the code below. Then fill in your angle in
degrees (a number); an approximation of 7 to 5 decimal places; an expression that converts your
angle in degrees to radians (you should use the word 'angle' in this formula and not only
numbers); your cap's constant radius; and an expression that yields the arclength of the rotation
using 'theta' and the 'radius'. Use the key * for multiplication. Run the code. Upload a
screenshot of both your code and the outputs for your angle 'theta' and 'arclength'. (Note:
the hashtag symbol # and green words in the code below are used for descriptive comments. They
do not directly affect the code.)
E
trinket bogor bas ke bil
trinket Run
<>
1
2
4
main.py
import math
angle
pi-
theta
radius-
5
6
7 arclength= I
? Modules
SUOY
Share
inc
angle of rotation in degrees el volem ding gamut oloni af
san of pi to 5 decimal
angle of rotation in radians (you'll need to write a conversion expression on the right side) similes
slodw
Trates of your cap
#arclength of your rotation (write the right side in terms of theta and Fadius) a
print theta.
1010cint arclength oy wode of (anoicholas yns quibolani) noitsaciqz londa stw orlA
c. Refer to the starting and ending points you marked earlier. Using a ruler or tape measure, measure
the straight-line distance (without using angles!) that the object traveled from start to finish.
d. Were your answers to (b) and (c) close? Hopefully they were similar. In theory, they should be
ni no equal. If they weren't close, go back and fix any errors in your set-up or calculations. Also, write
a paragraph (3-5 sentences) that explains why the arclength formula works and why your two
answers should be equal. Use language that somebody who doesn't know trigonometry would
biv understand. og load e oso od to moitoton
to vil our doorsanoin site de las cosasion ofzoq gainst a TOOT]
wyshem or save almologs n noitaion to signs for all sniampieb ban mongol

Transcribed Image Text:More >>
=
123
main.py
1 import math
2
3
مد
4
5
6
7
8
9
10
23
FI
trinket.io
angle = 98
pi = 3.14159
theta = 1.76,
radius = 5.2
arclength = 9.152, 'theta'*'radius'
'angle'*('pi'/180)
print ('theta')
print ('acrlength')
+ ↑
a
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education