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
Marrrta [24]
2 years ago
13

Guess the output of this code: print( (3**2)//2)​

Engineering
1 answer:
Lorico [155]2 years ago
5 0

the answer is 2

kids simple just multiply 3 by 2 which gets the answer as 6 then divide 6 by 2 then it comes to again 2 and that is a simple answer...

You might be interested in
A cylindrical 1045 steel bar is subjected to repeated compression-tension stress cycling along its axis. If the load amplitude i
Gre4nikov [31]

Answer:

13.4 mm

Explanation:

Given data :

Load amplitude ( F )  = 22,000 N

factor of safety ( N )= 2.0

Take ( Fatigue limit stress amplitude for this alloy ) б = 310 MPa

<u>calculate the minimum allowable bar diameter to ensure that fatigue failure will not occur</u>

minimum allowable bar diameter = 13.4 * 10^-3 m ≈ 13.4 mm

<em>attached below is a detailed solution</em>

3 0
2 years ago
Which of the following ranges depicts the 2% tolerance range to the full 9 digits provided?
Lyrx [107]

Answer:

the only one that meets the requirements is option C .

Explanation:

The tolerance of a quantity is the maximum limit of variation allowed for that quantity.

To find it we must have the value of the magnitude, its closest value is the average value, this value can be given or if it is not known it is calculated with the formula

         x_average = ∑ x_{i} / n

The tolerance or error is the current value over the mean value per 100

         Δx₁ = x₁ / x_average

         tolerance = | 100 -Δx₁  100 |

bars indicate absolute value

let's look for these values ​​for each case

a)

    x_average = (2.1700000+ 2.258571429) / 2

    x_average = 2.2142857145

fluctuation for x₁

        Δx₁ = 2.17000 / 2.2142857145

        Tolerance = 100 - 97.999999991

        Tolerance = 2.000000001%

fluctuation x₂

        Δx₂ = 2.258571429 / 2.2142857145

        Δx2 = 1.02

        tolerance = 100 - 102.000000009

        tolerance 2.000000001%

b)

    x_average = (2.2 + 2.29) / 2

    x_average = 2,245

fluctuation x₁

         Δx₁ = 2.2 / 2.245

         Δx₁ = 0.9799554

         tolerance = 100 - 97,999

         Tolerance = 2.00446%

fluctuation x₂

          Δx₂ = 2.29 / 2.245

          Δx₂ = 1.0200445

          Tolerance = 2.00445%

c)

   x_average = (2.211445 +2.3) / 2

   x_average = 2.2557225

       Δx₁ = 2.211445 / 2.2557225 = 0.9803710

       tolerance = 100 - 98.0371

       tolerance = 1.96%

       Δx₂ = 2.3 / 2.2557225 = 1.024624

       tolerance = 100 -101.962896

       tolerance = 1.96%

d)

   x_average = (2.20144927 + 2.29130435) / 2

   x_average = 2.24637681

       Δx₁ = 2.20144927 / 2.24637681 = 0.98000043

       tolerance = 100 - 98.000043

       tolerance = 2.000002%

       Δx₂ = 2.29130435 / 2.24637681 = 1.0200000017

       tolerance = 2.0000002%

e)

   x_average = (2 +2,3) / 2

   x_average = 2.15

   Δx₁ = 2 / 2.15 = 0.93023

   tolerance = 100 -93.023

   tolerance = 6.98%

   Δx₂ = 2.3 / 2.15 = 1.0698

   tolerance = 6.97%

Let's analyze these results, the result E is clearly not in the requested tolerance range, the other values ​​may be within the desired tolerance range depending on the required precision, for the high precision of this exercise the only one that meets the requirements is option C .

4 0
3 years ago
An equal-tangent sag vertical curve (with a negative initial and a positive final grade) is designed for 55 mi/h. The PVI is at
Varvara68 [4.7K]

Answer:

The lowest point of the curve is at 239+42.5 ft where elevation is 124.16 ft.

Explanation:

Length of curve is given as

L=2(PVT-PVI)\\L=2(242+30-240+00)\\L=2(230)\\L=460 ft

G_2 is given as

G_2=\frac{E_{PVT}-E_{PVI}}{0.5L}\\G_2=\frac{127.5-122}{0.5*460}\\G_2=0.025=2.5 \%

The K value is given from the table 3.3 for 55 mi/hr is 115. So the value of A is given as

A=\frac{L}{K}\\A=\frac{460}{115}\\A=4

A is given as

-G_1=A-G_2\\-G_1=4.0-2.5\\-G_1=1.5\\G_1=-1.5\%

With initial grade, the elevation of PVC is

E_{PVC}=E_{PVI}+G_1(L/2)\\E_{PVC}=122+1.5%(460/2)\\E_{PVC}=125.45 ft\\

The station is given as

St_{PVC}=St_{PVI}-(L/2)\\St_{PVC}=24000-(230)\\St_{PVC}=237+70\\

Low point is given as

