Need help with Python coding...
2.14 LAB: Using math functions
Given three floating-point numbers x, y, and z, output the square root of x, the absolute value of (y minus z) , and the factorial of (the ceiling of z).

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('%0.2f %0.2f %0.2f' % (your_value1, your_value2, your_value3))

Ex: If the input is:

5.0
6.5
3.2
Then the output is:

2.24 3.30 24.00

Answers

Answer 1

Answer:

6.5

24.00

it think it's my answer


Related Questions

What is software and what types of softwares?

Answers

Answer:

the programs and other operating information used by a computer

Explanation:

system software and application software

Answer:

Software is a group/collection of commands that tell a computer how to work/run. Software is the contrast for hardware which is a discussed topic in the software field.

Examples of software are, an Internet browser, Operating system, Movie player, Graphics program, etc.

Create a raptor program that asks to user to enter 10 numbers into an array. Then display all the numbers, the smallest and the largest. Be sure to add prompts and labels to your input and display.

Answers

This is the raptor program written in Python 3.8:

########################################################

ten_numbers = [ ]

# get the ten numbers

print("Enter 10 numbers")

for i in range(1, 11):

   num = int(input("[{ }] (Enter number and press enter to accept): ".format(i)))

   ten_numbers.append(num)

# get the smallest and the largest

smallest = min(ten_numbers)

largest = max(ten_numbers)

# display the results

print("The list of numbers is: { }".format(ten_numbers))

