Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE HELP NUMBER 7 I tried but it won't work. PLEASE USE CODE FOR PYTHON JI DUHVUUG8taGJN/view ogramming An... 016. Franklin, Beedle & Associates).pdf of

image text in transcribed

PLEASE HELP NUMBER 7

image text in transcribed

I tried but it won't work. PLEASE USE CODE FOR PYTHON

JI DUHVUUG8taGJN/view ogramming An... 016. Franklin, Beedle & Associates).pdf of shipping. Fach or overhead. Writorn Open with oper pound + $1.50 fixed. lculates the cost of an order. I 6. Two points in a plane are specified using the coordinates (x1.yl) and (x2,y2). Write a program that calculates the slope of a line through two (non-vertical) points entered by the user. slope = y2- yl 12 - 1 7. Write a program that accepts two points (see previous problem) and de- termines the distance between them. distance = V(x2 2l)2 + (y2 yl)2 8. The Gregorian epact is the number of days between January 1st and the previous new moon. This value is used to figure out the date of Easter. It is calculated by these formulas (using int arithmetic): C = year//100 Page 97 / 554 - Q + Bo EB Homework - CSE 20 X New Tab x G Google | + - jsp?course_id=_131901_18_content_id= 2605214_1 Melissa Taha 8 vided for uploading. You HW NUMBER 7 CH 3.py - C:/Users/Melissa Taha/AppData/local/Programs/Python/Python3.. File Edit Format Run Options Window Help #program to find distance #input distane=sqrt(x2-x1) **2 + (y2-yl) **2 #name [] #problem number 7 page 80 import math x1=(3,2] x2=[6,1] distance-math.sqrt Mx1-x2) **2 + (yl-y2) **2) print (distance) ^ 1x S ENG 2:17 PM 2/3/2020

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

50 Tips And Tricks For MongoDB Developers Get The Most Out Of Your Database

Authors: Kristina Chodorow

1st Edition

1449304613, 978-1449304614

More Books

Students also viewed these Databases questions

Question

What does the start( ) method defined by Thread do?

Answered: 1 week ago

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago

Question

a. How do you think these stereotypes developed?

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago