Python project - create a simple calculator program

Assignment Help Mathematics
Reference no: EM133636481

TRANSPORTATION PROBLEM

OBJECTIVES
Transportation problem works in a way of minimizing the cost function.

The cost function is the amount of money spent to the logistics provider for transporting the commodities from production or supplier place to the demand place.

It includes the distance between the two locations, the path followed, mode of transport, the number of units that are transported, the speed of transport, etc.

To transport the commodities with minimum transportation cost without any compromise in supply and demand

sum of matrix form
Create a 3x3 matrix A with elements 1 2 3 in the first row, 4 5 6 in the second row, and 7 8 9 in the third row. Create a 3x3 matrix B with elements 10 11 12 in the first row,13 14 15 in the second row, and 16 17 18 in the third row.
Compute the sum of matrices A and B.

product of matrix form
Create a 3x3 matrix A with elements 1 2 3 in the first row, 4 5 6 in the second row, and 7 8 9 in the third row.Create a 3x3 matrix B with elements 10 11 12 in the first row,13 14 15 in the second row, and 16 17 18 in the third row.

Compute the product of matrices A and B.

transpose of matrix form

Create a 3x3 matrix A with elements 1 2 3 in the first row, 4 5 6 in the second row:
Compute the transpose of matrix A.

inverse of matrix form
Create a 3x3 matrix A with elements 1 2 3 in the first row, 4 5 6 in the second row:
Compute the inverse of matrix A.

determinant of matrix form
Create a 3x3 matrix A with elements 1 2 3 in the first row, 4 5 6 in the second row, and 7 8 9 in the third row.
Compute the determinant of matrix A.

trace of matrix form
Create a 3x3 matrix A with elements 1 2 3 in the first row, 4 5 6 in the second row, and 7 8 9 in the third row.
Compute the trace of matrix A

Eigenvalues and Eigenvectors of matrix form
Create a 3x3 matrix B with elements 10 11 12 in the first row,13 14 15 in the second row, and 16 17 18 in the third row.
Eigenvalues and eigenvectors of B

symbolic mathematics computations in matlab
Write a MATLAB script that performs the following symbolic mathematics com- putations:
- Define the symbolic variables x and y.

symbolic expression in MATLAB
Define the symbolic expression f (x, y) = (x2 + y2)/(x ∗ y).

simplify the expression in MATLAB
Simplify the expression f (x, y) = (x2 + y2)/(x ∗ y) using the simplify function.

partial derivatives in MATLAB
Compute the partial derivative of f (x, y) with respect to x using the diff func- tion.

Compute the partial derivative of f (x,y) with respect to y using the diff function.

integration of the function in MATLAB
Compute the indefinite integral of f (x, y) with respect to x using the int function.

Compute the definite integral of f (x, y) with respect to y over the interval [0, 1] using the int function.

limit of the function in MATLAB
Compute the limit of f(x,y) as x approaches infinity using the limit function.

PYTHON PROJECT

simple calculator in python

In this project, you will create a simple calculator program thatallows the user to perform basic arithmetic operations (addition,subtraction,multiplication, and division) on two numbers. Theprogram will take the two numbers and operation as input fromthe user and display the result.

To complete this project, you can follow these steps:

Write a function that takes two numbers and an operation as input and returns the result of the operation.

Write a main program that prompts the user to enter two numbers and an operation, calls the function to perform the operation, and displays the result.

Reference no: EM133636481

Questions Cloud

Does nature have a greater impact on human development : Build an essay using the thesis, outline and sources provided - Does nature have a greater impact on human development and behavior than nurture
Identify and evaluate different applications and benefits : Identify and evaluate different applications and benefits of using your ONE chosen AI technology in this industry. Elaborate on how this AI technology can help
Which group of medication is link to thyroid medullar cancer : He has also heard that some of these newer diabetic medications cause cancer. Which group of the medications is linked to thyroid medullary cancer incidence?
Evaluate and make recommendation to city council : Your community faces a challenging issue. You will serve on a volunteer committee to evaluate and make a recommendation to the city council.
Python project - create a simple calculator program : Write a main program that prompts the user to enter two numbers and an operation, calls the function to perform the operation, and displays the result
Common reason people might purchase more insurance : What is a common reason people might purchase more insurance than they need? Insurance has been falling in cost over recent decades.
Analyze the impact the employees resignation can have : Analyze the impact this employee's resignation can have on your organization. Who is impacted by the resignation of a receptionist?
Demand specification to estimate demand function : An econometrics expert at your firm used a linear demand specification to estimate the demand function for your firm's product and these were the results
Economic fallout of the intensifying geopolitical risk : The recent Russia-Ukraine war has renewed fears of the economic fallout of the intensifying geopolitical risk.

Reviews

Write a Review

Mathematics Questions & Answers

  Find the amount of interest on the first monthly payment

Find the amount of interest on the first monthly payment on a loan if the amount borrowed is $10,000, the interest rate is 8.5%, and the payment is $150.00.

  Is this an equivalence relation

Prove that a ≡ b (mod n) if and only if n|(a - b); that is, check that the condition given in Definition 5.3.1 is correct.

  Find all values of y such that the distance

Find all values of y such that the distance between (3,y) and (-2, 3) is 19.

  How does this affect the solution of the system of equations

Suppose that in the process of solving a system of three linear equations in three unknowns, the last row of the matrix contains all zeros. How does this affect the solution of the system of equations

  Find the cost of planting seed

The cost of planting seed is usually a function of the number of acres sown. The cost of the equipment is a fixed cost because it must be paid regardless.

  Define what is the rate of the boat in still water

It travels 430 going downstream in the same amount of time. What is the rate of the boat in still water and what is the rate of the current?

  An insurance company has an obligation to pay

(9) An insurance company has an obligation to pay $12,000 one year from now, and $9,000 two years from now. The insurance company purchases a combination of the followingtwo bonds (both with $ 1,000 par and redemption values) in order to exactly matc..

  The equation of tangent line

The equation of tangent line.

  Estimate the average cholesterol level of working adults

A proposed study for estimating the average cholesterol level of working adults calls for a sample size of 1000.

  Dimensions that maximize the area

If a window entails a seamless glass area formed by a rectangle capped by semi-circle, if the semi-circle's diagonal and the rectangle's width coincide, and if the window's exterior perimeter is 16 feet

  How many square tiles with sides 1 ft long

How many square tiles with sides 1 ft long

  Simplex method to solve linear programming problem

Use the simplex method to solve this linear programming problem.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd