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
Lena [83]
2 years ago
5

For the R function shown below(Attachment):

Engineering
1 answer:
Virty [35]2 years ago
5 0

Answer:

The given function will return an integer in term of j on each iteration of while loop. However, it is noted that this program has some syntax error. The complete code executed in an online R compiler with explanation is given below

Explanation:

def<-function(j){

               k=0;

               i=1;

               while (i<j**3) #j raise to power 3

                   {

               

                   k<-k+1;#k=k+1

                   i <- i*2;#i=i*2

                   print(k);#

               }

 

    }

 def(6)# if you pass the value 6 to function def(j)

You might be interested in
Which of the following activities will allow an engineer to determine that a building's design is sound?
zhannawk [14.2K]
Please add more details because I don’t know if you are using a book or passage, therefore I cannot help you unless you add more detail
3 0
3 years ago
To read signs you need good focal vision
kow [346]

Answer:eyesight

Explanation:

7 0
3 years ago
Read 2 more answers
Why is it important to know where your online information comes from?
statuscvo [17]

It is very important to know where online information comes from in order to validate, authenticate and be sure it's the right information

<h3>What are online information?</h3>

Online informations are information which are available on the internet such as search engines, social handles and other websites

In conclusion, it is very important to know where online information comes from in order to validate, authenticate and be sure it's the right information

Learn more about online information:

brainly.com/question/921157

#SPJ1

5 0
2 years ago
Please help me do this with my exam tomorrow.
blagie [28]

Answer:

ddddddddddddddddddddddddddddd

Explanation:

cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

6 0
2 years ago
True or false a critique of hazwoper incidents that have occurred in the past year should not be included in hazwoper 8 hour ref
Jobisdone [24]

Answer:

False

Explanation:

No matter if something happened in the past year or so, it still should be included for safety reasons so it wont happen again

7 0
3 years ago
Other questions:
  • Compare automation and autonomous
    12·1 answer
  • For what two reasons do countries specialize? Countries specialize so that opportunity costs can be increased. Countries special
    13·1 answer
  • Plz answer all of these questions!
    15·1 answer
  • In a heat-treating process, a 1-kg metal part, initially at 1075 K, is quenched in a closed tank containing 100 kg of water, ini
    10·1 answer
  • The rolling process is governed by the frictional force between the rollers and the workpiece. The frictional force at the entra
    5·1 answer
  • Consider the equation y = 10^(4x). Which of the following statements is true?
    9·1 answer
  • What have you learned from the previous lesson? Let's try to check your prior knowledge
    9·1 answer
  • Some wire of radius is 1.262mm has a resistance of 20Ω. Determine the resistance of a wire of the same length and material if th
    14·2 answers
  • what do we call a landslide in which fine-grained soil moves cohesively but with extensive internal shearing?
    8·1 answer
  • What is the primary damage control telephone circuit for
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!