Answer:
The main problem is the incorrect use of assignment operator, the correct way to check if two number are equal is
num1==num2
Explanation:
Here we have a created a simple function which takes two input arguments num1 and num2. In the body of the function we have used if condition to find out whether the two number are equal or not. If condition is true then print that values are equal. If condition is false then print that values are not equal. In the driver code, we have called the function two times with different values of num1 and num2 to check if it is working correctly.
The implementation logic is same in all these programming languages, the only difference the syntax.
Python Code:
def checkEquality(num1, num2):
if num1 == num2:
print("The values are equal.")
else:
print("The values are not equal.")
Driver Code:
checkEquality(2,5)
checkEquality(3,3)
Output:
The values are not equal.
The values are equal.
C++ Code:
void checkEquality(int num1, int num2) {
if (num1 == num2)
cout<<"The values are equal."<<endl;
else
cout<<"The values are not equal."<<endl;
}
Driver Code:
#include <iostream>
using namespace std;
void checkEquality(int num1, int num2);
int main()
{
checkEquality(2,5);
checkEquality(3,3);
return 0;
}
Output:
The values are not equal.
The values are equal.
I need pointskjjjjjjhhhhhhhhhhhhhhhbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Answer:n=0.973
Explanation:
Given
When True strain
at 
When True stress
=346.2 MPa
true strain
=0.226
We know

where
=True stress
=true strain
n=strain hardening exponent
k=constant
Substituting value


Divide 1 & 2 to get


Taking Log both side

n=0.973
Answer:
work will be positive when it is under polytropic expansion process
Explanation:
It states a polytropic process with n equal to 1.67. there is a polytropic expansion that mean work is positive and if it was polytropic compression then it would be negative
Also work during the process of polytropic is given as
the work will be positive when it is under the polytropic expansion process
Answer:
a)Wt =25.68 lbf
b)Wt = 150 lbf
F= 899.59 N
Explanation:
Given that

m= 150 lbm
a)
Weight on the spring scale(Wt) = m g
We know that

Wt = 150 x 5.48/32 lbf
Wt =25.68 lbf
b)
On the beam scale
This is scale which does not affects by gravitational acceleration.So the wight on the beam scale will be 150 lbf.
Wt = 150 lbf
If the plane is moving upward with acceleration 6 g's then the for F
F = m a
We know that


a=6 g's

So
F = 90 x 9.99 N
F= 899.59 N