x=K \times |G_1|\\x=115 \times 1.5\\x=172.5 ft

The station of low point is given as

St_{low}=St_{PVC}-(x)\\St_{low}=23770+(172.5)\\St_{low}=239+42.5 ft\\

The elevation is given as

E_{low}=\frac{G_2-G_1}{2L} x^2+G_1x+E_{PVC}\\E_{low}=\frac{2.5-(-1.5)}{2*460} (1.72)^2+(-1.5)*(1.72)+125.45\\E_{low}=124.16 ft

So the lowest point of the curve is at 239+42.5 ft where elevation is 124.16 ft.

3 0
3 years ago
Write a program that prompts the user to enter time in 12-hour notation. The program then outputs the time in 24-hour notation.
Juliette [100K]

Answer:

THE CODE FOR THE PROGRAM IS GIVEN BELOW:

#include <iostream>

#include "ConvertTimeHeader.h"

using namespace std;

int main()

{

convertTime convert;

int hr, mn, sc = 0;

 

cout << "Please input hours in 12 hr notation: ";

cin >> hr;

cout << "Please input minutes: ";

cin >> mn;

cout << "Please input seconds: ";

cin >> sc;

 

convert.invalidHr(hr);

convert.invalidMin(mn);

convert.invalidSec(sc);

convert.printMilTime();

 

system("Pause");

 

return 0;  

 

}

#include <iostream>

#include "ConvertTimeHeader.h"

using namespace std;

int convertTime::invalidHr (int hour)

{

try{

 if (hour < 13 && hour > 0)

  {hour = hour + 12;

  return hour;}

 else{

 

  cin.clear();

  cin.ignore();

  cout << "Invalid input! Please input hour again in correct 12 hour format: ";

  cin >> hour;

  invalidHr(hour);

  throw 10;

 }

   

}

catch (int c) { cout << "Invalid hour input!";}

}

int convertTime::invalidMin (int min)

{

try{

 if (min < 60 && min > 0)

  {return min;}

 else{

 

  cin.clear();

  cin.ignore();

  cout << "Invalid input! Please input minutes again in correct 12 hour format: ";

  cin >> min;

  invalidMin(min);

  throw 20;

  return 0;

 }

   

}

catch (int e) { cout << "Invalid minute input!" << endl;}

}

int convertTime::invalidSec(int sec)

{

try{

 if (sec < 60 && sec > 0)

  {return sec;}

 else{

 

  cin.clear();

  cin.ignore();

  cout << "Invalid input! Please input seconds again in correct 12 hour format: ";

  cin >> sec;

  invalidSec(sec);

  throw 30;

  return 0;

 }

   

}

catch (int t) { cout << "Invalid second input!" << endl;}

}

void convertTime::printMilTime()

{

cout << "Your time converted: " << hour << ":" << min << ":" << sec;

}

Explanation:

4 0
3 years ago
Consider a W21x93. Determine the moment capacity of the beam. Assume the compression flange is not laterally braced and that the
OLga [1]

Answer:

The answer is "828.75"

Explanation:

Please find the correct question:

For W21x93 BEAM,

Z_x = 221.00 in^3 \\\\\to \frac{b_t}{2t_f} =4.53\\\\\to \frac{h}{t_w}=32.3

For A992 STREL,

F_y= 50\  ks

Check for complete section:

\to \frac{b_t}{2t_f} =4.53 < \frac{65}{\sqrt{f_y = 9.19}}\\\\\to \frac{h}{t_w} =32.3 < \frac{640}{\sqrt{f_y = 90.5}}

Design the strength of beam =\phi_b Z_x F_y\\\\

                                                =0.9 \times 221 \times 50\\\\=9945 \ in \ \ kips\\\\=\frac{9945}{12}\\\\= 828.75 \ft \ kips \\

8 0
3 years ago
Other questions:
  • The development team recently moved a new application into production for the accounting department. After this occurred, the Ch
    6·1 answer
  • Tech A says that thrust angle refers to the direction the front wheels are pointing. Tech B says that scrub radius refers to the
    8·1 answer
  • An air conditioner using refrigerant-134a as the working fluid and operating on the ideal vapor-compression refrigeration cycle
    7·2 answers
  • The attached program (studentsGpa.cpp) uses dynamic allocation to create an array of strings. It asks the user to enter a number
    10·1 answer
  • If Fred has already measured 14 inches of a table measuring 30 inches. How many inches does he need to measure more?
    15·1 answer
  • Determine the force in members FD and DB of the frame. Also, find the horizontal and vertical components of reaction the pin at
    15·1 answer
  • Is the MI-24 Hind the most widely exported combat helicopter in the world?
    14·1 answer
  • Which word from the passage best explains what the web in the passage symbolizes
    10·1 answer
  • An ideal gas is contained in a closed assembly with an initial pressure and temperature of
    14·1 answer
  • A technician is building a high-performance gaming pc. which two items should the technician focus on selecting parts for the ma
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!