The regular price of a computer is x dollars. The price of a computer after a discount is given by f(x) = x − 400. The price of a computer after a 25% discount is given by g(x) = 0.75x . Use composition to show the new function that represents a $400 discount being taken then a 25% discount being taken.
Solve the equation -x2 + 1 = x − 1 graphically. Your answer must include:
We've been dealing with integers too much, it's time for float to shine!
Instructions:
Input five float numbers.
Print out the float numbers in one line, separated by spaces, and make sure you only print up to 1 decimal place.
Add the first four float numbers and check if their sum is greater than the fifth float number. Print out "Yes" if they are.
Input
1. First float number
2. Second float number
3. Third float number
4. Fourth float number
5. Fifth float number
Output
The first five lines will contain message prompts to input the five float numbers.
The next line contains the inputted float numbers.
The last line contains "Yes" if the condition is true.
Enter·the·first·number:·1.1
Enter·the·second·number:·1.2
Enter·the·third·number:·1.3
Enter·the·fourth·number:·1.4
Enter·the·fifth·number:·1.1
1.1·1.2·1.3·1.4·1.1
Yes
How many moles does 56.7g of SrlO contain? (SrlO molar mass equals 230.5 g/mole)
𝒄𝒂𝒍𝒄𝒖𝒍𝒂𝒕𝒆 𝒕𝒉𝒆 𝒎𝒂𝒔𝒔 𝒐𝒇 𝒔𝒐𝒅𝒊𝒖𝒎 2 𝒄𝒉𝒍𝒐𝒓𝒊𝒅𝒆 𝒏𝒆𝒆𝒅𝒆𝒅 𝒊𝒇 𝒂 𝒔𝒐𝒍𝒖𝒕𝒊𝒐𝒏 𝒄𝒐𝒏𝒕𝒂𝒊𝒏𝒊𝒏𝒈 2 𝒈𝒓𝒂𝒎 𝒐𝒇 𝑯𝒈(no2)2 was added to sodium 2 chloride solution
Two balls A and B, weighing 49 N each, approach each other, with speeds of 20 m/s and 30 m/s respectively. Determine their speeds after the collision if (a) the coefficient of restitution is 0.80, and (b) they are completely inelastic.
The city council wants to sponsor 150 bags for their organization’s scholars. Each bag
costs $375. If they were to buy from the factory, they will be given 45% off the total
purchase. However, if they buy from the store they will be given 50% off the price for
each bag. Where will they have a cheaper purchase?
Sonja Cc is a small firm that make outfits for customers tailored for their functions, in May 2021 she was order for a baby shower (BS).
The details Job for BS are as follows:
Direct materials: 120 units at N124
Direct labour: 20 hours for department A at N$25 per hour.
10 hours for department B at N30 per hour
12 hour s for department C at N$27.50
The firm allocates manufacturing overheads budgeted at N$2500 in department A, N$2000 in department B and N$3000 in department C.
The firm expects a profit of 55% on the total cost of BS.
Required:
a)Calculate the cost of a baby shower (BS)
b)Calculate the selling price of a baby shower (BS)
c)If the number of outfits are the same for each type of function, which function should Sonja choose to produce and why?
Write Linux Shell script to check whether a sample file is readable, writable, and executable
Write Linux Shell script to display current working directory.