Answer:
Age = int(input(Enter your age? "))
print(f"Your maximum heart rate is {220 - age}.")
Explanation:
The programs will be as follows
Age = int(input(Enter your age? "))
print(f"Your maximum heart rate is {220 - age}.")
Assuming that this company sells all that it produces, the profit function would be given by P(x) = -0.5(x - 100)² + 5,000 - 50x - 100.
<h3>What is profit?</h3>
In Economics, profit can be defined as a measure of the amount of money (revenue) that is generated when the selling price is deducted from the cost price of a good or service, which is usually provided by producers.
This ultimately implies that, all producers generally work to maximize their profits and make them as large as possible, in order to enable them break even and successful.
Mathematically, the profit function P(x) of a business firm simply refers to the revenue function R(x) minus the cost function C(x):
P(x) = R(x) - C(x)
Where:
- R(x) represents how much it takes in.
- C(x) represents how much it spends.
Substituting the given parameters into the formula, we have;
P(x) = -0.5(x - 100)² + 5,000 - (50x + 100)
P(x) = -0.5(x - 100)² + 5,000 - 50x - 100
Read more on maximized profit here: brainly.com/question/13800671
#SPJ1
Answer:
Following are the program in the C++ Programming Language.
#include <iostream>
using namespace std;
//define function for swapping
void SwapValues(int* userVal1,int* userVal2){
//set integer variable to store the value
int z = *userVal1;
//interchange their value
*userVal1 = *userVal2;
//interchange their value
*userVal2 = z;
}
//define main method
int main()
{
//declare variables
int x,y;
//get input from the user
cin>>x>>y;
//Call the method to swap the values
SwapValues(&x,&y);
//print their values
cout<<x<<" "<<y;
return 0;
}
<u>Output</u>:
3 8
8 3
Explanation:
<u>Following are the description of the program</u>.
- Firstly, we define required header file and function 'SwapValues()', pass two pointer type integer variables in argument that is 'userVal1' and 'userVal2'.
- Set integer data type variable 'z' and initialize the value of 'userVal1' in it, then initialize the value of 'userVal2' in 'userVal1' and then initialize the value of 'z' in 'userVal2'.
- Finally, define the main method in which we set two integer type variables and get input from the user in it then, call and pass those variables and print it.
Explanation:
Module getNumber (Integer Ref Value)
Display "Display a number"
Input number
End module
Module main ()
Declare Integer number x = 1
Declare Real number y = 2.5
Display( x, " " ,y)
Call changeUS (x,y)
Display( x, " " ,y)
End module
Answer:
Option A) Demand for CDs has decreased, causing equilibrium price and quantity to decrease.
is the correct answer.
Explanation:
- File-sharing is a common practice nowadays. It helps us by providing access to different files (audio , video, images, documents) to others in a faster way.
- A wide range of files are shared daily by using different means of file-sharing including computer networks and peer-to-peer networking.
- Formerly, the data was shared using CDs but now this system has been replaced with the advent of internet.
- Usage of CDs is dropped drastically and hence their demand is decreased.
- So now the prices of CDs are not in equilibrium and their quantity is also decreased.
i hope it will help you!