Answer:
// Program is written in C++
// Comments are used to explain some lines
// Only the required function is written. The main method is excluded.
#include<bits/stdc++.h>
#include<iostream>
using namespace std;
int divSum(int num)
{
// The next line declares the final result of summation of divisors. The variable declared is also
//initialised to 0
int result = 0;
// find all numbers which divide 'num'
for (int i=2; i<=(num/2); i++)
{
// if 'i' is divisor of 'num'
if (num%i==0)
{
if (i==(num/i))
result += i; //add divisor to result
else
result += (i + num/i); //add divisor to result
}
}
cout<<result+1;
}
Answer:
Option A - fail/ not fail
Explanation:
For this given problem, if the yield strength is now 45 ksi, using Distortion Energy Theory the material will _fail______ and using the Maximum Shear Stress Theory the material will ___not fail_______
Answer:
See explaination
Explanation:
See attachment for the detailed step by step solution of the given problem.