subject

Sweden and Norway are at war over who makes the best pickled herring. You are in charge of a Swedish artillery unit that is trying to shoot at some Norwegians located 1000 meters away at the same height as you are. If we neglect the friction of the air, the cannon ball follows a parabolic trajectory; as you certainly recall from prior courses, a cannon ball travels a distance : L = V2 sin(2 alpha)/g
where V is the initial velocity, is the angle of the cannon barrel, and g = 9.8 m/s is the gravitational acceleration.
You realize that you only have two options for how to shoot. Option (I) is to use 1 bag of gun powder, which produces an initial velocity of exactly V1 = 100 m/s, and to try to set the angle to alpha1,nominal = 40 0. Option (II) is to use 2 bags of gun powder, which produces exactly V2 = 140 m/s, and to try to set the angle to alpha2,nominal 15 0.
Now we use a new measuring instrument that is not perfect. It causes an uncertainty (i. e., error) in each measurement. Therefore, the traveling distance can be described according to an equation below, where error is a uniformly distributed random variable between [0,5].
A. If you set the angles exactly to the nominal ones, which option is the best? Hint: This is trivial - just calculate the lengths Li and LII of each shot. The problem is that the cannon is old with a rusty mechanism - you can't set the angle a to exactly the value you want. You can model the actual angle a as a random variable that is normally distributed around αnominal with a standard deviation of 1°. Under this scenario, which option is the best?
B. First solve it with pen-and-paper, by using the approximate formulas for the mean and standard deviation of a nonlinear function of a random variable (the "error-propagation formula")
C. Next solve it using numerical simulation. For each option (I and II), create N 10000 random angles and compute the value of L for each random angle. Suitable Matlab code would look something like
V = 100
alpha = pi/180* 40 + 1*randn (10000,1)
L·= V2 * sin(2*alpha) / 9.8 ;
Now that you have N samples of L, you can plot them in a histogram, and also compute the sample mean and sample standard deviation.
D. Compare the answers from parts (b) and (c). Which approach ("error-propagation formula" or random sampling) do you think is the more accurate? What are the errors in each approach (explain in words)?
E. Compare the conclusions i. e., which of options I or II is best) in parts (a) and (b-c). Is the answer clear in parts (b-c)?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Your task this week is to write a very simple spam classifier in python. it will classify messages as either spam (unwanted) or ham (wanted). the program will have a set of spam_words, words that are known to appear in spam messages. that set is included in the template file spam.pypreview the document. you will also define a spam threshold which reflects the allowed percentage of spam words in the message. you'll compute a 'spam indicator', which is the ratio of spam words to the total number of unique words in the message. if the spam indicator exceeds the spam threshold, the message is classified as spam. otherwise it is classified as ham. we'll assume that the spam threshold is a constant and has a value of 0.10. your program will prompt the user for a message and then will print the corresponding spam indicator with two decimal digits and the corresponding classification (spam or ham). the program will be case insensitive. the spam words are detected whether they are in lower case or upper case or mixed case. each word, spam or not, is counted once (even if it appears multiple times in the message.) the program will remove punctuation from the message before identifying the words and computing the spam indicator. for example '! ' must be identified as the spam word 'now'.
Answers: 3
question
Computers and Technology, 21.06.2019 23:00
What is one of the main problems that can occur when implementing a large number of new systems within an organization?
Answers: 1
question
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
You know the right answer?
Sweden and Norway are at war over who makes the best pickled herring. You are in charge of a Swedish...
Questions
question
Mathematics, 15.07.2019 15:30
question
Computers and Technology, 15.07.2019 15:30
Questions on the website: 13722363