Instructions: You should submit your answer to this question as a Python code
with .py extension to the corresponding question in Google Classroom.
Attention: Make sure to write your name, surname, and student ID number.
Question:
(Average speed) Assume a runner runs 14 kilometers in 45 minutes and 30 sec-
onds. Write a program that displays the average speed in miles per hour. (Note that
1 mile is 1.6 kilometers.)
Instructions: You should submit your answer to this question as a Python code
with .py extension to the corresponding question in Google Classroom.
Attention: Make sure to write your name, surname, and student ID number.
Question:
(Physics: find runway length) Given an airplane's acceleration a and take-of
speed v, you can compute the minimum runway length needed for an airplane te
take off using the following formula:
length
2a
Write a program that prompts the user to enter v in meters/second (m/s) and th
acceleration a in meters/second squared (m/s), and displays the minimum runway
length. Here is a sample run:
Enter speed and acceleration: 60, 3.5 Enter
The minimum runway length for this airplane is 514.286 meters
Instructions: You should submit your answer to this question as a Python code
with .py extension to the corresponding question in Google Classroom.
Attention: Make sure to write your name, surname, and student ID number.
Question:
(Physics: find runway length) Given an airplane's acceleration a and take-of
speed v, you can compute the minimum runway length needed for an airplane te
take off using the following formula:
length
2a
Write a program that prompts the user to enter v in meters/second (m/s) and th
acceleration a in meters/second squared (m/s), and displays the minimum runway
length. Here is a sample run:
Enter speed and acceleration: 60, 3.5 Enter
The minimum runway length for this airplane is 514.286 meters
Instructions: You should submit your answer to this question as a Python code
with .py extension to the corresponding question in Google Classroom.
Attention: Make sure to write your name, surname, and student ID number.
Question:
(Geometry: area of a pentagon) Write a program that prompts the user to enter the
length from the center of a pentagon to a vertex and computes the area of the pen-
tagon, as shown in the following figure.
3V3
The formula for computing the area of a pentagon is Area where s is
the length of a side. The side can be computed using the formula s = 2r sin ,
where r is the length from the center of a pentagon to a vertex. Here is a sample
run:
Enter the length from the center to a vertex: 5.5 ter
The area of the pentagon is 108.61
Write a program in python to print respective month of a year.
Input + Addition
by CodeChum Admin
Hopefully you haven't forgotten about your previous lesson, because you're going to need it for this one.
Instructions:
Input two integers (one per line) and make sure to store them in variables.
Add the two integers and print out their sum!
Create a library management system wherein any library member should be able to search books by their title or its author.
We are hungry college students, and we are developing an app to help us find the closest restaurants, in restaurant.py. Your job is to implement the functions below that represent the restaurant abstract data type.
A restaurant is an abstract data type that has a name, a longitude coordinate, and a latitude coordinate. We create a restaurant like this:
The formula below decribes how to convert a temperature on the Fahrenheit scale to a temperature on the Kelvin scale.
TempK = (TempF − 32) × 5/9 + 273.15
Using the variables below Write one line of code to implement the formula
// Kelvin temperature
float TempK;
// Fahrenheit temperature
float TempF = 72;
//One line of code to calculate temperature in Kelvin
We have been asked to produce a graph for a hospital chart, for which in that chat, you have a graph of temperature against system time, wherein the user will make an input.
same thing for pressure, respiration and pulse
with ranges of the temperature being 35*C to 41*C
Pressure having range of 120/80 mmHg to 120/139 mm Hg
Pulse rate being 60 beats/min to 180 or 160 beats/min
Respiration being 20 breaths to 60 breaths
it can all be on a different graph sheet...
making it that complex can have the user's name in it
please i need help....