print("The smallest number in the list is { }, and the largest is

           { }.".format(smallest, largest))

########################################################

The raptor program

Uses a for loop to get the 10 numbers into a list. Then, it uses the in-built Python min and max functions to get the smallest and largest numbers in the list.

Learn more about Python lists here: https://brainly.com/question/24941798

Describe the advantages and disadvantages of password generator software. Would you recommend the use of such software for your own system

Answers

Answer:

he various advantages that can be associated with a password generator software are as follows: Any arbitrary long password can be generated using the complete set of symbols and not just a subset (usually the subset which is easier to type on a key

Explanation:

A security architect at a large, multinational organization is concerned about the complexities and overhead of managing multiple encryption keys securely in a multicloud provider environment. The security architect is looking for a solution with reduced latency to allow the incorporation of the organization's existing keys and to maintain consistent, centralized control and management regardless of the data location. Which of the following would best meet the architects objectives

a. trusted platform module
b. IaaS
c. HSMaaS
d. PaaS

Answers

Answer:

a. trusted platform module

i thinks it will help you

Explanation:

2. Build a MATLAB program to evaluate ln(x) between [1, 2] that guar- antees up to 10 correct decimal digits using Chebyshev interpolation. Evaluate your function on 100 points on the interval [1, 2] and calculate the absolute error fore each point using MATLAB’s log command as the exact solution. Plot your error profile. Does this agree with the expected level of accuracy?

Answers

who was the father computer

Why is it important to know the measurement of the component of the computer?

Answers

Computer has become very important nowadays because it is very much accurate, fast and can accomplish many tasks easily. Otherwise to complete those tasks manually much more time is required. It can do very big calculations in just a fraction of a second. Moreover it can store huge amount of data in it. CPU (Central Processing Unit)

It is the most important part of the computer as it performs the main function of information processing. It makes all the required calculations and processes data.

What are software applications?

Answers

Answer:

the first option is obviously the correct answer

What are the chances of a baby zombie to spawn in full golden armor in MC? ​

Answers

Answer:

Baby Zombies can spawn naturally in the Overworld, but they only have a 5% chance to spawn. The player can also spawn one with a Zombie Spawn Egg. Baby Zombies can also be found riding a Chicken, creating a Chicken Jockey.

Explanation:

It is very unlikely for a baby zombie to appear wearing shiny golden armor.

Why is this so?

It is not common for a zombie to appear with armor, and it is even rarer for a baby zombie to wear a full set of golden armor.

The chance of this event happening is different for each version and if any changes have been made to the game. However, in the regular MC with no changes, the chances are usually low.

Learn more about MC

https://brainly.com/question/20307830

#SPJ2

Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours. Example: If an employee works 60 hours in a week, they would earn $20/hr for the first 40 hours. Then they would earn $30/hr for the 20 hours they worked overtime. Therefore, they earned: ($20/hr * 40hrs) + ($30/hr * 20 hrs) = $800 + $600 = $1400 total. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee’s weekly paycheck.

Answers

Answer:

something like that

Explanation:

static bunch of krap main (args) {

    double hours;

    double salary;

    double overSalary;

   print("Enter hours worked: ");

   scan(hours);

    if (hours <= 40) {

       salary = 20 * hours;

    }

    if (hours > 40) {

       overSalary = 30 * (hours - 40);

       salary = 20 * 40 + overSalary;

     }

   

    print(salary);

}

In this exercise we have to use the knowledge of python to write a salary function, as follows:

the code is in the attached image.

In a more easy way we have that the code will be:

static bunch of krap main (args) {

   double hours;

   double salary;

   double overSalary;

  print("Enter hours worked: ");

  scan(hours);

   if (hours <= 40) {

      salary = 20 * hours;

   }

   if (hours > 40) {

      overSalary = 30 * (hours - 40);

      salary = 20 * 40 + overSalary;

    }

   print(salary);

}

See more about python at brainly.com/question/26104476

1. A is printed at the bottom of each page.​

Answers

Answer:

b is also printed at both page

Explanation:

I need to do because c can also pri Ted at all side

hope its help you

please mark as brainliest

Performing a vulnerability assessment on PCI DSS production systems, servers, and applications requires what types of applications and tools

Answers

Answer:

Q10. Performing a vulnerability assessment on PCI DSS production systems, servers, and applications requires what applications and tools? Answer:----------- Assessment tools, firewall applications Q11. Refer to the PCI DSS Self-Assessment

Explanation:

Write two statements to assign numApples with 10 and numOranges with 3. Sample output for given program: Apples: 10 Oranges: 3

Answers

numApples = 10

numOranges = 3

print(f"Apples: {numApples}")

print(f"Oranges: {numOranges}")

The statements should assign numApples with 10 and numOranges with 3.

The code is written in python.

The variable numApples is used to assign the number of apples and numOranges is used to assign the number of oranges.

The number of apples and oranges were outputted with the print statement in python.  

I used the f strings in python to concatenate strings and integers.

The bolded values in the code are python key words.

read more: https://brainly.com/question/13785329?referrer=searchResults

Create a program using python pseudo code

You are a manager of a Wally's Training Gym and you encourage your trainers to enroll new members. Input is the trainer's last name and the number of new enrollees. Output is the number of trainers who have enrolled members in each of three categories: 0-5 new members, 6-10 new members, and 11 to 15 new members. Write an application that allows the user to enter 15 names and the number of new members they have enrolled into an array. Output is to display the number of trainers who are in each category. Use good programming techniques that you have learned throughout the course. Use appropriate variable names, use an array to store the names and number of new enrollees, and use prompts for the input and labels with the display.

Answers

The program uses a loop and conditional statements.

Loops are used for iterations, while conditional statements are used to implement conditions

The program in Python, where comments are used to explain each line is as follows:

#This creates a list for the trainer's last names

lastName = []

#This creates a list for the members enrolled by each trainer

membersEnrolled = []

#The next three lines initialize counter variables to 0

count0to5 = 0

count6to10 = 0

count11to15 = 0

#The following loop is repeated 15 times

for i in range(15):

   #This prompts the user for the trainer's last name

   name = input("Trainer's last name: ")

   #This prompts the user for the members' enrolled

   member = int(input("Members Enrolled: "))

   #This appends the last name to the list

   lastName.append(name)

   #This appends the members enrolled to the list

   membersEnrolled.append(member)

   #This counts the number of members enrolled in each group

   if member >=0 and member<=5:

       count0to5+=1

   elif member >=6 and member<=10:

       count6to10+=1

   elif member >=11 and member<=15:

       count11to15+=1

#The next three lines print the counter variables

print(count0to5,"enrolled 0 to 5 members")

print(count6to10,"enrolled 6 to 10 members")

print(count11to15,"enrolled 11 to 15 members")

Read more about similar programs at:

https://brainly.com/question/13246781

. A binary search has a right subtree but no left subtree. What noes contains that least element in the tree

Answers

The root node will contain the smallest element

Have you ever written a program, saved a version, then later saved a different version and wish you could tell what changed

Answers

Answer:YES

Explanation:

Y

No I haven’t tbhhhhh

Cloud computing brings the ability to scale both technologically and business-wise using a pay-as-you-go paradigm, allowing the users to concentrate more resources and time on their ideas (Edlund & Livenson, 2011). Please write a technical report about the opportunities and challenges on adoption of cloud computing in a real or fictional business case.

Answers

The opportunities that can be gotten from the adoption of cloud computing include:

More resources will be available for data protection.More data security.More employment opportunities.

The challenges that can be gotten from the adoption of cloud computing include:

Separation failure.Data transfer bottlenecks.Public management interface issues.

It should be noted that cloud computing means the delivery of different services through the internet. Such resources include applications and tools such as data storage, databases, servers, etc.

Cloud computing is vital as it helps in enhancing data security and job opportunities. The challenges include data transfer bottlenecks, separation failure, etc.

Read related link on:

https://brainly.com/question/25532807

Match each word to its correct meaning.
central processing unit
file
graphical user interface
hardware
interrupts
kernel
memory

Answers

Answer:

Central Processing Unit (CPU)

=

The chip that runs the basic operations of the computer, abbreviated CPU

File

=

a collection of data, such as a program or document

Graphical User Interface (GUI)

=

images displayed on the screen that enables the user to interact with the computer

Hardware

=

Physical parts of the computer, such as the motherboard or hard disk

Interrupts

=

Breaks in the action of a program using the operating system

Kernel

=

Core program of a computer operating system

Memory

=

Format for storage of digital data

Hope this helps :)

the input nums is supposed to be an array of unique integers ranging from 1 ro nums.length (inclusive). However, there is a mistake: one of the numbers in the array is replicated, which means another number is missing. find and return he sum of the duplicate number and the missing number

Answers

The program which returns the sum of the duplicate and missing number is written in python 3 thus ;

def dup(nums):

#initialize a function which takes In a list of values as argument.

nums.sort()

#sort the values in ascending order

for i in range(1, len(nums)):

#iterate through the list

if nums[i] == nums[i-1]:

#Check for repeated values

return nums[i] + nums[i]-1

#return the sum of the repeated values - 1

nums = [4,3,3,1]

print(dup(nums))

A sample run of the program is attached.

Learn more : https://brainly.com/question/25574075

what is the meaning of keyboard?​

Answers

A panel of keys that operate a computer or typewriter.

Explanation:

keyboard is an input device that feeds the computer will data

vA student found a book on the library bookshelf last week, and recorded the source information.

Book title: My Traitor’s Heart Author: Rian Malan

Publication date: 1990 Publisher: Bodley Head Publication city: London

Use the drop-down menus to indicate how the student should format this source on a works-cited list.


My Traitor’s Heart.
London:

Answers

Answer:

3,1,2,1

Explanation:

got it right on edge

have a nice day

:)

