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]
3 years ago
5

For the R function shown below(Attachment):

Engineering
1 answer:
Virty [35]3 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
Given frequency, what is the formula for the period of a wave?
Veronika [31]

Answer:

f = c / λ = wave speed c (m/s) / wavelength λ (m). The formula for time is: T (period) = 1 / f (frequency). λ = c / f = wave speed c (m/s) / frequency f (Hz). The unit hertz (Hz) was once called cps = cycles per second.

Explanation:

7 0
3 years ago
Do you think for security reasons everything that happens on the internet should be analyzed by the public security services ?
givi [52]

Answer: yes

Explanation: People post bad things that i think should get taken down i was on an app the other day and people were posting bad things

8 0
3 years ago
Alternating current flows in___ direction(s) and direct current flows in___direction(s)
Oduvanchick [21]

Answer:

<u><em>both, one</em></u>

Explanation:

<em>Alternating current flows in both directions and direct current flows in one  direction.</em>

<em></em>

<em>Hope it helps.</em>

<em>;)</em>

<em><3</em>

8 0
3 years ago
This graph shows the US unemployment rate from<br> August 2010 to November 2011
MrRissso [65]

The graph could help an economist predict that how many people will be out of work in the next year. The correct option is c.

<h3>What is unemployment?</h3>

Unemployment is the condition where people who have knowledge or eligible for doing job, but they are not getting job. Unemployment is the scarcity of jobs.

The options are attached:

a. how the government will address unemployment.

b. why workers might have a harder time finding jobs.

c. how many people will be out of work in the next year.

d. why producers might hire fewer workers in the future.

Thus, the correct option is c. how many people will be out of work in the next year.

Learn more about unemployment

brainly.com/question/14227610

#SPJ1

3 0
2 years ago
¿Qué aspecto importante debemos conocer en el ámbito del
german
I would help but don’t speak that sorry
8 0
3 years ago
Other questions:
  • The 30-kg gear is subjected to a force of P=(20t)N where t is in seconds. Determine the angular velocity of the gear at t=4s sta
    9·1 answer
  • Nc3
    12·1 answer
  • Timken rates its bearings for 3000 hours at 500 rev/min. Determine the catalog rating for a ball bearing running for 10000 hours
    7·1 answer
  • Fill in the blank to correctly complete the statement below.
    10·1 answer
  • What are practical considerations you might encounter when you increase the moment of inertia (I) while keeping the cross-sectio
    13·1 answer
  • Uestion 10
    12·1 answer
  • Select the correct answer <br><br> What is the simplest definition of a manufacturing process?
    5·2 answers
  • What do you think the top TWO game elements are that directly contribute to player immersion?
    15·1 answer
  • When you multiply monomials with the same variables, you multiply the coefficients and add the exponents!
    12·1 answer
  • Flip-flops are normally used for all of the following applications, except ________. logic gates data storage frequency division
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!