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
Stels [109]
3 years ago
8

You are using a Jupyter Notebook to explore data in a DataFrame named productDF. You want to write some inline SQL by using the

following code, and visualize the results as a scatter plot: %%sql SELECT cost, price FROM product What should you do before running a cell with the %%sql magic? a. Create a new DataFrame named product from productDF.select("cost", "price") b. Persist the productDF DataFrame using productDF.createOrReplaceTempView("product") c. Filter the productDF dataframe using productDF.filter("cost == price") d. Rename the columns in the productDF DataFrame using productDF.withColumnRenamed("cost", "price")
Engineering
1 answer:
defon3 years ago
7 0
You need to explain it more simple as everyone is clueless
You might be interested in
the velocity of a particle is given by v=16t^2i+4t^3j+(5t+2k) m/s, where t is in seconds. if the particle is at the origin when
pshichka [43]

Answer:

80.16 m/s^2

at t=2 s

x=42.3 m

y=16 m

z=14 m

Explanation:

solution

The x,y,z components of the velocity are donated by the i,j,k vectors.

v_{x}=16t^{2}  \\v_{y}=4t^{3}\\v_{z}=5t+2

acceleration is a derivative of velocity with respect to time.

a_{x}=\frac{d}{dt} v_{x}=\frac{d}{dt}[16t^{2}]=32t\\a_{y}=\frac{d}{dt} v_{y}=\frac{d}{dt}[4t^{3}]=12t^{2} \\a_{z}=\frac{d}{dt} v_{z}=\frac{d}{dt}[5t+2]=5

evaluate acceleration at 2 seconds

a_{x} =32*2=64m/s^{2}\\ a_{y} =12*2^{2} =48m/s^{2}\\a_{z} =5m/s^{2}

the magnitude of the acceleration is the square root of the sum of the square of each component of the acceleration.

=\sqrt{a_{x}^2 +a_{y}^2+a_{z} ^2 } \\=\sqrt{64^2 +48^2+5 ^2 }\\=80.16m/s^2

position is the integral of velocity with respect to time position at a time can be found by taking by taking the definite intergral of each component.

x=\int\limits {v_{x} } \, dx=\int\limits^2_0 {{16t^2} \, dt=42.7m\\\\y=\int\limits {v_{y} } \, dx=\int\limits^2_0 {{4t^3} \, dt=16m\\\\\\\\\\z=\int\limits {v_{z} } \, dx=\int\limits^2_0 {{5t+2} \, dt=14m\\\\

3 0
3 years ago
One of the basic requirements of a servomotor is that it must produce high torque at all: a)Frequencies b)-Voltages c)-Loads d)-
Schach [20]

Answer: D) Speeds

Explanation:

Servomotor is an electromechanical device that contain feedback mechanism.

In servomotor, torque curve basically depicts that a motor can produce the amount of torque accordingly to the operating speed.

Servomotor are able to hold the heavier loads that is why it has ability to produced high torque in all range of speeds.

5 0
3 years ago
If noise levels are high enough that you have to raise
Nana76 [90]
It would be ten because your ten feet away
4 0
3 years ago
A 200-mm-long strip of metal is stretched in two steps, first to 300 mm and then to 400 mm. Show that the total true strain is t
Neko [114]

Explanation:

For true Strain:

step 1:

E true = Ln(1 + 0.5 ) = 0.40

Step 2:

E true = Ln(1 + 0.33 ) = 0.29

By single step process:

E true = Ln(1 + 1 ) = 0.69

total strain of step process = 0.40 + 0.29 = 0.69 units

SO TRUE STRAIN IS ADDITIVE.

4 0
3 years ago
Where do greywater pipes generally feed into?
Mekhanik [1.2K]

Answer:

c   Waste stack

Explanation:

7 0
3 years ago
Other questions:
  • Type a statement using srand() to seed random number generation using variable seedVal. Then type two statements using rand() to
    5·1 answer
  • Nitrate salts (NO3-), when heated, can produce nitrites (NO2-) plus oxygen (O2). A sample of potassium nitrate is heated, and th
    9·1 answer
  • 5. Identify the pros and cons of<br> manufactured siding.
    12·1 answer
  • When must an Assured Equipment Grounding Conductor Program (AEGCP) be in place?
    10·1 answer
  • .If aligned and continuous carbon fibers with a diameter of 6.90 micron are embedded within an epoxy, such that the bond strengt
    11·1 answer
  • Di hola por 10 puntos
    8·1 answer
  • Poems that focus on one image usually have what purpose? PLEASE HELP MEH!!
    7·2 answers
  • Evaluate, please show work as I don't understand. thanks
    5·1 answer
  • To understand the concept of moment of a force and how to calculate it using a scalar formulation.
    9·1 answer
  • A thin aluminum sheet is placed between two very large parallel plates that are maintained at uniform temperatures T1 = 900 K, T
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!