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
cluponka [151]
1 year ago
10

Exercise 6.4.8: Sum Two Number

Engineering
1 answer:
kaheart [24]1 year ago
3 0

Below is the program with function that takes two arguments and returns their sum.

Coding part:

def add_num(a1,b1): /*function for addition*/

  sum=a1+b1

  return sum /*return value*/

num1z1=33  /*variable declaration*/

num2z2=78

print("The sum is",add_num(num1z1,num2z2)) /*call the function*/

What is Function?

A function is a piece of code that performs a specific task. It is callable and reusable multiple times. You can pass data to a function, and it can return data to you. Many programming languages include built-in functions that can be found in their libraries, but you can also write your own.

To learn more about Function, visit: brainly.com/question/17216645

#SPJ1

You might be interested in
An incoming signal is at a frequency of 500kHz. This signal needs to be acquired and all other signals attenuated. Design a pass
Finger [1]

Answer:

C_h = 0.166 nF

C_L = 0.153 nF  

Explanation:

Given:

- Ideal frequency f_o = 500 KHz

- Bandwidth of frequency BW = 40 KHz

- The resistance identical to both low and high pass filter = 2 Kohms

Find:

Design a passive band-pass filter to do this by cascading a low and high pass filter.

Solution:

- First determine the cut-off frequencies f_c for each filter:

           f_c,L for High pass filter:

                f_c,L = f_o - BW/2 = 500 - 40/2

                f_c,L = 480 KHz

          f_c,h for Low pass filter:

                f_c,h = f_o + BW/2 = 500 + 40/2

                f_c,h = 520 KHz

- Now use the design formula for R-C circuit for each filter:

           General design formula:

                 f_c = 1 /2*pi*R*C_i

           C,h for High pass filter:

                  C_h = 1 /2*pi*R*f_c,L

                  C_h = 1 /2*pi*2000*480,000

                  C_h = 0.166 nF          

           C,L for Low pass filter:

                  C_L = 1 /2*pi*R*f_c,h

                  C_L = 1 /2*pi*2000*520,000

                  C_L = 0.153 nF          

7 0
3 years ago
Consider a unidirectional continuous fiber-reinforced composite with epoxy as the matrix with 55% by volume fiber.i. Calculate t
ohaa [14]

Answer:

I)E= 40.95 GPa

II)E=5.29 GPa

Explanation:

I)

Given that

E₁ = 2.41 GPa  ,V₁=1-0.55 = 0.45

E₂ = 72.5 GPa   ,V₂=0.55

Longitudinal moduli  given as ;

E= E₁V₁+E₂V₂

E= 2.41 x 0.45 + 72.5 x 0.55 GPa

E= 40.95 GPa

II)

E₁ = 2.41 GPa  ,V₁=1-0.55 = 0.45

E₂ =230 GPa   ,V₂=0.55

Transverse moduli given as:

\dfrac{1}{E}=\dfrac{V_1}{E_1}+\dfrac{V_2}{E_2}

\dfrac{1}{E}=\dfrac{0.45}{2.41}+\dfrac{0.55}{230}

E=5.29 GPa

7 0
3 years ago
Calculate the frequencies (in Hz) for the ten lowest modes of a rigid-wall room of dimensions 2.59m x 2.42m x 2.82m (i.e., find
Digiron [165]

Answer:

For This Answer Please See the Attached File.

Explanation:

Download pdf
3 0
3 years ago
Who wants to play fortnite my name (JayIsABot13)
Blizzard [7]

Answer:

I'll play

Explanation:

I'm insane like so good at it

3 0
3 years ago
Read 2 more answers
The pressure distribution over a section of a two-dimensional wing at 4 degrees of incidence may be approximated as follows: Upp
Aliun [14]

Answer:

The lift coefficient is 0.3192 while that of the moment about the leading edge is-0.1306.

Explanation:

The Upper Surface Cp is given as

Cp_u=-0.8 *0.6 +0.1 \int\limits^1_{0.6} \, dx =-0.8*0.6+0.4*0.1

The Lower Surface Cp is given as

Cp_l=-0.4 *0.6 +0.1 \int\limits^1_{0.6} \, dx =-0.4*0.6+0.4*0.1

The difference of the Cp over the airfoil is given as

\Delta Cp=Cp_l-Cp_u\\\Delta Cp=-0.4*0.6+0.4*0.1-(-0.8*0.6-0.4*0.1)\\\Delta Cp=-0.4*0.6+0.4*0.1+0.8*0.6+0.4*0.1\\\Delta Cp=0.4*0.6+0.4*0.2\\\Delta Cp=0.32

Now the Lift Coefficient is given as

C_L=\Delta C_p cos(\alpha_i)\\C_L=0.32\times cos(4*\frac{\pi}{180})\\C_L=0.3192

Now the coefficient of moment about the leading edge is given as

C_M=-0.3*0.4*0.6-(0.6+\dfrac{0.4}{3})*0.2*0.4\\C_M=-0.1306

So the lift coefficient is 0.3192 while that of the moment about the leading edge is-0.1306.

5 0
3 years ago
Other questions:
  • Heather is troubleshooting a computer at her worksite. She has interviewed the computer’s user and is currently trying to reprod
    11·1 answer
  • ) A 20 ft horizontal beam is attached to a wall with a fixed support. If the beam is subjected to the distributed loads indicate
    12·1 answer
  • Koch traded Machine 1 for Machine 2 when the fair market value of both machines was $60,000. Koch originally purchased Machine 1
    10·1 answer
  • The combustion of the paraffin oil, which is a highly refined fossil fuel product similar to kerosene composed of C14-C16 hydroc
    8·1 answer
  • Part of a good computer posture is to sit up straight with feet flat on the floor t or f
    9·1 answer
  • 5) Initially, the pressure and temperature of steam inside a solid capsule is at 100-pound force per square inch absolute (psia)
    6·1 answer
  • If you owned a business, what are some of the ways you could follow green computing recommendations with regards to recycling an
    13·1 answer
  • Name four emerging technologies that could significantly impact how the construction industry conducts business.
    12·2 answers
  • How can you throw a ball as hard as you can and have it come back to you, even if it doesn't
    15·1 answer
  • On some engines after torquing cylinder head fasteners you must
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!