in python write a code to find power (2 & -2)

Answers

Answer 1

Explanation:

b) (c) ... Want to see the step-by-step answer ? ... Q: Write a python program with comments


Related Questions

"NOTE: write an algorithm, not a code" You are given a file called "std" and composed of "Number, Name, Address" fields. (You can define the type of fields by yourself) Write an algorithm that makes "insert, delete, update and retrieve", processes on the records in the file. "Number" field is the key of each record. Here is the template of report: Steps Actions 1 Name of the report and date 2 Author of report 3. Literature review 4. Your contribution 5 Explanation algorithm and sub algorithms 6 Summary 7. Future advice 8. References

Answers

Answer:

1. get the absolute path to the file

2. load the file as a table (dataframe in python)

3. to insert a row;

create a dataframe of the same field typeconcatenate the new dataframe horizontally with the same dataframe

4. to delete a row, select and drop the row where the 'Number' field matches a value.

5. to update the values in row, use the number field as a key to replace the existing values.

6. print of save to a variable the rows where the number field matches a given value.

Explanation:

Follow the report template to create a report for the algorithm.

The algorithm gets the absolute path to the file and loads the file as a tabular file from there the data can be queried without accessing the main file. The insert algorithm creates a new dataframe and appends it to the main dataframe.

The delete, update and retrieve all use the same subalgorithm, getting the rows with the number field as the key value.

What anime is sama from

Answers

Answer:

u talking about Kaichō wa Maid-sama? idek there is a lot

Explanation:

I will give free brainiest if you guess my favorite car among these 3

Corvette
LaFerrari
Porsche

Answers

Answer:

LaFerrari

Explanation:

Using Internet resources, find at least five organizations that offer Software as a Service (SaaS). How do their services benefit their users?

Answers

Answer:

1. Antenna Software

2. Cloud9 Analytics

3. CVM Solutions

4. Exoprise Systems

5. GageIn

Explanation:

1. Antenna Software - It has five gateways to routes and manages all transactions between the mobile applications and backend systems

2. Cloud9 Analytics - manages the warehouse separately from the solutions

3. CVM Solutions - Enables  users to "clean" supplier information and  to centralize and standardize information

4. Exoprise Systems - It avoid use of complex database and Web servers

5. GageIn - It uses Networking and social tools to connect users and facilitate communications

Answer:

1. Antenna Software

2. Cloud9 Analytics

3. CVM Solutions

4. Exoprise Systems

5. GageIn

Explanation:

What is one similarity between compiled and interpreted programming languages? (5 points)

Both compiled and interpreted languages are translated one line of code at a time before moving to the next line.

Both compiled and interpreted languages can be shared with others while keeping the source code private.

Both compiled and interpreted languages are high-level languages and translate code for a computer to understand.

There are no similarities between compiled and interpreted programming languages.

Answers

Answer:

Both compiled and interpreted languages are high-level languages and translate code for a computer to understand.

Explanation:

The one similarity between compiled and interpreted languages is that they are both high-level languages.

A high-level language is a computer language written in easy to understand human language which is then converted to machine code for the computer to understand.  

A high-level language can either be interpreted or compiled.

An interpreted is a language in which the code is translated line by line before execution while a compiled language is one in which the source code is converted directly into machine language before execution.

So, the similarity between both languages is that they are high level languages and translate code for a computer to understand.

Which elements most affect the voice of an academic paper? Check all that apply.

Answers

where are the options

Answer:

C

Explanation:

*****HELP******
Most Favored Nation (MFN) status and national treatment are also included in the Agreement on Trade-Related Aspects of Intellectual Property Rights (TRIPS). True or False

Answers

Answer:

True

Explanation:

The Most Favored Nation (MFN) status and national treatment are provided for in article 4 of the Trade Related Aspects of Intellectual Property Rights (TRIPS) Agreement and it is stated that when a member grants favor, advantage, immunity , or privilege to citizens of a country, the country shall grant similar favor, privileges and advantages to the citizens of the other members

Therefore;

True Most Favored Nation (MFN) status and national treatment are also included in the Agreement on Trade-Related Aspects of intellectual Property Rights (TRIPS).

Arrange the code so that the numbers are swapped.

Second part

savec

First part

C=D

Third part

D= save

Answers

Answer:

Following are the correct code for swapping:

save=C

C=D

D=save

Explanation:

Please find the attached file of the program with output.

In the above, we let that the three integer variable "save, C, and D" is declared that in which the variable "C and D" holds a value and "save" variable is used to hold "C" variable value.

At this the "C" variable is empty. so, it holds a "D" variable value and when it is empty it holds a save value. At this, we perform the swapping.

