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
Is a water proof material used around tubs and
Leviafan [203]
I think it’s hard board
4 0
3 years ago
Read 2 more answers
A photovoltaic panel of dimension 2m×4m is installed on the
blsea [12.9K]

Answer:

Explanation:

Simply put, a solar panel works by allowing photons, or particles of light, to knock electrons free from atoms, generating a flow of electricity. Solar panels actually comprise many, smaller units called photovoltaic cells. (Photovoltaic simply means they convert sunlight into electricity. The attached diagram give an ilustsration of the photovotaic pannel mounted on a roof top.

Solution

To Determine the electric power generated for

a) A still summer day.

E = A * r * H * PR

E = Total Amount of Energy in kilowatt

A = Total Surface Area

r = efficiency Rating

H = global radiation value

PR = Performance Ratio

kwh = watt * Time/1000

kwh = 100 * 35/1000

3.5

b)

kwh = watt * Time/1000

kwh = 30 *15/1000

4.5

6 0
3 years ago
A strong base (caustic or alkali) is added to oils to test for: b. entrained air a)- alkalinity b)- acidity c)- contamination. d
fredd [130]

Answer:

A strong base(caustic or alkali) is added to oils test for stability

option (d) is correct

Explanation:

Formation of emulsion involves mixing together of measured volumes of specific concentrations of crude oil and sodium hydroxide (NaOH) solution. the viscosity of the emulsion and its type is determined and then this emulsion is made to rest for a long time in order to determine its stability.

7 0
3 years ago
If a bolt is broken off flush with a surface, and the bolt is large enough in diameter, then you may be able to use a small ____
mina [271]

Answer:

A is the answer

Explanation:

3 0
3 years ago
Read 2 more answers
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
Other questions:
  • The 150-lb man sits in the center of the boat, which has a uniform width and a weight per linear foot of 3 lb&gt;ft. Determine t
    9·1 answer
  • Two wafer sizes are to be compared: a 156-mm wafer with a processable area = 150mm diameter circle and a 312-mm wafer with a pro
    10·1 answer
  • A standby generator powered by and internal combustion engine has a rated capacity of 100kW. Assuming that the generator is 90%
    8·1 answer
  • A tensile load of 6.9 kN is applied on a copper rod with diameter of 12 mm. (a) What is the maximum normal stress in the rod? (b
    12·1 answer
  • The first electricity producing wind turbine was invented in what year?*
    6·1 answer
  • A 2.15-m3 rigid tank initially contains air whose density is 1.18 kg/m3. The tank is connected to a high-pressure supply line th
    12·2 answers
  • Which option identifies the tool best to use in the following scenario?
    13·1 answer
  • Which of the following is not true about manufacturing employment in the U.S?
    15·1 answer
  • TIMED TEST!!!!!!!!!!!!What process that occurred in the Midwestern United States in the 1930s is now occurring in the Sahel regi
    5·1 answer
  • Faster air movement over an airfoil creates a _________ pressure field, which in turn allows lift.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!