Answer:
In C:
#include <stdio.h>
#include <math.h>
int main(){
float f0,r,temp;
r = pow(2.0,1.0/12);
printf("f0: "); scanf("%f", &f0);
temp = f0;
for(int i = 0; i<=4;i++){
f0 = f0 * pow(r,i);
printf("%.2lf ", f0);
f0 = temp; }
return 0;
}
Explanation:
This declares f0, r and temp as float
float f0,r,temp;
This initializes r to 2^(1/12)
r = pow(2.0,1.0/12);
This prompts the user for f0
printf("f0: "); scanf("%f", &f0);
This saves f0 in temp
temp = f0;
This iterates the number of keys from 0 to 4
for(int i = 0; i<=4;i++){
This calculates each key
f0 = f0 * pow(r,i);
This prints the key
printf("%.2lf ", f0);
This gets the initial value of f0
f0 = temp; }
return 0;
This image shows a web designer’s grids for different pages on a website. The uppermost box on each page is the website’s identity. Which important principle of a good website has the designer violated?
Answer:
consistency
Explanation:
plato
the uppermost box is different sizes and different positions everytime, that violatesone of the principles of design which is consistency.
What is the fastest way to copy the format from one cell to multiple other cells?
Double-click on the Format Painter.
Single-click on the Format Painter.
Use Copy and Paste commands.
Use Cut and Paste commands.
Double clicking on the format pointer is the fastest way to copy the format from one cell to multiple other cells. Thus, the correct option is A.
What is Format pointer?The format pointer holds a value which represents the memory address of an available data item in the file. If the data item from the file becomes unavailable. For example, because it is in a program which has been canceled then the pointer format is considered to hold a value which is incompatible with the format options.
Use the Format Painter to quickly apply the same formatting, such as the color, font style and size, or border style, to multiple pieces of text or graphics in the data item. With the help of format painter, a person can copy all of the formatting from one object and apply it to another object think of it as copying and pasting for formatting.
Therefore, the correct option is A.
Learn more about Format painter here:
https://brainly.com/question/29563254
#SPJ2
Many types of academic writing require multiple sources ?
True
False
Answer:
True!
Explanation:
A few types that need them are;
News articles
Narratives
Opinion writes
Etc
6) Read the article posted on The Verge entitled How to fight lies, tricks, and chaos online and summarize the four steps. Then answer the following: Are these four steps enough guidance to help us discover truth in this day and age? Justify your answer with supporting arguments.
Answer:
A. Summarily, the four steps to accurately sharing information include;
1. consciously employing our senses to examine news deeply so as to accurately determine their source and purpose.
2. determining the origin of the story so as to know when and where it stems from.
3. examining the context of the material so as to find inconsistencies.
4. analyzing the evidence, arguments and information being presented in the story.
B. The four steps presented in the story are enough guidance to help us differentiate between accurate and false information on the net.
I agree with all of the points presented by the author of this article on analyzing information found online. Recently, I viewed a video on the net which was presented as a fact but a little digging revealed that the original video was a prank that had been edited, so as to remove important details. The first point raised by the speaker which is honing my senses to know that something is wrong with the information (it was too bad to be true), helped me to dig deeper. I found a link to the original video that revealed a completely different detail from what I had just seen.
Explanation:
For people who care that the information they share online are true, the points raised by the author of the article, "How to fight lies, tricks, and chaos online", can prove beneficial. The first step is applying one's senses to know when an information is too bad or good to be true. The next step is determining the origin of the story. When and where a story comes from is crucial to knowing if it is truly relevant.
Thirdly, reading in between lines might reveal that the story is deceitful and lacks truth or originality. Lastly weighing the evidence of the story will help the reader in knowing the usefulness of the story to him.
help me pleaseeee
also what’s the center
Answer:
a property
Explanation:
h1 is the selector here, and 'center' is the value.
What is a sorting algorithm
Explanation:
In computer science, a sorting. algorithm is an algorithm that puts elements of a list in a certain order. The most frequently used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the efficiency of other algorithms that require input data to be in sorted lists
What year was "scripting" first invented
Answer:
Late 1950's
Explanation:
I hope this helps, have a great day :)
What should Anthony use to determine his available study hours for an upcoming project? LOOK AT THE PICTURE
Answer:
The answer is B i got it right
Explanation:
Answer:
The correct answer is B
Explanation:
WHY
is communication Important
in
space
Answer:
Communication is vitally important to astronauts while they are in space. Not only does it allow them to talk to their friends and family back home, it also allows them to communicate with the team of experts on the ground that helps them carry out their mission safely.
What is your favorite LEGO set
Answer:
star wars death star....
define a computer, state its 3 main activities with examples of the functions of each of those activities
Answer:
The four main functions of a computer are to:
- take data and instructions from a user
-process the data according to the instructions
- and display or store the processed data.
These functions are also referred as the input function, the procedure function, the output function, and the storage function.
Explanation:
Develop a C program that calculates the final score and the average score for a student from his/her (1)class participation, (2) test, (3) assignment, (4) exam, and (5) practice scores. The program should use variables, cout, cin, getline(), type casting, and output manipulators. The user should enter the name of the student and scores ranging from 0 to 100 (integer) for each grading item. The final score is the sum of all grading items. The average score is the average of all grading items. Here is a sample output of the program: Enter the Student's name: John Smith Enter Class Participation Score ranging from 0 to 100: 89 Enter Test Score ranging from 0 to 100: 87 Enter Assignment Score ranging from 0 to 100: 67 Enter Exam Score ranging from 0 to 100: 99 Enter Practice Score ranging from 0 to 100: 80 John Smith: Final Score: 422 Average Score: 84.4 Submit: a flowchart . source file Hw3.cpp The screenshot of output
Answer:
Following are the code to the given question:
#include<iostream>//defining header file
using namespace std;
int main()//defining main method
{
float clspat,test,asst,exam,practice,total,average;//defining floating variable
char name[100];//defining char variable to input value
cout<<"Enter Name of Student: ";//print message
cin>>name; //input value
cout<<"Enter scores in following scoring items between 0 and 100:"<<"\n";//print message
cout<<"Enter class participation score: ";//print message
cin>>clspat;//input value
cout<<"Enter test score: ";//print message
cin>>test;//input value
cout<<"Enter assignment score: ";//print message
cin>>asst;//input value
cout<<"Enter exam score: ";//print message
cin>>exam;//input value
cout<<"Enter practice score: ";//print message
cin>>practice;//input value
total=clspat+test+asst+exam+practice;//calculating total value
average=total/5;//calculating average value
cout<<endl<<"SCORE CARD OF "<<name<<"\n"<<"-----------------------"<<"\n";//print value with message
cout<<"Total score: "<<total<<"\n";//print message with value
cout<<"Average score: "<<average; //print message with value
}
Output:
please find the attached file.
Explanation:
In this code, the floating-point variable is declared, which is used for input value from the user-end and after input the floating-point value it uses the "total, average" variable to calculate its respective values and store its value with init, after storing the value into the variable it uses the print method to print its values.
solve x + 4 / x - 3 = 4 , step by step explanation will mark as brainliest
Answer:
I didn't get the exact answer..but hope this help
The child’s game, War, consists of two players each having a deck of cards. For each play, each person turns over the top card in his or her deck. The higher card wins that round of play and the winner takes both cards. The game continues until one person has all the cards and the other has none. Create a program that simulates a modified game of War.
The computer will play both hands, as PlayerOne and PlayerTwo, and, for each round will generate two random numbers and compare them.
If the first number is higher, PlayerOne’s score is increased by 1 and if the second number is higher, PlayerTwo’s score is increased by 1.
If there is a tie, no score is incremented.
When one "player" reaches a score of 10, that player should be deemed the winner and the game ends.
The range of numbers should be 1-13 to simulate the values of cards in the deck.
Answer:
In Python
import random
p1 = 0; p2 =0
while(p1 <10 and p2<10):
p1play = random.randint(1,14)
p2play = random.randint(1,14)
print("Player 1 roll: "+str(p1play))
print("Player 2 roll: "+str(p2play))
if p1play > p2play:
p1+=1
print("Player 1 wins this round")
elif p1play < p2play:
p2+=1
print("Player 2 wins this round")
print()
print("Player 1: "+str(p1))
print("Player 2: "+str(p2))
if p1 > p2: print("Player 1 wins")
else: print("Player 2 wins")
Explanation:
See attachment for complete program where comments were used to explain some lines
Pitch an idea for an app that would help with sustainability (examples could be recycling, food waste or energy). What features would it have, how would one of these features work and how would it positively impact the user of the app
you could do something like homeless help, it would be able to find homeless ppl if they signed up and get them a partner to help them with there life
Explanation:
Def locate_substring(dna_snippet, dna): This function takes in two strings, dna_snippet and dna, where dna_snippet is a substring of dna, and returns all locations of the substring as a list of integers. In other words, dna_snippet may exist in multiple locations within dna; you should return the beginning index position of each occurrence of dna_snippet inside of dna. Example: * Sample DNA snippet (substring): "ATAT" * Sample DNA string: "GATATATGCATATACTT" * The returned position list: [1, 3, 9]
Answer:
In Python. The function is as follows:
def locate_substring(dna_snippet, dna):
res = [i for i in range(len(dna_snippet)) if dna_snippet.startswith(dna, i)]
print("The returned position list : " + str(res))
Explanation:
This iterates defines the function
def locate_substring(dna_snippet, dna):
Check for all occurrence
res = [i for i in range(len(dna_snippet)) if dna_snippet.startswith(dna, i)]
print all occrrence
print("The returned all position list : " + str(res))
Following is the Python program to the given question.
PythonAccording to the question,
DNA Series: GATATATGCATATACTTDNA
Snippet: ATAT
Program: def locate_substring (dna_snippet, dna):
start = 0 while True: start = dna.
find(dna_snippet, start) #finding the first occurrence of dna_snippet in dna.
if start == -1: return # if dna.find() returns -1 yield start #Resumes next execution start += 1dna=input ("Enter the DNA sequence: ") dna_snippet=input
("Enter the DNA snippet: ") print(list(locate_substring(dna_snippet,dna )))
Program Explanation: Defining a function.
An infinite loop is being utilized just to produce the indexes from which dna snippet begins.
Determining the initial occurrence of dna snippet inside dna. storing the new occurrences of dna snippet throughout the starting point.
Whenever dna.find() returns minus one, it means there was no occurrence identified and the method should be exited.
Find out more information about Python here:
https://brainly.com/question/26497128
Which statement about the Weather Bar in the Outlook calendar is true?
A.It displays weather for the current location for five days.
B.It does not require an internet connection to update.
C.Additional cities can be added for travel needs.
D.It sends pop-up alerts about severe weather.
Answer:
C
Explanation:
What was one of the main advantages of BPR at Chevron?
Answer:
Business process re-engineering improves performance of chevron at end-to-end process and saves company's fifty million dollars by reducing operation cost.
How can you access your router if your provider is spectrum I've tried calling spectrum, they tried helping me but somehow it hasn't really helped me, is there any other way that I can access my router?
Answer:
what do you mean by access?
Explanation:
if anything you can try to make an account with spectrum in order to connect your router and see if its connect with your current internet provider. Another thing is most router have an app, check with you comes with one. If it does then this will allow you to change default name and password that your router came with.
Your co-worker who went to UCLA tells you that DHCP is not enabled at your new job, so you should just use the same IP address that you have at home to connect to the internet. He told you it should work because your computer is communicating with a unique public IP address at home, so no other computer in the world would have it. When you try this, your computer does not have internet access. Give two reasons why?
Answer:
1. internet connection is not enabled on the computer.
2. The DHCP server in the company is not enabled as well.
Explanation:
For a user to access the internet, the computer must have a public IP address that is either assigned to it by a service provider or dynamically from the DHCP server in the computer. In the case of the former, the user just needs to enable the internet connection to obtain the unique IP address.
If the DHCP server or the internet connection is not enabled, the user would not have access to the internet.
NO LINKS OR I WILL DELETE YOUR FORTNITE ACCOUNT
What can you do with the free version of the splice editor
Answer:
can i have ur fortnite account if u hav one and dont use it :) i only say that cuz u mentioned fortnite
Explanation:
with the free version you can add effects (cheap effects) cut the video, crop some parts. and posting leaves a watermark until u buy money
Answer:
It has a 7 day free trial while your using the free version
Explanation:
Question 2 (6 points)
The business philosophy describes the business's education, training, strengths, weaknesses, and personal development.
True
False
Question 3
Answer:
False
Explanation:
Answer:
false
Explanation:
What is a key consideration when evaluating platforms?
Answer:
The continuous performance of reliability data integrity will lead to the benefit and profit of the platform's regular structure changes. Cleanliness in the platform whereas addresses the straightforward structure of task performance and adequate data integrity.
Assume that the client wants to retrieve the www.cnn home page but has no information about the www.cnn web server IP address. Describe the process of the client obtaining the IP address for the hostname www.cnn under the assumption that it is not cached at the local DNS server and that the local DNS server has not cached an entry for the DNS server. Describe this for the recursive case!.
Answer:
You could type ipconfig www.cnn in command promt.
Explanation:
Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, and C) in the instruction set. M1 has a clock rate of 60MHz and M2 has a clock rate of 80MHz. The average number of cycles of each instruction class and their frequencies (for a typical program) are as follows:
Instruction Class M1-cycles M2-cycles/ Frequency
/instruction class instruction class
A 1 2 50%
B 2 3 20%
C 3 4 30%
a. Calculate the average CPI for each machine, M1 and M2.
b. Calculate the CPU execution time of M1 and M2.
Explanation:
A.)
we have two machines M1 and M2
cpi stands for clocks per instruction.
to get cpi for machine 1:
= we multiply frequencies with their corresponding M1 cycles and add everything up
50/100 x 1 = 0.5
20/100 x 2 = 0.4
30/100 x 3 = 0.9
CPI for M1 = 0.5 + 0.4 + 0.9 = 1.8
We find CPI for machine 2
we use the same formula we used for 1 above
50/100 x 2 = 1
20/100 x 3 = 0.6
30/100 x 4 = 1.2
CPI for m2 = 1 + 0.6 + 1.2 = 2.8
B.)
CPU execution time for m1 and m2
this is calculated by using the formula;
I * CPI/clock cycle time
execution time for A:
= I * 1.8/60X10⁶
= I x 30 nsec
execution time b:
I x 2.8/80x10⁶
= I x 35 nsec
Use the drop-down menu to complete each statement. First, calculate the time spent doing each activity _____ . Next, multiply each category by ____ . Then, ___ the totals. Last, subtract the total from ____ .
Answer:1. Every day 2. 7 3. add 4. 168
Explanation:
I got it right on Edge
First, calculate the time spent doing each activity every day. Next, multiply each category by 7. Then, add the totals. Last, subtract the total from 365.
What is the significance of the activity?The significance of activity may be determined by the fact that it usually enhances your health and lowers the threat of developing several diseases and other abnormal conditions like type 2 diabetes, cancer, and cardiovascular disease.
According to the context of this question, if you are required to calculate the time spent doing each activity in each day. You are required to make a chart that represents all such activities followed by multiplication. Then, you are considerably required to add the totals followed by subtracting the total from the total number of days in a year.
Therefore, first, calculate the time spent doing each activity every day. Next, multiply each category by 7. Then, add the totals. Last, subtract the total from 365.
To learn more about Activities, refer to the link:
https://brainly.com/question/26654050
#SPJ3
When machining rotors, what is the reason for setting the indexing collars to zero?
A. To know how much metal was taken off of each side.
B. To make sure that no cut exceeds .010 inch
C. To determine the proper cut speed of the Brake Lathe.
D. To measure the depth of the grooves on the rotor surface.
Answer:
To determine the proper cut speed of the brake lathe
To determine the proper cut speed of the brake lathe reason for setting the indexing collars to zero.
What is indexing collars?
Thus, they can have a maximum of 256 colors, which is the amount of colors that 8 bits of information can specify (28 = 256). Fewer colors are produced by lower bit depths, which also result in smaller files. At the conclusion of this chapter, in Section 19.8, this is covered.
"Indexed color" refers to the fact that a color table contains the palette—the collection of colors—of the image. A reference (or "index") to a table cell containing the pixel's color is present in each pixel of the image.
By choosing Image Mode Color Table in Photoshop, you can view the table for an indexed color image.
Therefore, To determine the proper cut speed of the brake lathe reason for setting the indexing collars to zero.
To learn more about indexing collars, refer to the link:
https://brainly.com/question/12608731
#SPJ2
A musician has recorded some initial ideas for new songs which she wishes to share with her bandmates. As these are initial ideas she is not too concerned about the quality of the audio files she will send, but does wish the size of the files to be as small as possible so they can be easily downloaded by her bandmates, including using mobile data. Which of the following should she do to meet these requirements? Select two answers.
Save the audio using a high sampling rate.
Save the audio using a low sampling rate.
Save the audio using a low bit depth.
Save the audio using a low amplitude (volume).
Answer:
1.save the audio using a low sampling rate
2.save the audio using a low bit depth
Explanation:
1. if the quality of the audio is low then the size of the audio will also be low and which will make the size of the data to be less and also easier to download
In matlab how would this specific code be written and how could I ask the user to enter a vector of coefficients for the polynomial model. Verify that the entry has an even number of elements (an odd number of elements would mean an even order polynomial). If an invalid vector is entered, prompt the user to re-enter the vector until an acceptable vector is entered. If the user does not enter an acceptable vector after 5 attempts (including the first prompt), display a warning and remove the last element of the last vector entered. (For example, if the last user input is [1 2 3 4 5], the vector becomes [1 2 3 4]).
my code
[1,2,3,4];
Answer:
Explanation:
that is correct 1234
Write a program that teaches arithmetic to a young child. The program tests addition and subtraction. In level 1, it tests only addition of numbers less than 10 whose sum is less than 10. In level 2, it tests addition of arbitrary one digit numbers (which means that the sum could be more than 10). In level 3, it tests subtractions of one digit numbers with a non-negative difference. Generate random numbers for each of the levels based on its requirements, and get players answers as their response. Verify if the user entered the correct answer. The player will start at level 1, and gets up to two tries per problem. Advance from one level to the next when the player has achieved a score of five points (one point per successful answering the question).
Answer:
Explanation:
The following program is written in Java and creates three levels with the different set of randomly generated arithmetic problems. As the player goes getting more points they advance every 5 points to the next level.
import java.util.Random;
import java.util.Scanner;
class Main {
private static Random random = new Random();
private static Scanner in = new Scanner(System.in);
static int points = 0;
public static void main(String[] args) {
while (true) {
System.out.println(points);
if (points < 5) {
System.out.println("Starting Level 1");
levelOne();
} else if (points < 10) {
System.out.println("Starting Level 2");
levelTwo();
} else if (points < 15) {
System.out.println("Starting Level 3");
levelThree();
}
}
}
public static boolean levelOne() {
int numberOne = random.nextInt(10);
int numberTwo = random.nextInt((10 - numberOne));
int answer = numberOne + numberTwo;
int count = 0;
while (points < 5 && count < 2) {
System.out.println("What is " + numberOne + " + " + numberTwo + "?: ");
int userChoice = in.nextInt();
if (userChoice == answer) {
points += 1;
levelOne();
} else {
count += 1;
}
}
return false;
}
public static boolean levelTwo() {
int numberOne = random.nextInt(10);
int numberTwo = random.nextInt(10);
int answer = numberOne + numberTwo;
int count = 0;
while (points < 10 && count < 2) {
System.out.println("What is " + numberOne + " + " + numberTwo + "?: ");
int userChoice = in.nextInt();
if (userChoice == answer) {
points += 1;
levelTwo();
} else {
count += 1;
}
}
return false;
}
public static boolean levelThree() {
int numberOne = random.nextInt(10);
int numberTwo = random.nextInt(10);
int answer = numberOne - numberTwo;
int count = 0;
if (answer <= 0) {
levelThree();
}
while (points < 15 && count < 2) {
System.out.println("What is " + numberOne + " - " + numberTwo + "?: ");
int userChoice = in.nextInt();
if (userChoice == answer) {
points += 1;
levelThree();
} else {
count += 1;
}
}
return false;
}
}