Posts

Showing posts from May, 2025

OFFLINE

#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define MAX_SIZE 100000 #define MAX_BINS 1000 #define MAX_STARS 50 #include "utils.c" int asc ( const void * a , const void * b ) {     double diff = ( * ( double * ) a ) - ( * ( double * ) b );     if ( diff < 0 )         return - 1 ;     else if ( diff > 0 )         return 1 ;     else         return 0 ; } void printstar ( int a , int max ) {     int b = ( max > 0 ) ? (( a * MAX_STARS ) / max ) : 0 ;     for ( int i = 0 ; i < b ; i ++ )         printf ( "*" ); } double findmin ( double arr [] , int n ) {     double min = arr [ 0 ];     for ( int i = 1 ; i < n ; i ++ )         if ( arr [ i ] < min )         ...

PHY SOM CT 1 Resource

 Q1: rmetals > rceramics > rpolymers Why? Material Structure Atoms Bonding Packing Density Metals Crystal (dense) Heavy Metallic Tight High Ceramics Crystal (ionic/covalent) Light/medium Ionic/Covalent Medium Medium-high Composites Mixed (fibers + matrix) Varies Mixed Custom Custom Polymers Long chains Light Van der Waals Loose Low BCC: Cr, a-Fe, Mo, Li, W, Ti, Ta have this crystal structure. ||  CraFe MoLi TiTaW FCC: Cu, Al, Ag, Au, Ni, Pt, Pb, NaCl, Ca etc have this crystal  ||  CaCu NiAl AgAu NaCl Pb SCC: Po. Example 1: Consider a-Fe, which is body centered cubic. If the lattice constant is 0.287 nm, calculate its density. For Fe, MA=55.85 g/mole. [7.86 g/cm3]  • Example 2: The Ag is FCC with lattice constant 0.4077 nm. Calculate the density of the Ag. The atomic weight of Ag is 108 g/mole. [10.6 g/cm3]  • Example 3: Copper (Cu) has an FCC structure with an atom radius of 0.1278 nm. Calcula...