Answer:

1. Malan, Rian

2. London:

3. Bodley Head, 1990

4. Print

Explanation:

did it

the document area is where you save your file true or false

Answers

Answer:

A few popular places to save files are under “desktop” or “documents" and then in a specific folder. If you saved the file to your desktop, you do not need to go through finder to access it. You can simply minimize all your windows, and click on it there. Double click on the file and you're ready to open it.

Explanation: TRUE. A.

what is the internet revolution?

Answers

The answer is B.
Hope this helps.

Answer:B

Explanation:

1. Give one reason why data is represented in binary in a computer [1]
2. How many bits in a byte? [1]
3. How many bytes are there in a MB? Include your working.

Answers

Answer:

1) Computers use voltages and since voltages changes often, no specific voltage is set for each number in the decimal system. For this reason, binary is measured as a two-state system i.e. on or off. Also, to keep calculations simple and convert into binary online, computers use the binary number system

2) 8 bits

3) 1000000 bytes

4. When working at the CLI in Linux, you specify the exact location of a file, which is the ____________________ to it, by beginning with a forward slash (/) to indicate the root directory.

Answers

Command line interface is used in form of a messenger conversation with your computer. You specify the exact location of a file, which is the pwd to it.

The Command Line Interface (CLI), is said to be a non-graphical, text-based interface attached to the computer system.

It is where the user input in a command and the computer then successfully executes it.

The Terminal is known to gives the command line interface (CLI) environment to the user.

The pwd command is simply known to be used in determining an exact folder location or path in Terminal.

Learn more from

https://brainly.com/question/25435538

Which operating system might cause the desktop background to change unexpectedly?

A.) boot failure

B.) startup loop

C.) malware

D.) incompatibility

Answers

Answer:

C.) Malware

A boot failure would not load the desktop, same with a startup loop and incompatibility.

What is data?........​

Answers

Answer:

[tex]\huge\bold\green{Data\ :- }[/tex]

In computing, data is information that has been translated into a form that is efficient for movement or processing. Relative to today's computers and transmission media, data is information converted into binary digital form. ... Raw data is a term used to describe data in its most basic digital format.

