1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Artyom0805 [142]
3 years ago
7

4. Calculate the square root of potato using the sqrt() function. Print out the value of potato again to verify that the value o

f potato hasn't changed.
Engineering
1 answer:
N76 [4]3 years ago
8 0

Answer:

potato<-100

print(potato)

sqrt(potato)

potato<-potato*2

print(potato)

Explanation:

The complete question is as follows

Create a variable called potato whose value corresponds to the number of potatoes you’ve eaten in the last week. Or something equally ridiculous. Print out the value of potato.

Calculate the square root of potato using the sqrt() function. Print out the value of potato again to verify that the value of potato hasn’t changed.

Reassign the value of potato to potato * 2.

Print out the new value of potato to verify that it has changed

The question was answered using R programming language.

At line 1, I assumed that I ate 100 potatoes in the previous week.

So, potato = 100

At line 2, the value of potato is printed as 100.

At line 3, the square root of potato is calculated using sqrt function: Square for of 100 = 10

At line 4,the initial value of potato is doubled and stored in potato variable. 100 * 2 = 200

At line 5, the new value of potato is printed: 200.

You might be interested in
if both the ram air input and drain hole of the pitot system become blocked, the indicated airspeed will
egoroff_w [7]

If both the ram air input and drain hole of the pitot system become blocked, the indicated airspeed will: a) increase during a climb.

<h3>What is a ram air input?</h3>

A ram air input can be defined as an air intake system which is designed and developed to use the dynamic air pressure that is created due to vehicular motion, or ram pressure, in order to increase the static air pressure within the intake manifold of an internal combustion engine of an automobile.

This ultimately implies that, a ram air input allows a greater mass-flow of air through the engine of an automobile, thereby, increasing the engine's power.

In conclusion, indicated airspeed will increase during a climb when both the ram air input and drain hole of the pitot system become blocked.

Read more on pilots here: brainly.com/question/10381526

#SPJ1

Complete Question:

If both the ram air input and drain hole of the pitot system become blocked, the indicated airspeed will

a) increase during a climb

b) decrease during a climb

c) remain constant regardless of altitude change

6 0
2 years ago
Following are several z-transforms. For each one, determine inverse z-transform using both the method based on the partial-fract
tigry1 [53]

Answer:

For now the answer to this question is only for partial fraction. Find attached.

6 0
3 years ago
¿Qué es la masonería?​
timofeeve [1]

Answer: freemasonry is Being a Mason is about a father helping his son make better decisions; a business leader striving to bring morality to the workplace; a thoughtful man learning to work through tough issues in his life.

Explanation:

3 0
3 years ago
The increasing interconnections of peoples and countries around the world is known as ________.
Irina18 [472]
I think it’s rationalization.
Hope this helps
4 0
3 years ago
Read 2 more answers
5 cause of a electrical problem​
cupoosta [38]

Answer:

1. Poor circuit protection

2.Grounding issue

3. lighting problem

4. Electrical shocks

5. High electricity bills

Explanation:

8 0
3 years ago
Other questions:
  • Exceeding critical mach may result in the onset of compressibility effects such as:______.
    6·1 answer
  • A truck is hauling a 300-kg log out of a ditch using a winch attached to the back of the truck. Knowing the winch applies a cons
    14·1 answer
  • -0-1"<br> -0<br> -20<br> -15<br> -10<br> 0<br> -5
    9·1 answer
  • A satellite would have a mass of 270 kg on the surface of Mars. Determine the weight of the satellite in pounds if it is in orbi
    12·1 answer
  • You have been assigned to design an open cylindrical storage tank 4 meters tall with a diameter of 8 meters to be made out of A-
    13·1 answer
  • PLEASE HELP AND ANSWER MY OTHER QUESTIONS!,
    7·1 answer
  • g A thin-walled pressure vessel 6-cm thick originally contained a small semicircular flaw (radius 0.50-cm) located at the inner
    5·1 answer
  • 12. Never spray brakes with a high-pressure stream of water or air because it could blow asbestos fibers into the air.
    8·1 answer
  • True or false for the 4 questions?
    8·1 answer
  • What is a voltage divider circuit and how do you calculate the voltage across one element in a series
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!