Archive for the ‘PYTHON’ Category

rigid body, cylinder

A spool of thread has rolled under the bed! Fortunately, you get the free end of the thread. The inner part of the reel where the thread is wound is a homogeneous, full cylinder of mass 3M and radius 2R. At each end there is a homogeneous cylindrical disc with mass M and radius 3R. […]

Python Grade Assignment

Your math teacher has asked you to write a program that grades the multiple-choice questions in a Math exam. The exam has 10 multiple-choice questions. Here are the correct answers: 1. A        6. B        2.D          7.A        3. B          […]

Beginner’s Python

Part 1: Write code that writes the names of three of your favorite movies to a file named movies.txt. Each movie should be on a separate line in the text file. Use file explorer to manually open the text file in a text editor (like Notepad, Notepad++, etc.) to verify your Python code wrote three […]

NY Taxi Notebook Assignment

Download and unzip the NYC taxi dataset from Cyrille Rossant on GitHub: https://github.com/ipython-books/minibook-2nd-data (Links to an external site.)Open the notebook file attached below.  You will be adding your code (make sure you add headers and comments) to the existing code, and make sure your code is well organized.Please upload the data and display data columns, […]

Beginner’s Python

Part 1:Write a program that asks the user for a secret number between one and ten. This will become the number that the player tries to “guess”. Ask the user player to guess a number between 1 and 10. If the user’s guess is higher than the secret number, the program should display “Too high. […]

Python Assignment for Physics

Python code using Physics and mathematical concepts.Need seperate answer for each question in Python code. Please also make some note throughout the code using the # to keep track of what is being coded.Please submit answer in a way where the code can be copy pasted.When the question states Markdown, please use markdown cells. The […]

Python

Create a class called Tour.  An instance of this class is to be instantiated with two US cities, and is used to fetch information from the web.  Specifically, the class must define: 1.    __init__  The constructor takes two strings as arguments, each giving a city name and state abbreviation, indicating the origin and destination.  For […]

Create the game Columns using Python

This project is focused on implementing the mechanics of Columns, along with a program that you can run in the Python shell with a very spartan user interface that you’ll use to test it. There are features that must be completed. Assignment Instructions found here:https://www.ics.uci.edu/~thornton/ics32/ProjectGuide/Project4/

Foreign Exchange Option

We will use the Garman-Kohlhagan model (Links to an external site.) to price our options in this assignment. We will write a function that takes the option contract parameters (type–call or put, strike price, and expiration date) as well as market observations (spot exchange rate, volatility, and interest rates in both the domestic and foreign […]

python programming

The included Excel file lists HIV estimated prevalence of people ages from 15 to 49 in the world from 1979 to 2011. Use the dataset to complete following tasks: Add one column as continent in the dataset and label each country/regionin the dataset to an appropriate continent such as Europe, Asia, Africa, North America, South […]

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes