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
For the Mohr's circle of a plane-strain element, which of the following changes as a result of shear strain change?
OverLord2011 [107]

Answer:

B

Explanation:

only the radius of the circle as a result of shear strain change.

3 0
2 years ago
A heat recovery system​ (HRS) is used to conserve heat from the surroundings and supply it to the Mars Rover. The HRS fluid loop
blagie [28]

Answer:

0.304 L of Freon is needed

Explanation:

Q = mCT

Q is quantity of energy that must be removed = 47 BTU = 47×1055.06 = 49587.82 J

C is specific heat of Freon = 74 J/mol.K = 74 J/mol.K × 1 mol/120 g = 0.617 J/g.K

T is temperature in the area of Mars = 189 K

m = Q/CT = 49587.82/(0.617×189) = 452.23 g = 452.24/1000 = 0.45223 kg

Density of Freon = specific gravity of Freon × density of water = 1.49 × 1000 kg/m^3 = 1490 kg/m^3

Volume of Freon = mass/density = 0.45223/1490 = 0.000304 m^3 = 0.000304×1000 = 0.304 L

7 0
2 years ago
There have been many attempts to manufacture and market plastic bicycles. All have been too flexible and soft. Which design-limi
Sladkaya [172]

Answer:

The design-limiting property that insufficiently large is the elastic modulus (Young modulus)

Explanation:

Plastic usually have a relatively low elastic modulus, this couses the material to deform too much under stress. In the case of a bicycle, a little weight you put on it or little bumps will cause the bicycle to deform too much.

5 0
3 years ago
Gtjffs
grandymaker [24]

the required documents is 3000

4 0
2 years ago
Briefly discuss if it would be better to operate with pumps in parallel or series and how your answer would change as the steepn
Aleksandr [31]

Answer:

1) In series, the combined head will move from point 1 to point 2 in theory. However, practically speaking, the combined head and flow rate will move along the system curve to point 3.

2) In parallel, the combined head and volume flow will move along the system curve from point 1 to point 3.

Explanation:

1) Pump in series:

When two or more pumps are connected in series, their resulting pump performance curve will be obtained by adding their respective heads at the same flow rate as shown in the first diagram attached.

In the first diagram, we have 3 curves namely:

- system curve

- single pump curve

- 2 pump in series curve

Also, we have points labeled 1, 2 and 3.

- Point 1 represents the point that the system operates with one pump running.

- Point 2 represents the point where the head of two identical pumps connected in series is twice the head of a single pump flowing at the same rate.

- Point 3 is the point where the system is operating when both pumps are running.

Now, since the flowrate is constant, the combined head will move from point 1 to point 2 in theory. However, practically speaking, the combined head and flow rate will move along the system curve to point 3.

2) Pump in parallel:

When two or more pumps are connected in parallel, their resulting pump performance curve will be obtained by adding their respective flow rates at same head as shown in the second diagram attached.

In the second diagram, we have 3 curves namely:

- system curve

- single pump curve

- 2 pump in series curve

Also, we have points labeled 1, 2 and 3

- Point 1 represents the point that the system operates with one pump running.

- Point 2 represents the point where the flow rate of two identical pumps connected in series is twice the flow rate of a single pump.

- Point 3 is the point where the system is operating when both pumps are running.

In this case, the combined head and volume flow will move along the system curve from point 1 to point 3.

5 0
2 years ago
Other questions:
  • A water jet jump involves a jet cross-sectional area of 0.01 m2 , and a jet velocity of 30 m/s. The jet is surrounded by entrain
    6·1 answer
  • - The four leading causes of death in the
    5·2 answers
  • The heat input to an Otto cycle is 1000kJ/kg. The compression ratio is 8 and the pressure and temperature at the beginning of th
    8·1 answer
  • Plot the following trig functions using subplots, choosing an appropriate layout for the number of functions displayed. The subp
    8·1 answer
  • Although the viscoelastic response of a polymer can be very complex (time-dependent stress cycling for instance), two special lo
    11·1 answer
  • While there are many ways to solve this problem, one strategy is to calculate the volume of any metal's unit cell given its theo
    14·1 answer
  • URGENT PLEASE HELP!!!
    11·1 answer
  • A moving-coil instrument, which gives full-scale deflection with 0.015 A has a copper coil having resistance of 1.5 Ohm at 15°C
    7·1 answer
  • A train travels 650 meters in 25 seconds. What is the train's velocity?
    9·1 answer
  • How to plot 0.45 gradation chart for sieve analysis ?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!