Which famous British physicist wrote A Brief History of Time?​

Answers

Answer:

Stephen Hawking

A user tries to open a movie in Windows Media Player but no image is displayed and only audio plays Which software must be installed on the computer?​

Answers

There are software that are often installed in systems for audio player. The software must be installed on the computer is Codec.

Codec is simply refered to as a short form for the word coder-decoder. It is known as an algorithm that is often used when encoding data. Example an audio or video clip.

The encoded data is often decoded as it is played back.

It act by limiting the size of media file and it also increases the processing power that is needed to play the file back correctly.

Learn more from

https://brainly.com/question/14338673

Kayla is on-location shooting a wedding while her other employees will be holding down the office and taking care of any walk-ins. Kayla left them written reminders and instructions for some things that they need to take care of in her absence. How did Kayla MOST LIKELY leave these instructions?

A.
in shot lists being created for upcoming events

B.
in purchase orders for equipment that needs to be ordered

C.
in memos she wrote prior to leaving

D.
by telling the models who would be photographed that day

Answers

Answer: A

Explanation:

In short lists being created for upcoming events did Kayla MOST LIKELY leave these instructions. Hence, option A is correct.

What is short lists?

Every camera shot that needs to be recorded in a scene for a video production is listed in detail on a shot list.

A shot list, created by the director and cinematographer during pre-production, is a thorough list of each shot that must be taken on a particular shoot day. Its main objective is to deconstruct a scene into detailed phases that can be used as a guide for your day of shooting.

A shot list is a breakdown of each shot of each scene and the order in which you plan to shoot them, whereas a storyboard shows your cinematographer and production designer your vision for each specific scene.

Thus, option A is correct.

For more information about short lists, click here:

https://brainly.com/question/13099126

#SPJ2

Need help with these plss correct answers
Explain the difference between linear and non-linear motion. What are examples of each kind of motion?

Imagine that an animated film is going to show a character who, although frightened, climbs a narrow mountain trail. What is one of the 12 principles of animation that you learned about in this unit that the animator might want to use in this scene?

Describe how you would use the principle of “staging” in a scene in an animated film that shows a triumphant moment in a soccer game played in a large stadium.

Describe a situation where an animator might choose to intentionally violate the principle of “slow in and slow out.”

Imagine that you had been given the task of animating a crab walking along the seashore. How would you use the animation principle of secondary action to make the scene appear more realistic?

Answers

Answer: The only thing i could find was this I hope this helps you out

Timing and Spacing: The number of frames between two poses, and how those individual frames are placed.

Squash and Stretch: The flexibility of objects to exaggerate or add appeal to a movement.

Anticipation: The setup for an action to happen.

Ease In and Ease Out: The time for acceleration and deceleration of movement.

Follow Through and Overlapping Action: The idea that separate parts of the body will continue moving after a character or object comes to a full stop, and the idea that parts of the body will move at different times.

Arcs: The principle that smooths animation and moves action in a realistic way.

Exaggeration: The pushing of movement further to add more appeal to an action.

Solid Drawing: The accuracy of volume, weight, balance, and anatomy.

Appeal: The relatability (or charisma) of a character.

Straight Ahead Action and Pose to Pose: The spontaneous and linear approach to creating an action using many in-between poses along with the main poses, and the more methodical approach to creating an action using only a few poses.

Secondary Action: The actions that emphasize or support the main action of the animation.

Staging: The setting up of the scene, from placement of characters to the background and foreground elements, to how the camera angle is set up, the lighting and shadows, and more.

Explanation:

Answer:

1. Linear motion is motion in a straight line. Non-linear motion is motion that is not in a straight line. For example when you move your pen in a line it is linear.

2. They might use something to show the mountain and show how big it is. Using effects like this can bring out certain parts and bring out what really is trying to be shown in a movie.

3. The camera angle of the soccer game and the follow with the ball being shown can give a staging looking for what is coming or what is important in that time.

4. You can use it to show how fast a car is going or to show where a person is at on a map in a 3rd person view

5. I would use Arcs because it smooths out the image or video to make whatever your trying to make look more realistic.