Fill _________ skips the Saturday and Sunday dates in a date fill.
A. Weekends
B. Weekdays
C. Skip Weekends
D. Skip Saturday and Sunday

Answers

A. Weekends is the correct answer

I got a question in computer science I don't understand, can someone please help.​

Answers

Answer:

Hi, this program allows you to calculate a sphere’s area and volume depending on the radius of your choosing.

Please give brainliest, means alot!

Identify the tips to create a well-designed digital portfolio.
Felicity consulted her professor at her university for help in creating a digital portfolio. Her professor told her about the importance of creating a well-designed digital portfolio. She finally began work on the same.

A. She accessed a computer to build a digital portfolio.
B. She created a personal website with a unique URL for her online portfolio.
C. She took out the text that described her images from her portfolio.
D. She accessed a printer with could print high resolution images.

Answers

Answer:

B. She created a person website with a unique URL for her online portfolio

Explanation:

defination of Wi-Fi plz​

Answers

Answer:

A facility allowing computers,smartphones and other devices to connect to the internet or communicate with one another wirelessly.

brain of the computer system is called​

Answers

Answer:

The CPU (Central Processing Unit) 

Which avenue may utilize video streaming, audio narration, print designs and animation?

The (blank) may utilize video streaming, audio narration, print designs and animation.

Answers

Answer:

Multimedia avenue.

Explanation:

A file type is the standard used to store data such as pictures, texts, videos, and audios. All file types have unique file extension that determine which program to use to open a particular file and to access its data e.g pictures (jpeg, png), texts (txt, docx, rtf), videos (mp4, 3gp, avi), audios (mp3, acc).

Sometimes, computer users make the mistake of opening files with the wrong software application or program, this often leads to an error due to the incompatibility of the software application with the particular file.

Basically, all software applications are designed and developed for use with specific file extensions or formats and as such, when used to open a file it isn't developed for, it result in an error.

A multimedia avenue refers to a channel that is designed and developed to accept, utilize and combine various file formats such as audio, video, text, animation effects, etc. A common example of a multimedia avenue is Microsoft PowerPoint software.

Hence, the multimedia avenue may utilize video streaming, audio narration, print designs and animation.

this is used to copy information from cell to cell in the spread sheet

A. active cell
B. Auto fit
C. Grid lines
D. Fill handle

please help me with this

Answers

Answer:

D. Fill handle

Explanation:

Required

Which can be used to copy from cell to cell

(a); Means the current cell being selected in the spreadsheet program

(b): Used to fit all columns in the spreadsheet program. Usually, the columns are fitted based on their width.

(c): The vertical and horizontal lines that separate cells.

(d): This is used to copy from one cell to another, especially adjacent cells.

Select the correct answer from each drop-down menu.
How does a function work?

A function takes values in the form of____, performs a calculation, and returns a ____.

First blank:
1. Keywords
2. Arguments
3. Math operators

Second blank:
1. Result
2. Cell reference
3. Formula

Answers

Answer:

Maths operators

cell reference

Answer:

Arguments

Result

Explanation:

I got it right on the Edmentum test.

My pc is not reproducing sound

Answers

Answer:

check your settings try to seek your audio settingfix it

Select the correct answer from each drop-down menu.
Complete the sentence about emphasizing data in a worksheet.

Formatting a cell can refer to _____ formatting and to ____ formatting.

First blank:
1. Unhiding
2. Inserting formulas in
3. Highlighting

Second blank:
1. Changing the font size in the cells that contain the data
2. Moving the data to a separate row or column
3. Creating a header for the row in which the data appears

Answers

Answer:

Highlighting

Changing the font size in the cells that contain the data

Explanation:

I got it right on the Edmentum test.

The complete sentence about emphasizing data in a worksheet is given below:

Formatting a cell can refer to highlighting formatting and to changing the font size in the cells that contain the data formatting.

Thus, the correct options for blanks are C and A respectively.

What is data formatting?

Data formatting may be defined as the process of organization of information according to preset specifications usually for computer processing in order to execute with respect to the instructions.

The concept of data processing deals with the sequential arrangement of sources and information on the basis of certain specifications. The formatting of a specific cell refers to highlighting them for easy identification.

The process of formatting must be done in order to alter the size of the font within the cells that significantly contain the data.

Therefore, the correct options for blanks are C and A respectively.

To learn more about Data formatting, refer to the link:

https://brainly.com/question/25051360

#SPJ2

You suspect that your web server has been the target of a denial-of-service attack. You would like to view information about the number of connections to the server over the past three days. Which log would you most likely examine

Answers

Answer:

Performance log

Explanation:

