If a shopkeeper is selling W gram of salt in 1 dollar he will face r% loss. How much salt he should sell in grams to make r% profit. Assume weighing and packaging price is zero.
I would recommend rewording the three problems: percentage profit:4, 5 and 6. It would help to improve clarity and understanding.
Does this problem require the percentage profit on the other sales (i.e. not the initial W sales involving r% loss) in order to determine the quantity required to make the the overall r% profit target? Similar to the previous problem, Percentage Profit :3. Thanks.
Find all elements less than 0 or greater than 10 and replace them with NaN
Project Euler: Problem 6, Natural numbers, squares and sums.
Whether the input is vector?
Duplicate each element of a vector.
Percentage profit:6: Cumulative Interest
Percentage profit:5: Cumulative Interest
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office