1. A steel tie rod on bridge be made withstand a pull of 3500lbs. find the
diameter of the rod assuming a factor of safety of 2.5 and ultimate stress of
5700psi.
( Ans d=1.398 in. )
How were African enslaved?
What sources does Daniel use to make his argument?
Does Yaa Gyasi fictional devotion of source raiding collerate with the historical experiences outline in Domingues day Silva's chapter?
Which of the following is the best definition for a hysteresis loop in materials science?
A) A non-linear force-extension curve for a material.
B) A non-linear stress-strain curve for a material.
C) A situation where the material response differs between loading and unloading.
D) Any situation showing a time-dependent response.
A political campaign manager wishes to survey a number of voters to estimate the proportion of those who are in favor of his candidate. If a previous survey shows that 55% of registered voters plans to vote for his candidate, what is the minimum sample size required to make his survey accurate with a 95% confidence level and a margin of error of 2.5%?
In the code editor, you are provided with a main() function that asks for an integer input from the user which represents the cash to be given to Lionel and passes it to the getGift() function call.
The getGift() function is already declared and partially defined. Your task is to complete the function definition.
The getGift() function multiplies the passed integer value by 3 and then checks if the result is even. If it is, the getGift() function adds 100 to the result. Otherwise, it adds 200 to the result.
The getGift() function would then return the result as the return type of this function is int.
Given code:
#include <iostream>
using namespace std;
int getGift(int);
int main(void) {
int cash;
cout << "Enter cash amount: ";
cin >> cash;
int result = getGift(cash);
cout << "I'm giving you P" << result;
return 0;
}
int getGift(int cash) {
// TODO: Implement the function definition
}
Your task is to define the sendApology() function with the following details:
a. Return type - void
b. Function name - sendApology
c. Parameters - a character and an integer.
The sendApology() function will first check if the character passed is either 's', 'o', 'r', or 'y'. If it is, print it based on the passed integer number of times. For example, if the passed integer is 5, then you need to print the character 5 times. Otherwise, just ignore it (i.e. don't do anything).
Do not edit the main() code.
This is the given code:
#include <iostream>
using namespace std;
int main(void) {
sendApology('s', 2);
sendApology('f', 10);
sendApology('b', 3);
sendApology('o', 5);
sendApology('r', 12);
sendApology('m', 5);
sendApology('v', 2);
sendApology('y', 7);
return 0;
}
void sendApology(char letter, int n) {
// TODO: Implement the function definition
}
What is the [OH] in a solution that has a pH = 4.02?
The market demand curve p=30-Q there are only two firms in the market each with marginal cost of $0 what is market price in the stackelberg model
A horizontal force of 0•80N is Required to pull A 5kg Block Across a table top at a constant speed. With the block initially at rest again. Determine the speed v of the bullet where the bullet is assumed to be embedded in the block.