The Windows Performance Logs and Alerts, is a service that monitors and collects the performance data on resources, processes, threads, cache, memory, and processor, dependent on parameters which are preconfigured and scheduled, and logs the data or results in an alert

The service can be enabled from the file perfmon.exe

From the logs, troubleshooting the security of the system can be performed by monitoring file access, unusual or unauthorized activities, network connections, unusual system behavior, error messages and unusual network behavior

Why making sustainable food choices is better for the environment and the disadvantages or negative effects when not choosing sustainable food products may have.

Answers

Answer:

Question 1:

I. It will help to reduce or eliminate wastes

II. It will help to conserve energy

III. It will help to improve the quality of life.

Question 2:

I. It will lead to environmental pollution

II. It will lead to poor quality of products

III. It will deplete the natural resources and energy.

Explanation: Sustainable food choices are the various choices and decisions we make when choosing the various processes and activities required to produce,process and consume food with the aim of ensuring that energy is conserved, pollution is reduced or eliminated, energy and the natural resources in and around the environment are effectively utilised to help improve the quality of life and environmental. There are several negative consequences of not adopting sustainable food products which includes pollution, energy depletion, poor quality of life etc.

What will be the results from running the following code?
print("Grades")
print(92)
print(80)
print("Total")
print(92 + 80)

Answers

Answer:

Grades

92

80

Total

172

Explanation:

Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).

Answer:

Grades

92

80

Total

172

Explanation:

Where is shoto from

Answers

Answer:

Shoto Todoroki is from "my hero academia" my dude

Explanation:

How can you make a search phrase more effective?
O A. by framing it as a question
O B. by using more specific search terms
C. by using a different search engine
OD. by using all the search terms you can think of

Answers

Let's solve this together.

To make a search term more accurate, you must keep it simple and you must be able to use more specific terms. The more specific you are with what you are asking the engine about, the more friendlier it will respond.

The answer is Option B. I hope this answer helped you!

defination of formula work sheet​

Answers

Explanation:

formula is an equation that makes calculations based on the data in your spreadsheet. Formulas are entered into a cell in your worksheet. They must begin with an equal sign, followed by the addresses of the cells that will be calculated upon, with an appropriate operand placed in between.

please answer this question​

Answers

Explanation:

