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
In a food processing facility, a spherical container of inner radius r1 = 40 cm, outer radius r2 = 41 cm, and thermal conductivi
Rashid [163]

Answer:

attached below

Explanation:

5 0
3 years ago
Fluid power is a. The technology that deals with the generation, control, and transmission of power-using pressurized fluids b.
snow_tiger [21]

Answer:  a) The technology that deals with the generation, control and transmission of power using pressurized fluids

Explanation: Fluid power is defined as the fluids which are under pressure and then are used for generation,control and transmit the power. Fluid power systems produces high forces as well as power in small amount . These systems usually tend to have better life if maintained properly. The force that are applied on this system can be monitored by gauges as well as meter.

8 0
3 years ago
PLEASE QUICK!!! what phrase describes an ad hominem fallacy?
Igoryamba

Answer:

personal attack

Explanation:

it is personal attack

5 0
3 years ago
¿Qué aditivo se debe incorporar a la masa de hormigón para aumentar su resistencia frente a los ciclos alternados de hielo-deshi
tamaranim1 [39]

Answer:

Los aditivos que deben incorporarse a la masa de concreto para aumentar su resistencia a los ciclos alternos de congelación y descongelación son;

1. Agentes de arrastre de aire (AEA) o

2. Materiales poliméricos súper absorbentes

Explanation:

La resistencia alterna de los ciclos de congelación y descongelación en el concreto puede aumentarse mediante la adición de agentes de arrastre de aire.(AEA) que es un surfactante, crea burbujas de aire muy pequeñas en el concreto resultante para mejorar la durabilidad y resistencia del cemento al ciclo repetido de congelación y descongelación o materiales poliméricos súper absorbentes

Ejemplos de agentes de arrastre de aire son;

Sulfonatos alcalinos

Acidos de resinas sulfonadas

Sales de ácidos grasos

Ejemplos de materiales poliméricos superabsorbentes son;

SAP0.26CT

SAP0.39PT.

6 0
3 years ago
Systematic searching is a skill that takes ________ to master.
bagirrra123 [75]

Answer: B, repetitive practice! hope this helps. :)

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylindrical containe
    5·1 answer
  • What is the purpose of a heater core
    5·2 answers
  • Give the approximate temperature at which creep deformation becomes an important consideration for each of the following metals:
    5·1 answer
  • Please help i will give brainilest
    12·2 answers
  • Which of the following was a sustainable power source used during the Middle Ages?
    9·2 answers
  • A step-up transformer has 20 primary turns and 400 secondary turns. If the primary current is 30 A, what is the secondary curren
    15·1 answer
  • How might an operations manager alter operations to meet customer demand? Name at least two ways.
    7·1 answer
  • Consider the function f(x)=/x/
    5·1 answer
  • The loneliest people are to kindest
    14·2 answers
  • 'Energy' has the potential to:
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!