answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
s2008m [1.1K]
2 years ago
13

A certain college classifies students according to credits earned. A studentwith less than 7 credits is a Freshman. At least 7 c

redits are required to bea Sophomore, 16 to be a Junior and 26 to be classified as a Senior. Write aprogram that calculates class standing from the number of credits earned.

Mathematics
1 answer:
FinnZ [79.3K]2 years ago
5 0

Answer and explanation:

Here is code:

credit = int(input("Enter credits : "))

if credit < 7:

print("You are a Freshman")

elif credit >= 7 and credit < 16:

print("You are a Sophomore")

elif credit >= 16 and credit < 26:

print("You are a Junior")

elif credit >= 26:

print("You are a Senior")

Output: check image

You might be interested in
What is the rate of change of the amount earned with respect to hours worked for this function?
aleksley [76]

Question:

The graph shows the amount of money Miguel earns after working x hours. What is the rate of change of the amount earned with respect to hours worked for this function? hours per dollar hours per dollar 3 dollars per hour 13 dollars per hour

Answer: 13 dollars per hour

Step-by-step explanation:

The rate of change (ROC) for the point defined on the graph can be deduced by calculating the ratio of the difference between the two coordinate points given, similar to calculating the gradient or slope :

Point a = (5, 65) = (x2, y2)

Point b = (2, 26) = (x1, y1)

Calculating the gradient or slope :

Rate of change = (y2 - y1) / (x2 - x1)

Rate of change = (65 - 26) / (5 - 2)

Rate of change = 39 / 3

= 13 dollars per hour

4 0
2 years ago
Read 2 more answers
Suppose a research paper states that the distribution of the daily sea-ice advance/retreat from each sensor is similar and is ap
strojnjashka [21]

Answer:

The value of the parameter is λ is 0.03692

Step-by-step explanation:

Consider the provided function.

f(x) = 0.5\lambda e^{-\lambda |x|} for −∞ < x < ∞.

It is given that standard deviation is given as 38.3 km.

Now we need to calculate the value of parameter λ.

The general formula for the probability density function of the double exponential distribution is: f(x)=\frac{e^{-|\frac{x-\mu}{\beta}|}}{2\beta}

Where μ is the location parameter and β is the scale parameter.

Compare the provided equation with the above formula we get.

\lambda=\frac{1}{\beta} and μ = 0.

Standard deviation = √2β

S.D=\sqrt{2} \beta\\\beta=\frac{38.3}{\sqrt{2}}\\\beta=27.08219

Now substitute the value of β in \lambda=\frac{1}{\beta}.

\lambda=\frac{1}{27.08219}=0.03692

Hence, the value of the parameter is λ is 0.03692

7 0
2 years ago
A bicycle wheel with diameter 16 inches rides over a screw in the street. The screw is on level ground before it punctures the b
Julli [10]

Answer:

The correct option is;

16 inches

Step-by-step explanation:

The parameters of the motion given are;

The diameter, D of the bicycle = 16 inches;

The distance the bike moves (forward) after the screw punctures the tire = 56·π inches

We note that the circumference of the bicycle = π·D = π × 16 = 16·π inches

Therefore;

56·π inches/(16·π inches) = 3.5

Showing that the bicycle moves three and half complete turns (revolution) where after each complete turn, the screw starts from the bottom of the tire.

The height, h of the screw in the final half turn is given by the relation;

h = A×cos(Bx - C) + D

A = Amplitude of the motion = Diameter/2 = 16/2 = 8

P = The period of the motion 2·π/B

B·x = The angle described by the motion = Half of one revolution = π = 180°

C = Phase shift = π

D = The midline = Diameter/2 = 8 inches

Therefore;

h = 8×cos(π - π) + 8 = 16 inches

After the bike moves forward another 56·π inches the height of the screw = 16 inches.

3 0
2 years ago
A university is trying to determine what price to charge for tickets to football games. At a price of ​$ per​ ticket, attendance
Anika [276]

This question is incomplete, the complete question is;

A university is trying to determine what price to charge for tickets to football games. At a price of ​$24 per​ ticket, attendance averages 40,000 people per game. Every decrease of ​$4 adds 10,000 people to the average number. Every person at the game spends an average of ​$4 on concessions. What price per ticket should be charged in order to maximize​ revenue? How many people will attend at that​ price?

Answer:

a) price per ticket = $18

b) 55,000 will attend at that price

Step-by-step explanation:

Given that;

price of ticket = $24

so cost of ticket = 24 - x

every decrease of $4 adds 10,000 people

for $1 adds 2,500 people

Total people = 40000 + 2500x

Revenue function = people × cost + people × 4

so

R(x) = (40000 + 2500x)(24 - x) + (40000 + 2500x)4

R(x) = 960,000 - 40000x + 60000x - 2500x² + 160,000 + 10000x

R(x) = 1120000 + 30000x - 2500x²

R(x) = -2500x² + 30000x + 1120000

now for maximum revenue; R'(x) is to zero

so

R'(x) = d/dx(  -2500x² + 30000x + 1120000 ) = 0

⇒ -5000x + 30000 + 0 = 0

⇒ -5000x + 30000 = 0

⇒ 5000x = 30000

x = 30000 / 5000

x = 6

R'(X) = -5000 < 0 ⇒ MAXIMUM

∴ Revenue is maximum at x = 6

so cost of ticket ;

price per ticket = (24 - x) = 24 - 6 = $18

so price per ticket = $18

Number of people = 40000 + 2500x

= 40000 + (2500 × 6)

= 40000 + 15,000

= 55,000

Therefore, 55,000 will attend at that price

8 0
2 years ago
31. The director of a marketing department wants to estimate the proportion of people who purchase a certain product online. The
vivado [14]

Answer:

C

Step-by-step explanation:

AP Classroom says so

6 0
2 years ago
Other questions:
  • Which statement is true about this data set?
    10·2 answers
  • Problem of the Week for April 24, 2017&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
    12·1 answer
  • a) The table below shows the populations of several states (in millions) and the number of motor vehicle deaths in each. Complet
    7·1 answer
  • Match the expressions with the property used to generate 5y + 2y + 6 + 2.
    11·1 answer
  • The health of the bear population in Yellowstone National Park is monitored by periodic measurements taken from anesthetized bea
    9·2 answers
  • An equation is written to represent the relationship between the temperature in Alaska during a snow storm, y, as it relates to
    11·1 answer
  • Andrew deposits $300 into an account that earns 2% interest each year. After the first year, Andrew has $306 in the account. Aft
    6·1 answer
  • The organizers of a fair projected a 25 percent increase in attendance this year over that of last year, but attendance this yea
    7·1 answer
  • The breaking strength of a rivet has a mean value of 10,050 psi and a standard deviation of 499 psi. (a) What is the probability
    8·2 answers
  • The Johnson family is going to build a new home. They need to have working drawings of their house plans created by a design fir
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!