There are six runners in the 100-yard dash. How many ways are there for three medals gold, silver and bronze to be awarded if ties are possible
Q: Goal Seek function in Excel - Select the incorrect answer a. The changing cell in Goal Seek should…
A: - We have to select the incorrect option for the Goal seek function in Excel. - The options ::…
Q: You need to take a trip by car to another town that you have never visited before. Therefore, you…
A: Actually, given information You need to take a trip by car to another town that you have never…
Q: Celebrity problem A celebrity among a group of n people is a person who knows nobody but is known by…
A: ANS: - Option(c) is correct. This problem can be solved by Decrease-by-a-constant algorithm.
Q: Lucky Pairs Richie and Raechal are participating in a game called "Lucky pairs" at the Annual Game…
A: Since no programming language is mentioned, I am using python. Algorithm: Start Read A,B,N values…
Q: choose a dozen of donuts from 20 verities a) If there are no two donuts of the same variety b) If…
A: Ans- Here our target is to find that no two donuts of the same variety- the number of possible…
Q: 7. s] A transport consultant has created a file of information about trips collected from…
A: - We need to have the flowchart for the devised algorithm.
Q: “The Parchment Book Publishers” Case Study “The Parchment” book publishers is a small publishing…
A: Project Report On “The Parchment Book Publishers” Submitted By R.Gayathri
Q: ISCRETE STRUCTURE Thirteen people on a softball team show up for a game a) how many ways are there…
A: According to the Question below the Solution:
Q: Introduction Some number of teams are participating in a race. You are not told how many teams are…
A: C++ which refers to the one it is an object oriented Programming language and it is used to create…
Q: Propose a different solution to the use of traffic lights; they can use pseudocode or some preferred…
A: The answer is
Q: 10 - In an examination, 500 students appeared. Out of these students, 38 % got A+ grade, 45 % got B+…
A: Program to find the number of students who got A+, B+ and the number of students who just passed.
Q: It is required to implement a MATLAB program By using "user define function" that used to: Read…
A: % init matlab martix age = []; no = []; name = []; patientID = []; height = []; weight = []; % get…
Q: INDIVIDUAL WORK#8: Read a positive number v and calculate the minimum number of terms that need to…
A: As no programming language is mentioned it is solved using basic C++
Q: Use pseudocode to write a recursive algorithm for calculating the sum of the first n non-negative…
A: Answer in step2
Q: Question 4 - Algorithm Design Imagine you are a treasure hunter standing at one side of the river.…
A: The subject of dynamic programming is a powerful problem-solving technique used in computer science…
Q: Bad News Bearers Introduction There is some bad news to be delivered, and X has taken on the…
A: Answer: Step 1(INTRODUCTION) This is a basic programming problem named "Jospehus Circle" Since…
Q: Sequential Money Problem (Coin Row) • Suppose there are n coins lined up side by side on a table;…
A: a) coins should not be picked from the adjacent sides. b) The picked up coins must be maximum…
Q: Subject / Operation Research You need to visit a city you have never been to before and you want to…
A: The shortest path problem is a fundamental problem in graph theory, which involves finding the…
Q: In an experiment to determine the spring constant of an elastic cord of length 0.60 m, a student…
A: I have provided the answer based on Matlab Programming. Detailed comments are included for a better…
Q: Problem D: Different Dice Game Consider the following game for two players: The first player rolls a…
A: solution: Given, Different Dice Game Consider the following game for two players: The first…
Q: Moon effect. Some people believe that the Moon controls their activities. If the Moon moves from…
A:
Q: Your program must first ask the user for the board dimensions. Then, the program asks the user if…
A: Code for the given question is below:
Q: Assume that you are a production manager in a factory that produces fresh orange juice. On any given…
A: It is defined as a general purpose programming language and widely used now a days for competitive…
Q: Vocabulary Task (C language) Solution given below. How to fix the error in the picture attached.…
A: Below is the complete solution with explanation in detail for the given question about the fixing…
Q: ICT can provide both opportunities and challenges to humanity. The Internet can offer modes for…
A: Media is considered as one of the most powerful tools in providing information to people or in…
Q: Write a function named longestword that is use to compare words from the string vector named as…
A: Answer: clc; close all; clear all; %clears command window word = input("Enter vector word:"); %take…
Q: Exams.cpp) Suppose a teacher weights the four exams he gives 10%, 25%, 30%, and 35%. Write a program…
A: We have to create one C++ program which can solve the given problem and display the expected output.…
Q: Single Lane Highway Problem Description Certain number of cars are passing a single lane road.…
A: from itertools import permutationsimport math # def get_count(d): # c=0 # for i in d: #…
Q: a) Ivan is not wearing sandals or it is not spring. b) It is false that "Ivan is wearing sandals or…
A: The two statements are p - Ivan is wearing sandals q - It is spring
Q: Problem Description: Standard telephone keypads contain the digits zero through nine. The numbers…
A: Write a program that, given a seven-digit number, uses a PrintStream object to write to a file every…
Q: Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south,…
A: Start the program.Read an integer input from the user and store it in the variable n.Check the…
Q: I have students arranged randomly in 4 classes. I want a plsql code that will arrange them…
A: The first plsql we are going to use is for creating the student details and the class they are in.…
Q: Grammar English The sentences below contain errors in its Present Perfect Tense structure. Identify…
A: (a) The McAllisters, together with Zachary, has attend the ComiCon held in Seattle recently Error :…
Q: Transcribed Image Text A student took four quizzes in a term and would like to compute their…
A: The problem is based on the basics of conditonal statements in programming languages. NOTE: The…
DISCRETE STRUCTURE
a)There are six runners in the 100-yard dash. How many ways are there for three medals
gold, silver and bronze to be awarded if ties are possible.
Step by step
Solved in 3 steps with 3 images
- # Segmentation QuestionLucky Pairs Richie and Raechal are participating in a game called "Lucky pairs" at the Annual Game Fair in their Company. As per the rules of the contest, two members form a team and Richie initially has the number A and Raechal has the number B.There are a total of N turns in the game, and Richie and Raechal alternatively take turns. In each turn, the player's number is multiplied by 2. Richie has the first turn. Suppose after the entire N turns, Richie’s number has become C, and Raechal’s number has become D, the final score of the team will be the sum of the scores (C+D) of both the players after N turns. Write a program to facilitate the quiz organizers to find the final scores of the team. Input and Output Format:The only line of input contains 3 integers A, B, and N.Output a single line that contains the integer that gives the final score of the team which will be the sum of the scores of both the players after N turns.Refer sample input and output for formatting specifications.…(Heat transfer) The formula developed in Exercise 5 can be used to determine the cooling time, t, caused only by radiation, of each planet in the solar system. For convenience, this formula is repeated here (see Exercise 5 for a definition of each symbol): t=Nk2eAT3fin A=surfaceareaofasphere=4r2 N=numberofatoms=volumeofthespherevolumeofanatom Volume of a sphere sphere=43radius3 The volume of a single atom is approximately 11029m3 . Using this information and the current temperatures and radii listed in the following chart, determine the time it took each planet to cool to its current temperature, caused only by radiation.
- Celebrity problem A celebrity among a group of n people is a person who knows nobody but is known by everybody else. The task is to identify a celebrity by only asking questions to people of the form: ”Do you know him/her?” Solution Select two people from the group given, say, A and B, and ask A whether A knows B. If A knows B, remove A from the remaining people who can be a celebrity; if A doesn’t know B, remove B from this group. Solve the problem recursively for the remaining group of people who can be a celebrity Which design strategy does the following solution use? A-)Decrease-by-a-constant factor algorithm B-)Variable-size-decrease algorithm C-)Decrease-by-a-constant algorithm D-)Divide-and-ConquerSequential Money Problem (Coin Row)• Suppose there are n coins lined up side by side on a table; Let the values of these coins be c₁, c₂, ..., cn (the valuesthey do not have to be different from each other, there may be more than one coin of the same value on the table; but all positive).• The goal is not to take two adjacent coins on the table side by side.collecting the largest total valuable coins from the table, provided that The algorithm that solves the Ordered Money problem;a. By using the brute-force method, evaluating all possible valid alternatives and reaching the result (with the "exhaustive search" method),b. Write the "recurrence" equation that describes the problem directly (without using the dynamic programming technique). Describe the time complexity of each of your algorithms for both of the above spelling.My Solutions > FA2.1.1 Longest Word Write a function named longestword that is use to compare words from the string vector named as word. The user will input the string vector word and the function will return the value of variable longest, the word with the most number of characters (and the first in the list when they have the same length). Sample Output: >>>longestword("Heat","Lakers","Warriors") Warriors Note: The following are the matlab functions that you can use in your script: length=use to return the number of elements in a string vector. strlength=use to return the number of characters in string Function e A Save C Reset I MATLAB Documentation 1 % Use if-elseif-else statement Code to call your function e C Reset 1 word=["cent", "centennial","century"]; 2 longestword(word) 3 word=["love", "care","joy"]; 4 longestword (word) 5
- ASSIGNMENT BRIEF Introduction Roulette is a popular casino game named after the French word for 'little wheel'. In the game, players may choose to place bets on single numbers or various groupings which will determine their payout. To determine the winning number a ball is spun in the opposite direction of a spinning wheel. As the ball loses momentum it comes to rest in one of the slots of the wheel. Winnings are then paid to anyone who places a successful bet. n 00 2. 1ST12 2ND12 3RD12 1T018 EVEN ODD |19то36 Figure 1: Layout of a European roulette table Numbers can be classified in several ways: 1. Red or Black 2. Odd or Even 3. High or Low - if a number is in the first half of the table it is considered low (1-18). If a number is in the second half of the table, it is considered high (19-36). 4. Dozens - a number can be in the first dozen(1-12), second dozen (13-24) or third dozen (25-36) 5. Columns - A number may be in any of the three columns of the table 6. Zero - the number '0'…(Thermodynamics) The work, W, performed by a single piston in an engine can be determined by this formula: W=Fd F is the force provided by the piston in Newtons. d is the distance the piston moves in meters. a. Determine the units of W by calculating the units resulting from the right side of the formula. Check that your answer corresponds to the units for work listed in Table 1.1. b. Determine the work performed by a piston that provides a force of 1000 N over a distance of 15 centimeters.Vocabulary Task (C language) Solution given below. How to fix the error in the picture attached. txt file is not being created from this code please also include how to create a txt file and where will it be saved in the computer Natural language processing (NLP) is a field of artificial intelligence that seeks to develop the ability of a computer program to understand human language. Usually, the first step of an NLP system is to convert words into numeric codes. Thus, the system converts an input text into a sequence of numeric codes before any high-level analysis. This process is known as text preprocessing. We can only perform text preprocessing if we have a vocabulary of words and their associated numeric codes. Your task is to create a vocabulary of unique words for a given text file and assign a different number from 1 to N to each unique word, with N being the total number of unique words. You must perform this assignment so that the first word in alphabetical order gets the…
- Problem D: Different Dice Game Consider the following game for two players: The first player rolls a pair of dice of fair six-sided dice. If the two dice show different numbers, the player's score is the larger of the two numbers. Otherwise, the player's score is the sum of the two numbers. At this point, the player is asked if they want to remove their lower die and re-roll one die. If they say no, the player keeps her score and their turn is over. If they say yes, then they roll one more die and the number showing on this die replaces the lower of the original two rolls. Then these two dice rolls are scored accordingly. (For example, if the initial roll was a 2 and 5, if the player doesn't roll again, she gets 5 points. If she does roll again and obtains a 4, her score is still 5. If she rolled again and obtained a 6, her score would be a 6. If she rollwed again and obtained a 5, her score would be a 10.) The second player goes after the first, doing the exact same steps as the first…C Program / C Language Make a C program for the rank order from highest to lowest of the array.Section: Algorithm 7. s] A transport consultant has created a file of information about trips collected from individuals who have participated in a survey. This information includes start_time and end_time variables. One of the items contained in the file is the duration of each trip (that is, end_time – start_time) in minutes. The consultant is trying to work out how to calculate the number of trips with duration greater than 60 minutes (that is, how many trips take longer than an hour) and requires your assistance to develop an algorithm. You can assume that the durations are read one at a time and should only be read until EOF (end of file) is reached. i. ] *Develop a flowchart to show your algorithm, using the diagrammatic conventions described in the lecture. s] What is the likely complexity of your program using big-O notation? ** 11. Clearly point out what the primary parameters are and define your terms.