Find Jobs
Hire Freelancers

Point Class Demo

$10-30 USD

Completed
Posted almost 4 years ago

$10-30 USD

Paid on delivery
Below I attached the existing code that you will be editing. In all of the cases below, the arguments are all points. Add the following: 0) A new method: distPoint. It takes two arguments, self and other. It returns the distance between the points. If you're unsure of the formula for distance between two points, see [login to view URL] Remember that you are using points in three dimensions. The formula given is for two dimensions. 1) A new method: trianglePerimeter. It takes three arguments; self, p2 and p3. It returns the perimeter of the area defined by self -> p2 -> p3. It must calculate the distance from self to p2, p2 to p3, and p3 back to self, and return the sum of them. 2) A new method: triangleArea. It also takes three arguments; self, p2, and p3. It returns the area of the triangle defined by self, p2, and p3. For the area, we do the following calculations: Start with the length of each side (copy the code from trianglePerimeter). Calculate the half perimeter p. Then the area is (p * (p - len1) * (p - len2) * (p - len3))**2 3) Demonstrate that your code works. Use: p1 at 0, 0, 0 p2 at 2, 0, 0 p3 at 0, 3, 0 Print the points and the Perimeter and Area - verify that the answers for this are correct (it's a right triangle in two dimensions) p1 at 1, 2, 3 p2 at 1, 8, 6 p3 at 4, 4, 3 Print the points and the Perimeter and Area Turn in the following: - One file named [login to view URL] with your new methods - One file named [login to view URL] with the Idle output (you can save from File->Save in Idle, like I did in the lectures)
Project ID: 25439259

About the project

6 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I can do that. I will be ready in less than 1.5 hour, just choose me and I will start working immediately
$15 USD in 1 day
5.0 (39 reviews)
5.4
5.4
6 freelancers are bidding on average $19 USD for this job
User Avatar
Hey, I have more than 5 years of experience in python. You can check my profile that I almost have done every project in python. I hope you will be happy from the service.
$30 USD in 1 day
5.0 (81 reviews)
5.7
5.7
User Avatar
Hi there, I do Python programming. I went through your requirements and I would like to do this project if given the opportunity. Let me know if you are interested.
$20 USD in 1 day
4.9 (38 reviews)
4.8
4.8
User Avatar
I have extensive experience in the domains of Neural Network, Python, Matlab, Natural Language Processing, Asterisks PBX, Linux, Image Recognition & Artificial Intelligence, Recommender Systems, Machine learning, Data Minning, NS3 simulation, Omnet++, Sumo simulation, Deep Learning, Computer Vision, AI text analysis model, and Reinforcement Learning. While working in the domains mentioned above, I have worked used frameworks like TensorFlow, Scikit-learn, PyTorch, STP and UDP, Caffe2, OpenCV, Keras, matplotlib, seaborn, fastai, Pycharm, NILM algorithms etc) I am also very familiar with classification and clustering algorithms such as SVM, FHMM, Combinatorial Optimization, HART 85 Algorithm, Maximum Likelihood Estimation, KNN, LDA, Fuzzy classification I’m honest, creative and a unique person to carry out your tasks given to me. Leaving your project on our hand is privileged; we'll make sure that the project is done in a perfect way and do our best until you were satisfied. I would love to discuss this project with you and meet your exact requirements. I am confident I can provide you with top-notch materials that will fit your needs. I'm proud of my work on being professional, of the highest quality and always delivered on time.
$30 USD in 2 days
5.0 (12 reviews)
4.2
4.2
User Avatar
Hello Sir, You will get a proven working project and will add a writing guide explaining everything starting from algorithm to how to run the progra, ready to work on it ASAP Looking to hearing from you best regards
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
sure delivery within a day with proper comments and documentation, 2 years experience with python programming and app development. Will be pleased if considered.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Plattsburgh, United States
5.0
4
Member since Apr 11, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.