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
densk [106]
3 years ago
11

Draw the ipo chart for a program that reads a number from the user and display the square of that number ???Anyone please

Engineering
1 answer:
kompoz [17]3 years ago
5 0

Answer:

See attachment for chart

Explanation:

The IPO chart implements he following algorithm

The expressions in bracket are typical examples

<u>Input</u>

Input Number (5, 4.2 or -1.2) --- This will be passed to the Processing module

<u>Processing</u>

Assign variable to the input number (x)

Calculate the square (x = 5 * 5)

Display the result (25) ----> This will be passed to the output module

<u>Output</u>

Display 25

You might be interested in
Determine (a) the principal stresses and (b) the maximum in-plane shear stress and average normal stress at the point. Specify t
raketka [301]

Answer:

a) 53 MPa,  14.87 degree

b) 60.5 MPa  

Average shear = -7.5 MPa

Explanation:

Given

A = 45

B = -60

C = 30

a) stress P1 = (A+B)/2 + Sqrt ({(A-B)/2}^2 + C)

Substituting the given values, we get -

P1 = (45-60)/2 + Sqrt ({(45-(-60))/2}^2 + 30)

P1 = 53 MPa

Likewise P2 = (A+B)/2 - Sqrt ({(A-B)/2}^2 + C)

Substituting the given values, we get -

P1 = (45-60)/2 - Sqrt ({(45-(-60))/2}^2 + 30)

P1 = -68 MPa

Tan 2a = C/{(A-B)/2}

Tan 2a = 30/(45+60)/2

a = 14.87 degree

Principal stress

p1 = (45+60)/2 + (45-60)/2 cos 2a + 30 sin2a = 53 MPa

b) Shear stress in plane

Sqrt ({(45-(-60))/2}^2 + 30) = 60.5 MPa

Average = (45-(-60))/2 = -7.5 MPa

5 0
3 years ago
Technician A says that a voltage drop of 0.8 volts on the starter ground circuit is within specifications. Technician B says tha
Romashka-Z-Leto [24]

Answer:

Technician A is wrong

Technician B is right

Explanation:

voltage drop of 0.8 volts on the starter ground circuit is not within specifications. Voltage drop should be within the range of 0.2 V to 0.6 V but not more than that.

A spun bearing can seize itself around the crankshaft journal causing it not to move. As the car ignition system is turned on, the stater may draw high current in order to counter this seizure.

8 0
3 years ago
The longest_word function is used to compare 3 words. It should return the word with the most number of characters (and the firs
NARA [144]

Answer:

len(word2) >= len(word1) and len(word2) >= len(word3):

Question with blank is below

def longest_word(word1,word2,word3):

   if len(word1) >= len(word2) and len(word1) >= len(word3):

       word = word1

   elif _________________________________________

       word = word2

   else:

       word = word3

   return word

print(longest_word("chair","couch","table"))

print(longest_word("bed","bath","beyond"))

print(longest_word("laptop","notebook","desktop"))

print(longest_word("hi","cat","Cow"))

Explanation

In line 1 of the code word1, word2, and word3 are the parameters used to for the defining the longest_word function. They will be replaced by 3 words to be compared. The code that is filled in the blank is len(word2) >= len(word1) and len(word2) >= len(word3): It is a conditional statement that is true only if the number of characters in the string of word2 is greater than or equal to word1 and word2 is greater than that of word3 .

4 0
3 years ago
III. During January, at a location in Alaska winds at −27°C can be observed. However, several meters below ground the temperatur
Naya [18.7K]

Answer:

Not possible.

Explanation:

According to second law of thermodynamics, the maximum efficiency any heat engine could achieve is Carnot Efficiency η defined by:

\eta=1-\frac{T_{cold}}{T_{hot}}

Where

T_{hot} and T_{cold} are temperature (in Kelvin) of heat source and heatsink respectively

In our case (I will be using K = 273+°C) :

\eta=1-\frac{-27+273}{14+273}\\=0.1428

In percentage, this is 14.28% efficiency, which is the <em>maximum</em> theoretical efficiency <em>any</em> heat engine could have while working between -27 and 14 °C temperature. Any claim of more efficient heat engine between these 2 temperature are violates the second law of thermodynamics. Therefore, the claim must be false.

6 0
3 years ago
A point in the x-y plane is represented by its x-coordinate and y-coordinate. Design the class Point that can store and process
Black_prince [1.1K]

Answer:

#include <iostream>

#include <iomanip>

using namespace std;

class pointType

{

public:

pointType()

{

x=0;

y=0;

}

pointType::pointType(double x,double y)

{

this->x = x;

this->y = y;

}          

void pointType::setPoint(double x,double y)

{

this->x=x;

this->y=y;

}

void pointType::print()

{

cout<<"("<<x<<","<<y<<")\n";

}

double pointType::getX()

{return x;

}

double pointType::getY()

{return y;

}

private:

   double x,y;

};

int main()

{

pointType p2;

double x,y;

cout<<"Enter an x Coordinate for point ";

cin>>x;

cout<<"Enter an y Coordinate for point ";

cin>>y;

p2.setPoint(x,y);

p2.print();

system("pause");    

return 0;

}

5 0
3 years ago
Other questions:
  • A pitfall cited in Section 1.10 is expecting to improve the overall performance of a computer by improving only one aspect of th
    6·1 answer
  • Admission to an aquarium is $14 per person. There is also an IMAX theatre in the building, which charges $8 per ticket for a 3D
    8·1 answer
  • A closed system contains propane at 35°c. It produces 35 kW of work while absorbing 35 kW of heat. What is process? the temperat
    7·1 answer
  • Design a posttest-only experiment that would test each of the following causal claims. For each one, identify the study’s indepe
    13·1 answer
  • Ayuda con este problema de empuje y principio de arquimedes.
    6·1 answer
  • Before accurate distance standards, a cubit was the length of whose forearm?
    5·1 answer
  • How to walk a dog dududududududududesssss
    6·2 answers
  • A(94,0,14) B(52,56,94) C(10,6,48) D(128,64,10)
    6·1 answer
  • A light aircraft with a wing area of 200 ft^2 and a weight of 2000 lb has a lift coefficient of 0.39 and a drag coefficient of 0
    14·1 answer
  • The Web and Digital Communications pathway is broken down into four main categories of technology. Which category BEST describes
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!