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
Dima020 [189]
3 years ago
6

How the if condition works​

Engineering
1 answer:
Elis [28]3 years ago
4 0

The 'if' Statement is used for decision-making operations. It contains a body of code which runs only when the condition given in the 'if' statement is true. So, basically, you may say that, An 'if' statement is a programming conditional statement that, if proved true, performs a function or displays information.

You might be interested in
A 55-μF capacitor has energy ω (t) = 10 cos2 377t J and consider a positive v(t). Determine the current through the capacitor.
mart [117]

Given :

Capacitor , C = 55 μF .

Energy is given by :

\omega(t)=10cos^2 (377t)\ J .

To Find :

The current through the capacitor.

Solution :

Energy in capacitor is given by :

\omega=\dfrac{Cv^2}{2}\\\\v=\sqrt{\dfrac{2\omega}{C}}\\\\v=\sqrt{\dfrac{2\times 10cos^2 (377t)}{55\times 10^{-6}}}\\\\v=cos(337t)\sqrt{\dfrac{2\times 10}{55\times 10^{-6}}}\\\\v=603.02\ cos( 337t)

Now , current i is given by :

i=C\dfrac{dv}{dt}\\\\i=C\dfrac{d[603.02cos(337t)]}{dt}\\\\i=-55\times 10^{-6}\times 603.03\times 337\times sin(337t)\\\\i=-11.18\ sin(337t)

( differentiation of cos x is - sin x )

Therefore , the current through the capacitor is -11.18 sin ( 377t).

Hence , this is the required solution .

6 0
3 years ago
The solid spindle AB is connected to the hollow sleeve CD by a rigid plate at C. The spindle is composed of steel (Gs = 11.2 x 1
dalvyx [7]

Answer:

T_max = 12.63 kip.in

Ф_a = 1.093°

Explanation:

Given:

- The modulus of rigidity of solid spindle G_ab = 11.2 * 10^6 psi

- The diameter of solid spindle d_ab = 1.75 in

- The allowable stress in solid spindle τ_ab = 12 ksi

- The modulus of rigidity of sleeve G_cd = 5.6 * 10^6 psi

- The outer diameter of sleeve d_cd = 3 in

- The thickness of sleeve t = 0.25

- The allowable stress in sleeve τ_cd = 7 ksi

Find:

- The largest torque T that can be applied to end A that does not exceed allowable stresses and sleeve angle of twist 0.375°

- The corresponding angle through which end A rotates.

Solution:

- Calculate the polar moment of inertia of both spindle AB and sleeve CD.

   Spindle AB:    c_ab = 0.5*d_ab = 0.5(1.75) = 0.875 in

                           J_ab = pi/2 c^4 = pi/2 0.875^4 = 0.92077 in^4

   Sleeve CD:  c_cd1 = 0.5*d_cd = 0.5(3) = 1.5 in , c_cd2 = c_cd1 - t = 1.25

                     J_cd = pi/2 (c_cd1^4 - c_cd2^4)= pi/2(1.5^4-1.25^4) = 4.1172 in^4

- The stress criteria for maximum allowable torque in spindle AB:

                    T_ab = J_ab*τ_ab / c_ab

                    T_ab = 0.92077*12 / 0.875

                    T_ab = 12.63 kip.in

- The stress criteria for maximum allowable torque in sleeve CD:

                    T_cd = J_cd*τ_cd / c_cd1

                    T_cd = 4.1172*7 / 1.5

                    T_cd = 19.21 kip.in

- The angle of twist criteria for point D:

                    T_d = J_cd*G_cd*Ф / L

                    T_d = 4.1172*5.6*10^6*0.006545 / 8

                    T_d = 18.86 kip.in

- The maximum allowable Torque for the structure is:

                    T_max = min ( 12.63 , 19.21 , 18.86 )

                    T_max = 12.63 kip.in

- The angle of twist of end A:

                    Ф_a = Ф_a/d = Ф_a/b + Ф_c/d:

                    T_max* ( L_ab / J_ab*G_ab + L_cd / J_cd*G_cd)

                    12.63*(12/0.92*11.2*10^6 + 8/4.117*5.6*10^6)

                    0.01908 rads = 1.093°

3 0
3 years ago
What is a torque <br> what is a turns <br><br>​
kipiarov [429]
In physics and mechanics, torque is the rotational equivalent of linear force. It is also referred to as the moment, moment of force, rotational force or turning effect, depending on the field of study. The concept originated with the studies by Archimedes of the usage of levers
7 0
3 years ago
Select the correct answer. Sean is a recent engineering graduate who has joined a new company. Read the profiles of his colleagu
PSYCHO15rus [73]

Answer:

giving advertising to the governor with the state

4 0
3 years ago
A window‐mounted air‐conditioning unit (AC) removes energy by heat transfer from a room, and rejects energy by heat transfer to
Arada [10]

Solution :

Given :

The power of the air‐conditioning (AC) unit is , W = 0.434 kW

The coefficient of performance or the COP of the air‐conditioning (AC) unit is given by  = 6.22

Therefore he heat removed is given by , $Q_H = 6.22 \times 0.434$

                                                                     $Q_H = 2.7 \ kW $

Now if the electricity is valued at  0.10 dollar per kW hour, then the operating cost of the air conditioning unit in 24 hours is given by = 0.10 x 2.7 x 24

                                                                                            = 6.48

Therefore the operating cost = $ 6.48 for 24 hours.

3 0
3 years ago
Other questions:
  • I didn't understand the following matrix manipulation, as shown in the attached photo. How was it done?
    14·1 answer
  • Cuáles son los sentidos comunes que se pueden utilizar, para identificar un metal, gases o líquido
    7·1 answer
  • Resistance in a circuit that has 35 mA of current and 5.6 V applied equals.
    9·1 answer
  • When a power of 10 moves from the numerator to the denominator, the sign of the exponent changes true or false
    5·1 answer
  • 1. What's an object in your everyday life that has a lot of Kinetic Energy? How do you know it has a lot?
    5·1 answer
  • A 550 kJ of heat quantity needed to increase water temperature from 32°C to 80°C. Calculate the mass
    8·1 answer
  • The standard weight of copper tubing used most frequently in the heating and air-conditioning industry is
    12·1 answer
  • According to the video, what qualities do Traffic Technicians need? Check all that apply.
    14·1 answer
  • How do you build a engine best anwser will get marked as brainlist
    7·1 answer
  • 1. a major reason for the projected shortage of trained craft professionals is
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!