Posts

Showing posts with the label mathematics

Dec 2 hex.

Image
if you wanted to convert a decimal number to a hexadecimal number, you can do it several ways. first you could do it the old fashion way by hand. or you could use a C language program such as: [code]   #include<stdio.h> int main(){     long int decimalNumber,remainder,quotient;     int i=1,j,temp;     char hexadecimalNumber[100];     printf("Enter any decimal number: ");     scanf("%ld",&decimalNumber);     quotient = decimalNumber;     while(quotient!=0){          temp = quotient % 16;       //To convert integer into character       if( temp < 10)            temp =temp + 48;       else          temp = temp + 55;     ...

New clock.

Image

Mathematics is useful despite what some school districts say.

Image
Being new in the  #kitchen   was not sure how much filling I needed to fill a 9 inch pie crust pan, Could #mathematics solve the problem? A pie pan is sort of a frustrum (cut off cone). We needed the volume of a pie pan, so we used the formula: V = ((3.14*h)/3)(R^2 + Rr + r^2) or V = ((3.14*1)/3)((4.5 * 4.5) + (4.5 * 3.5) + (3.5*3.5)).  That equates to about 50 square inches or about 3.5 cups (50.5*0.0693=3.49965 ).  Off to the store.