3. a) Draw a schematic diagram of an X-ray diffractometer. [4 marks]
b) The results of an X-ray diffraction experiment that used X-rays of wavelength 0.154 nm show the first 6 peaks at angles of 40.6°, 58.8°, 73.8°, 87.8°, 101.8°, and 116.4°.
i) Use this information to determine the possible crystal structures of the sample. [10 marks]
ii) An additional scan was performed on the sample and an additional peak was observed at an angle of 133.2°. Determine the crystal structure of the sample. [3 marks]
iii) Calculate the Miller indices for each of the measured peaks. [7 marks]
iv) Draw the orientation of the crystal plane within the unit cell corresponding to the peak at 101.8°. [3 marks]
v) Calculate the lattice constant and identify the sample. [3 marks]
In: Physics
Develop a program Grades.java that collects the user's (students) name, course name, and the score for three quizzes. You are supposed to read this data from the keyboard using the Scanner class. Calculate the total score and the average score.
Further, using the grading scale below, based on the average score computed above, your program should calculate and output a letter grade. and the range boundaries should be configured properly (i.e.: exactly 90 and above is an A, and anything less than 90 to exactly 80 is a B). The grading scale to use is as follows:
| Letter Category |
Average Score Range |
| A | 90 - 100 |
| B | 80 - 90 |
| C | 70 - 80 |
| D | 60 - 70 |
| E | 0 - 60 |
Note: The E Category is not a typo.
Declare the variables in the order studName, courseName, scoreQuiz_1, scoreQuiz_2, and scoreQuiz_3, totalScore, averageScore, and letterCategory. Make sure you declare the variables studName, courseName, and letterEvaluation as String class variables. Select proper data type for the variables totalScore and averageScore. The data type should support decimals. Use a constant variable NUM_OF_Quizzes to compute the average score.
Things to watch for: As you are determining your logic for your if statements in this project, consider that a percentage of 90.0 results in an A, 89.8 results in a B category, 79.12 results in a C category, and 69.994949 results in a D category. That last example is a bit extreme, but the idea is to not try to predict how many 9s after the decimal you need to account for. Just think of where the last boundary ends and where the next one begins, and how you might use your mathematical operators to account for that (is it less-than-or-equal-to, or just less than?).
Formatting: Import the package DecimalFormat to format the average score data. You do this by typing: import java.text.DecimalFormat; either below or above the line: import java.util.Scanner;
Then create a DecimalFormat object by typing: DecimalFormat df = new DecimalFormat("##.00"); either above or below the line Scanner scnr = new Scanner(System.in);
A format with 2 digits would be displayed by using the df as follows:
System.out.println("The average score is: "+df.format(averageScore));
Pseudocode: Prior to writing the Java code for the project, develop a document in pseudocode that outlines how the program will flow. Remember that there are no specific rules regarding pseudocode, but rather you should write pseudocode in a way that is human-readable and understandable (English for this assignment).
The following example is what your program might look like:
____________________________________________________________________________________
Your Score Card for Three Quizzes
Please enter your name : Julie Kimbal
Please enter your course you are taking : CS1400 Fundamentals of Programming
Please enter the score for quiz 1 : 77
Please enter the score for quiz 2 : 85
Please enter the score for quiz 3 : 79
The total score is 241.0
The average score is : 80.33
Thanks Julie Kimbal. Your grade for the 3 quizzes in CS1400 Fundamentals of Programming is a (n) B.
________________________________________________________________________________________________________________________
Experiment cases: Make sure that your program computes correct average scores for the following experiment cases:
| Quiz 1 | Quiz 2 | Quiz 3 | Average | Category | |
| Experiment case 1 | 67 | 58 | 54 | 59.67 | E |
| Experiment case 2 | 78 | 71 | 83 | 77.33 | C |
| Experiment case 3 | 89 | 90 | 93 | 90.67 | A |
You need to upload three files:
In: Computer Science
Explain what the author of International Trade: The Basics present as the 'second golden age of trade'. When and why did it happened and what is GATT that was created during this period.
In: Economics
Question 11
T/F. On Africa at the Crossroads, one author argued that developing
countries "determine which countries participate in the new global
re-division of labor."
In: Economics
In: Accounting
What are the global employment trends for the Product Management area? Describe what you learned from this research and cite the source: (Author, Year, URL or library database)
In: Operations Management
Daniel Kahneman, co-author of Thinking, Fast and Slow, asserts that cognitive biases often lead to errors in judgment. How can such errors impact stress and coping?
In: Psychology
suppose that you heard a famous author say, " Computer games are primarily for telling stories". Whether you agree or disagree with him, and explain why?
Solution plz?
In: Computer Science
Write a OOP class called BookList that uses a Book class and allows multiple books to be entered into a BookList object. Include normally useful methods and boolean addBook(Book b), Book searchBook(String title, String author). addBook returns true if b is successfully added to the list. searchBook returns a book matching either the title or author from the current list. You do not need to write Book (assume there are suitable constructors and methods) or any test code (main). You can write them if you wish. Use Java or other language if you wish; use any IDE or compiler.
In: Computer Science
Hydraulics & Hydrology
Problem Statement
The Romans were exquisite water engineers, and that without having at their disposal the modern tools and the knowledge we have today. Remember that Hydraulics and Hydrology as we know it now only came to be in the 1700’ when engineers started to put a fundamental framework together that is/was based on lab experiments and theoretical approaches and principles. Until then, you just “knew”. The Romans build all sorts of hydraulic systems, from irrigation canals, to water supply infrastructure, to the famed “hot baths” of Rome, to sewer systems, you name it. They realized that if you want water for different purposes at locations that were important to you that very often you had to get the water there because it just was not available in close proximity.
One of the marvelous feats they accomplished was to build water supply systems that would run over dozens of miles to convey water from sources to locations of need, typically the towns and cities they founded in their vast empire. They managed to do so by building a lot of infrastructure that withstood time and that, almost 2000 years later, is still in place for us to marvel at. Especially the many bridges that were built to cross valleys and gorges to keep the supply line flowing as an open channel are spectacular in their construction, such as the Pont du Gard, Segovia, and Aquila aqueducts.
Task:
In: Civil Engineering