A. Encryption. (B. Printer

Choose the option that best matches the description given. The older term, social service, referred to advancing human welfare. The new term, meaning to provide for the needs of various people and groups, is ____.
A. social assistance
B.social welfare
C.social media
For everyone that doesn't wanna watch the ads, The answer is A, social assistance.

Answers

Answer:

Social Assistance

Explanation:

Provision and disbursement of intervention in other to palliate the suffering and want of an individual, group or community can be described as rendering social assistance. Assistance which also means helping people fulfill their needs could be offered by the government, non-governmental organizations or individuals personnels. Rendering social assistance could be in the form of cash or gift offerings, provision of food for the hungry, shelter for the homeless, medical interventions for the sick and catering for other touch points of the needy.

Answer:

Social Assistance

Explanation:

why do we use number calculations in programming

Answers

Answer:

Standard arithmetic is used in many functions of programming. Addition, subtraction, multiplication and division are used in almost every program. Algebra is used to solve simple problems that many computer programmers will encounter

eg:

Obtaining a computer science degree requires completing many math classes

Match the elements used in web searches to their functions.

1. row
2. column
3. cell
4. worksheet

where data and formulas can be entered
a grid of rows and columns
a horizontal set of cells
a vertical set of cells

Answers

Row - horizontal
Column - vertical
Cell - where data and formulas can be entered
Worksheet - a grid of rows and columns

Answer:

where data and formulas can be entered - Cells

A grid of rows and columns - Worksheet

A horizontal set of cells - Row

A vertical set of cells - Column

Explanation:

I got it right on the Edmentum test.

What special signal is issued periodically from an Access Point and contains the network transmission rate and service set identifier (SSID), as well as other information needed for a computer to associate with the AP

Answers

Answer:

beacon frame  

Explanation:

Beacon frame is a management frame In computer networks, known to be in IEEE 802.11 based WLANs. These frames are transmitted periodically and they contain all the  information a station will require before it can rightly transmit a frame.  

When it comes to announcing the presence of devices in a wireless computer network (WLAN), Beacon frames are used, and they can also be used in the synchronization of the devices and services

An online news website relies on in-page advertisements to make money. Their article pages have multiple slots for advertisements, and each slot can be used for a full-size ad or multiple smaller ads. Advertisers specify their size and desired display count per day. A diagram of a webpage. Article text is shown alongside multiple advertising boxes on the page. The news site uses a scheduling algorithm to determine which advertisements to display in each slot at each time of day. The algorithm's goal is to maximize money earned while not exceeding the display count per day, so it tries out every possible combination and picks the best one. As the number of advertisers and articles increases, the news site realizes the scheduling algorithm is taking an unreasonable amount of time and costing them valuable server time. What is the most promising way that they can improve the run time of the algorithm

Answers

Answer:

Create a dynamic-sized circularly-linked list to hold a tuple of the adverts and the count. As the program runs, the sum of the counts is used to calculate the fixed advertisement time which is saved in a variable time_slot. Then a loop statement should be used to traversal the linked list continuously until the count sum is exhausted for the day.

Explanation:

A circularly-linked list is a linked list with both ends joined together. With this data structure, the continuous traversal of the list is easier and faster. A conditional statement is used in the algorithm to check and decrement the count of each advert and when all is zero or false, the program ends.

Other Questions
advantages of print media Lee y escoge la opcin con el verbo conjugado correctamente para completar la frase. Read and choose the option with the verb correctly conjugated to complete the sentence.Es una lstima que ustedes _______ antes de la celebracin de Navidad. comen coman comes como Part AWhat is the authors purpose in the paragraph?The author hopes to convince young people to buy a smartphone.She wants to address opposing opinions about smartphone microscopes.She hopes to show that it is worth the cost to have a working microscope.The author wants to explain the process to make a smartphone microscope.Question 2Part BWhich evidence from the paragraph best supports the answer to Part A?Im not a mechanical whiz.So if I can do this, anyone can do it.Im only saying that its a good idea for people who already have smartphones.Its a bit like buying a special app that lets you do even more with your phone!Now, I know what some people might say.In response, let me say two things. Help plz math question. EXPLAIN HOW YOU GOT THE ANSWER. 30 PTS btw thx if u help approximately how far away is the epicenter for an earthquake if the p-waves arrive three minutes 20 seconds before the S Wave The Bransen Family picked 20 red apples, 28 yellow apples, and 12 bushel of green apples. Starting the following day, they ate 2 red apples and 3 yellow apples every day. When 6 red apples are left, how many yellow apples will be left? Keating Co. is considering disposing of equipment with a cost of $63,000 and accumulated depreciation of $44,100. Keating Co. can sell the equipment through a broker for $26,000 less 8% commission. Alternatively, Gunner Co. has offered to lease the equipment for five years for a total of $47,000. Keating will incur repair, insurance, and property tax expenses estimated at $10,000 over the five-year period. At lease-end, the equipment is expected to have no residual value. The net differential income from the lease alternative is which number line shows the solution to fx-5 > 3?9 10 11121314 159 10 1112 1314 15+++-6 -5 -4-3-2-1-6-5-4-3-2 -1Dorie 3. You owe $1,350.00 on a credit card with a 14.25% APR. You pay $300.00 at the beginning ofthe month How much interest do you save by paying at the beginning of the month versusat the end of the month? A movie begins at 4:40 pm and its last 2 housers and 20 minutes Bell Ringer Text Structure 6War DepartmentOn December 7, 1941 while German armies were freezing before Moscow, Japan suddenly pushed the United States into the struggle by attacking the American naval base at Pearl Harbor. Four days later Hitler declared war on the United States. President Roosevelt called on Congress for immediate and massive expansion of the armed forces. Helpless as American garrisons in the Pacific fell to the Japanese in the spring of 1942, military leaders in Washington worked to create a headquarters that could direct a distant war effort and turn the ground and air units into viable, balanced fighting forces. In March, the War Department was reorganized, and the Army divided into three major commands: the Air Forces, Ground Forces, and Service Forces.1. What method of organization does the author use for this article?A.Compare and ContrastB.Problem and SolutionC.Cause and EffectD.Chronological2. What clues are there as to the method of organization?A.different countries and cities are discussed B.dates, months, and time of year are givenC.various organizations are discussedD.major people are names on what factor does speed of sound depend If the function f(x)=Mx+b has an inverse function , which statement must be true What are the domain and range of the function below? domain: (-40)range: (-2,00)domain: (-3,0)range: [-2.00)domain: (-0,00range: -2.00)domain: [-2.00)rangeCO Ruby is ordering some pizza! She has to pay for the cost of the pizza plus the cost of the delivery fee(cost per minute that it takes a the delivery driver to get to her house). The pizza cost $12, and it took 10 minutes for the delivery driver to get there. In total, she has to pay $15 please help I dont understand lol Please look at the image Diminished bone mineral density can result from inactivity. In contrast _______________ can stop if not reverse the loss of bone mineral density. how do you Calculate the area of shape in square units Which of the following are acid formulas? (Choose 2)NH3CH3OHNaOHHNO3H2SO4CH4