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
The transfer function of a typical tape-drive system is given by
maw [93]

Answer:

the range of K can be said to be :  -3.59 < K< 0.35

Explanation:

The transfer function of a typical tape-drive system is given by;

KG(s) = \dfrac{K(s+4)}{s[s+0.5)(s+1)(s^2+0.4s+4)]}

calculating the characteristics equation; we have:

1 + KG(s) = 0

1+   \dfrac{K(s+4)}{s[s+0.5)(s+1)(s^2+0.4s+4)]} = 0

{s[s+0.5)(s+1)(s^2+0.4s+4)]} +{K(s+4)}= 0

s^5 + 1.9 s^4+ 5.1s^3+6.2s^2+ 2s+K(s+4) = 0

s^5 + 1.9 s^4+ 5.1s^3+6.2s^2+ (2+K)s+ 4K = 0

We can compute a Simulation Table for the Routh–Hurwitz stability criterion Table as  follows:

S^5             1                     5.1                          2+ K

S^4            1.9                   6.2                           4K

S^3             1.83            \dfrac{1.9 (2+K)-4K}{1.9}          0

S^2        \dfrac{11.34-1.9(X)}{1.83}       4K                         0

S          \dfrac{XY-7.32 \ K}{Y}        0                            0

\dfrac{1.9 (2+K)-4K}{1.9} = X

 

\dfrac{11.34-1.9(X)}{1.83}= Y

We need to understand that in a given stable system; all the elements in the first column is usually greater than zero

So;

11.34  - 1.9(X) > 0

11.34  - 1.9(\dfrac{3.8+1.9K-4K}{1.9}) > 0

11.34  - (3.8 - 2.1K)>0

7.54 +2.1 K > 0

2.1 K > - 7.54

K > - 7.54/2.1

K > - 3.59

Also

4K >0

K > 0/4

K > 0

Similarly;

XY - 7.32 K > 0

(\dfrac{3.8+1.9K-4K}{1.9})[11.34  - 1.9(\dfrac{3.8+1.9K-4K}{1.83}) > 7.32 \ K]

0.54(2.1K+7.54)>7.32 K

11.45 K < 4.07

K < 4.07/11.45

K < 0.35

Thus the range of K can be said to be :  -3.59 < K< 0.35

4 0
3 years ago
Cual es el impacto medioambiental del mortero?
ddd [48]

Explanation:

La industria del acero desecha gran cantidad de polvos, los que acopiados al aire libre, sobre el suelo y sometidos a ¡a acción de los agentes climáticos, contaminan el medio ambiente. El propósito del presente trabajo es evaluar el impacto ambiental que produce la incorporación de polvos de acería a matrices de cemento portland, sometidas a condiciones de humedad, presión y temperatura. Se caracterizó químicamente el material de desecho de una acería de Argentina, para identificar los elementos presentes. Por difractometría de rayos X (XRD) se determinaron las estructuras de las sustancias y su grado de oxidación. Se utilizó SEM-EDAX con el propósito de observar forma, tamaño y composición química de las partículas. Se elaboraron diferentes morteros de cemento Portland y se incorporó este material en diferentes porcentajes. Se moldearon probetas normalizadas para realizar ensayos mecánicos, de lixiviación y estudios petrográficos. Se analizó la composición química del agua de curado de las probetas y del líquido obtenido en ensayos de lixiviación. Los resultados permitieron identificar y cuantificar los elementos peligrosos que pueden se incorporados al ambiente y sugerir medidas de prevención.

3 0
3 years ago
Degreasers can be broken down into two main categories what are they
kvv77 [185]

Answer:

water based and solvent based

Explanation:

i need 20 characters to give you this answer, but I'm guessing water displaces grease and solvents chemically react with the grease like a detergent

5 0
4 years ago
Using the Distortion-Energy failure theory: 8. (5 pts) Calculate the hydrostatic and distortional components of the stress 9. (1
WITCHER [35]

Answer:

Detailed solution is given below:

7 0
4 years ago
Select the correct answer. Why should engineers keep themselves updated on the technological developments in their field? OA. to
Nataly_w [17]
OD is the correct answer
5 0
3 years ago
Other questions:
  • Many companies are combining their online business activities with an existing physical presence. In about 100 words, explain wh
    11·1 answer
  • Please read
    6·1 answer
  • Is any one there <br><br>I am 1m b0r3d<br>I will mark you as Brainliest
    5·2 answers
  • A field sample of an unconfined aquifer is packed in a test cylinder. The length and diameter of the cylinder are 50 cm and 6 cm
    9·1 answer
  • There is no charge at the upper terminal of the ele- ment in Fig. 1.5 for t 6 0. At t = 0 a current of 125e-2500t mA enters the
    11·1 answer
  • What is the type of the car which has no gasoline as a fuel, but hydrogen or water?​
    12·2 answers
  • La osteoporosis puede presentarse en la epoca de el embaraso y la lactancia
    9·1 answer
  • If a vehicle is built with a top speed of 140 mph, what should its tires minimum speed
    5·1 answer
  • What regulates labeling of food, drugs, and cosmetics?
    10·2 answers
  • How many hours must be traveled by car for each hour of rock climbing to make the
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!