Showing posts with label conversion. Show all posts
Showing posts with label conversion. Show all posts

Sunday, 28 March 2021

A cannister contains exactly 125 cups of coffee.

 Question: A cannister contains exactly 125 cups of coffee. How many ounces are in the cannister? (1 cup = 8 ounces)

Solution:
Given, 1 cup = 8 ounces

Therefore,

125 cups of coffee = (8 ounces × 125 cups)/1cup

= 1000 ounces

So the cannister contains 1000 ounces of coffee.

One cup holds 8 ounces. If a cup is 2/5 full, how many ounces are in the cup?

 Question: One cup holds 8 ounces. If a cup is 2/5 full, how many ounces are in the cup? 

Solution: One cup can hold 8 ounces.
A cup is 2/5 full
The number of ounces in the cup = 8x2/5
= 16/5
=3.2 ounces
3.2 ounces are there in the 2/5 full cup.

450,000,000 cups of coffee and consumed everyday in the united states.

 Question: 450,000,000 cups of coffee and consumed everyday in the united states assume there are 8. ounces of coffee in a cup and 128 ounces in a gallon how many gallons are consumed in one year. 

Solution: Everyday they consumed 450000000 cups of coffee in US.

8 ounces of coffee in cup. And 128 ounces in gallon. Then the total number of cups of coffee in a gallon is :-

128/8 = 16 cups
Then the everyday consumed coffee in gallons is:-
450000000/16 = 28125000 gallons in a day
Then total number of gallons consumed in a year:-
28125000 x 365 = 10,265,625,000 Gallons in a year

How many ounces in 2 pounds?

Question: How many ounces in 2 pounds? 

Solution: Ounces in 1 pound = 16
so ounces in 2 pounds = 16 x 2 = 32 pounds

Question: How many gallons in 7 cups?

Solution: 1 cup = 0.0625 gallon
so 7 cup = 7 x 0.0625 = 0.4375 gallon

Question: How many ounces in 1 liter?

Solution: 1 litre = 33.84 ounces

Question: How many teaspoons in 1 1/2 cups?


Ingredient

Original Quantity

CF

New Quantity

Unit Ratio

Adjusted Quantity

Arborio Rice

1 cup



2 cups = 1 pint

pt

Butter, unsalted

2 oz




#

Onion, diced

3 Tbsp




cup

Chicken Stock

3 cup




qt

Zucchini, diced

¼ cup




cup

Solution: 

Teaspoons in 1 1/2 cups
1 cup = 48 teaspoons
1 1/2 cup = 48 x 1.5 = 72 teaspoons

Question: How many pints in 48 tablespoons?

Solution: Pints in 1 tablespoon = 0.0312
48 tablespoon = 48 x 0.0312 = 1.5 pints

Question: How many grams in 3/4 ounce?

Solution: 1 ounce = 28.35 gram
3/4 ounce = 3/4 x 28.35 = 21.2625 grams

Question: How many quarts in 2 1/2 cups?

Solution: 1 cup = 0.25 quarts
2 1/2 cups = 2 1/2 x 0.25 quarts
2 1/2 cups = 0.625 quarts 

Question: How many ounces in 3 1/3 pints of water?

Solution: 1 pint of water = 16 ounces
3 1/3 pints of water = 10/3 x 16 ounces
3 1/3 pints of water = 53.33 ounces

Question: A chef wants to change a recipe from serving 8 portions to have it serve 22. What is the conversion factor?

Solution: The conversion factor is 8/22 = 0.36

Question: A chef wants to change a recipe from serving 40 three-ounce portions to have it serve 60 four-ounce portions. What is the conversion factor?

Solution: Given
recipe yield = 40 ounces
recipe required = 64 ounces
then conversion factor 64/40
= 1.6

 

Wednesday, 15 April 2020

C++ Question - Farenheit to Celcius

Q: Write a program which accept temperature in Fahrenheit and print it in centigrade.
Solution:

#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
 float F,C;
 cout<< "\nEnter temperature in Farenheit : ";
 cin>>F;
 C=5*(F-32)/9;
 cout<<"Temperature in celcius is : "<<C;
 return 0;
}

Screenshot: