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
Air enters a tank through an area of 0.2 ft2 with a velocity of 15 ft/s and a density of 0.03 slug/ft3. Air leaves with a veloci
Mademuasel [1]

Answer:

please find attached.

Explanation:

4 0
3 years ago
Engineering Questions
valkas [14]
5 is the correct one to choose for this
6 0
3 years ago
Read 2 more answers
True power can only be measured across what?
loris [4]

Answer: mets

Explanation: meets are good

6 0
3 years ago
Read 2 more answers
According to the
zysi [14]

Answer:

The part of the system that is considered the resistance force is;

B

Explanation:

The simple machine is a system of pulley  that has two pulleys

The effort, which is the input force at A gives the value of the tension at C and  D which are used to lift the load B

Therefore, we have;

A = C = D

B = C + D = C + C = 2·C

∴ C = B/2

We have;

C = B/2 = A

Therefore, with the pulley only a force, A equivalent to half the weight, B, of the load is required to lift the load, B

The resistance force is the constant force in the system that that requires an input force to overcome in order for work to be done

It is the force acting to oppose the sum of the other forces system, such as a force acting in opposition to an input force

Therefore, the resistance force is the load force, B, for which the input force, A, is required in order for the load to be lifted.

3 0
3 years ago
Sam decides to remove his oversized hooded jacket before he works near the pto driveline is it safe or unsafe
Salsk061 [2.6K]
Its safe because it isn't something with electricity
4 0
2 years ago
Other questions:
  • Explain the differences between 1- Energy 2- Power 3- Work 4- Heat Your answer should explain the mathematica and physical meani
    5·1 answer
  • Part of the basic procedures is the vehicle check. What does that mean?
    7·1 answer
  • The fluid-conditioning components of hydraulic-powered equipment provide fluid that is clean and maintained at an acceptable ope
    6·1 answer
  • What are the equipment requirements for windshields and side windows?
    13·1 answer
  • The shear force diagram is always the slope of the bending moment diagram. a)True b)- False
    14·1 answer
  • You talk with the owner and he likes the idea of using two large glulam beams as shown to carry the joist loads. Design the glul
    5·1 answer
  • WHAT IS THIS PLSSSSSS HELP
    13·1 answer
  • The temperature controller for a clothes dryer consists of a bimetallic switch mounted on an electrical heater attached to a wal
    12·1 answer
  • In the car industry, clay models are used to visualize and test new car designs.
    5·2 answers
  • Which of the following is not a function of the cooling system
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!