Other Questions
notah decides to buy a new phone.He pays $ up front and then will pay the same amount each month for 8 months.The total cost of the phone is $600.How much will Notah pay each month? what river runs through london in the united kingdom? brainly heeeeeellllllpppp mmmmeeeee Part 3 What is the probability that out of 125 babies born, at least 50 will be girls? Assume that boys and girls are equally probable, and round your answer to the nearest tenth of a percent.A. 70.4%B. 99.0%C. 10.5%D. 51.2% Which sentence best completes the diagram?The unemployment ratedeclines> *blank box*A. Per capita GDP increases.B. Money is worth less.C. Investment increases.O D. More citizens have jobs. all persons born or naturalized in the united states When a company recognizes a cash revenue event that is subject to state sales tax, the balance in the Cash account increases by ______ the amount of revenue. who wrote the favonius survival rulebook for klee? An unknown hydrocarbon compound was analyzed for hydrogen by elemental analysis and results show that it contains 15.88 % H. What is the empirical formula Arms are to folded as legs are to : a) crossed b) stand c) sit d) long Which statement best describes the difference between a substance with a pH of 2.0 versus a substance with a pH of 4.0?a(1 point)O The substance with a pH of 2.0 would have 100 times as many hydrogen ions per volume of water.o The substance with a pH of 4.0 would have 100 times as many hydrogen ions per volume of water.O The substance with a pH of 4.0 would have twice as many hydrogen ions per volume of water.O The substance with a pH of 2.0 would have twice as many hydrogen ions per volume of water. Describe Proctors inner conflicts & emotions during this scene. Support your answer with textual evidence.Type here. (a) Evaluate Do you think Wat Tyler should have believed King Richard when the king agreed to all of his demands? Why? (b) Speculate Did Tyler actually believe King Richard when he agreed to these demands? Explain your answer.Chapter: from The Worms of the Earth Against the Lions by Barbara Tuchman The video title refers to a pay cut for the CEO. What prompted the board of directors to take this action What are 4 enzymes responsible for digestion along with their substrate and end product A flywheel, rotating about its axis at a rate of 4 rev/s is acted upon by a torque of 25 Nm for 10 sec. If the wheel has moment of inertia of 1.2 kgm^2, what would be the speed of the wheel at the end in rev/s? Pleasantville police officers Fred and Barney were dispatched to investigate a robbery alarm call at the Hop-In liquor store. Central dispatch advised the responding units that they had attempted to call the store by phone, but there had been no answer. Upon arrival at the Hop-In, responding officers found the front door standing wide open and a male store clerk lying on the floor inside, deceased from an apparent gunshot wound to the chest. The cash register was empty and the store had been ransacked.Officers quickly reviewed the stores security videotape for evidence. The video depicted two male suspects, one wearing a red hooded sweatshirt and the other wearing a green T-shirt and blue baseball cap. Officers broadcast the suspects descriptions to other Pleasantville officers, and within an hour, two suspects were under arrest for the robbery and murder of the store clerk. The suspects were identified as Larry and Moe. Larry and Moe were booked into the Pleasantville jail and placed in separate cells pending follow-up by Pleasantville detectives.The following morning Detective Smith interviewed the suspects separately about the robbery and murder. Detective Smith advised each of the suspects of his rights under Miranda. Both Larry and Moe refused to make any statement (invoking their Fifth Amendment protections) and demanded that they be placed back in their respective cells. Detective Smith called for jail guards to take the suspects back to their cells. As the guards were doing so, they noticed graffiti on the jail cell walls. In Moes cell, the wall read, Sorry God for what I have done, no one was meant to die. In Larrys cell, the wall read, I am innocent of murder, I may be guilty of robbery, but I didnt kill anyone, it was Moe!Larry and Moe are charged criminally for the robbery and murder of the store clerk. During the trial the prosecutor attempts to enter the writings on the jail cell walls as evidence against both defendants. The prosecutor calls the jail guards as witnesses to testify that the graffiti writings were not on the wall prior to Larry and Moe being placed in their individual cells. The attorneys for Larry and Moe object to the writings being admitted as evidence. They base their objection on the fact that each defendant had clearly invoked his Fifth Amendment rights.The judge advises the courtroom that she will need a few minutes to review the defendants objection and orders the court into a thirty-minute recess. Now it is your turn to be the judge. While reviewing defense counsels objection, you must decide the following:1.Should the writings be allowed into the trial as evidence?2.Can Moe's writing be used against him? Why or why not?3.Can Larry's writing be used against him? Why or why not?4.Can Larrys writings be used against Moe? Why or why not? Los conectores logicos de equivalencia indican que las ideas mencionadas son inhales o se parecen? Can someone tell me the answer and how did you get it please !!! Which statement is true,please anwser i put more pointsA, Individual genes are made of chromosomesB, Most genes are made up of more than one DNA moleculeC, Some inherited traits influence more than one geneD, Inherited traits develop because of the instructions in the gene