Saturday, May 22, 2010

Please help! Aluminum metal melts at 660 degrees C and boils at 2450 degrees C. Its density is 2.70 grams/cc.?

Calculate the following:


A. Assuming an ideal gas, the volume occupied by 20.0 kilograms of aluminum vapor at its boiling point and under a pressure of 2280 torr.


B. The volume occupied by 1000. kilograms of the metal at 25 degrees C.


C. If the specific heat capacity of aluminum metal is 0.89 Joules per gram-degree C, how many calories of the energy are required to heat 10 kilomoles of aluminum from 250 degrees C to 500 degrees C


D. If 13.5 grams of aluminum were dissolved in an excess of concentrated HCI, what volume of hydrogen gas would be released at STP? You may assume that the ideal gas law holds and that the vapor pressure of water is negligible compared to the pressure of the released hydrogen.

Please help! Aluminum metal melts at 660 degrees C and boils at 2450 degrees C. Its density is 2.70 grams/cc.?
A. Divide 20000 g of Al by its g-atomic weight, call result M g-atoms. Using PV = MRT, compute V for P=2280 torr and 2450+273 degK and the R in units which include torr.


B. Divide 1000 kg by 2.70 kg/L, result in in L


C. Multiply 10^4 g-atoms of Al by its g-atomic weight, call result G grams.


Then Energy = G * 0.89 * [500-250] in joules.


convert to calories.


D. Divide 13.5 g by g-atomic weight of Al, call result A g-atoms. From rxn,


2 Al+ 6 HCl -%26gt; 3 H2 + 2AlCl3


3 moles of H2 are formed from 2 g-atoms of Al. So, find moles of H2 by finding (3/2)*A.


Multiply (3/2)*A by 22.4 L/mole to get gas volume


Need site for C, C++ ,Batch file programming?

i need a site where they teach advanced batch file programming, C, C++ and that kind of stuff properly.I Know the basics and need to study the advanced stuff becoz iam too sleepy to listen to the crap they teach in highschool.......

Need site for C, C++ ,Batch file programming?
Hehe..Sammy U'll never change yaar..:)

long stem roses

Should I put C.C. Sabathia on the trading block?

He's been terrible in last 3 games. I seriously doubt he'll be back in his 07 Cy Young Form. I want to trade him for another reliable pitcher and hitter.





Also, my pitching staff sucks too. I don't think I'll have too many wins this year.





I have Peavy, C.C., John Maine, Cueto, Edinson Vólquez


Along with two useless ones (Ted Lilly, Bonderman)

Should I put C.C. Sabathia on the trading block?
only if you think you'll get a good deal in return. Your pitching isn't great, Peavy is great, C.C. will be great,, Maine is good and I am not sold yet on Cueto and Volquez. Lilly and Bonderman are quality starts too. Give C.C. a few more starts, he's only had three, he'll shake off the rust.(He's pitched two games against the A's, he has a terrible record against them).
Reply:Trading Sabathia now is not a good idea. His trade value is low because of his current difficulties. You're not likely to get as much for him as you would likely get when he starts to rebound. Patience is called for.
Reply:It's cold here in Cleveland, let the weather warm up a little , CC will get it going = he's in his contract year.


What would the final values of variables a, b, and c be after these program runs?

What would the final values of variables a, b, and c be after these program runs?


start


a = 2


b = 4


c = 10


while c %26gt; 6


perform changeBandC ( )


endwhile


if a = 2 then


perform changeAandB ( )


endif


if c = 10 then


perform changeAandB ( )


else


perform changeBandC ( )


endif


print a, b, c


stop





changeBandC ( )


b = b + 1


c = c – 1


return





changeAandB ( )


a = a + 1


b = b – 1


return

What would the final values of variables a, b, and c be after these program runs?
Hi!





a=3, b=5, c=8.





Good luck!
Reply:a=3, b=8, c=5
Reply:a=2,3%26lt;-- last answer is final


b=4,5,6,7,8,7,8%26lt;-- last answer is final


c=10,9,8,7,6,5%26lt;--last answer is final


How to learn c, c+, vb at home.?

I don’t have time to go for classes, as i am busy with my bpo job ,how can I learn c, c+, vb effectively from home ?

How to learn c, c+, vb at home.?
hi seema


u can have different books like yashwant kanitkar ,balaguruswami


which may help u to learn that language


after that u can learn visual c , c++.
Reply:Hi,Your saying no time togo for classes,you cannot get full knoweldge without going to any institute.


for C you should learn concept then autometically programming is not deficult.There are some books, For improving concept Balagurusami is the best,for some of the topics like Pointers and Functions Yaswanth Kanikar is the best and for the programming Ashok kamthene is the best.


How to get c & c++ conceptual questiones in the net for big company enterence exams..?

actually i want to face as many as questions which are based on c %26amp; c++ programming languages.. basically related with the MNC companies %26amp; Big Companies enterenance exams.

How to get c %26amp; c++ conceptual questiones in the net for big company enterence exams..?
go to mnitonline.com
Reply:Check this out: www.programmersheaven.com
Reply:www.cplusplus.com

gifts

Can some1 fix the folowing prog in C#. I dono that much programming.Plz compile n send the error free version?

#include%26lt;stdio.h%26gt;


#include%26lt;conio.h%26gt;


#include%26lt;string.h%26gt;


#define max 1000


#define IN 1


#define OUT 0





int findindex(char *);


void rem_new(char *);


void classification1(char *,int);


void classification5(char *,int);


void searchpost(char *,char,char *);


void searchpre(char *,char,char *);


FILE *in, *out;





char Non_polar[]={'G','A','V','L','I','P','M'...


char Polar[]={'S','T','N','Q','C','Y','\0'};


char Acidic[]={'D','E','\0'};


char Basic[]={'K','R','H','\0'};


char previous,next;


int pre=0,post=1;


int previous_flag=0,next_flag=0;


char arrayprevious[15],arraynext[15];


char infile[20]="",outfile[20]="";





char class5[8][12]={ {'V','I','L','\0'},


{'A','G','S','T','\0'},


{'P','N','D','V','A','G','S','T','\0'},


{'F','Y','W','H','\0'},


{'A','G','V','I','L','M','F','Y','W','H'...


{'D','E','K','H','R','\0'},


{'S','T','N','D','Y','K','E','W','H','R'...


{'H','K','R','\0'},


};





char


fullname[][20]={"Aliphatic","Tiny","Sm...


char previous1,previous2,next1,next2;








int main(void)





{





char *name,*seq,*tmp;


char *ptr;


int ch,flag=OUT;


char *blank="-";


int k=0,k1=0;





clrscr();





name=((char *)malloc(1000*sizeof(char)));


seq=((char *)malloc(5000*sizeof(char)));


tmp=((char *)malloc(1000*sizeof(char)));





if(name==NULL||seq==NULL||tmp==NULL)


{


printf("Desired Memory has not been allocated; exiting\n");


exit(1);


}





printf("Enter the name of input file\n");


scanf("%s",infile);


printf("Enter the name of output file\n");


scanf("%s",outfile);





if ((in = fopen(infile, "r"))== NULL)


{


printf("Cannot open input file.\n");


return 1;


}





if ((out = fopen(outfile, "w+"))== NULL)


{


printf("Cannot open output file.\n");


return 1;


}





strcpy(name,"");


strcpy(seq,"");


strcpy(tmp,"");





while ((ch=fgetc(in))!=EOF)


{


if( ch!='%26gt;')


{


ungetc(ch,in);


fgets(tmp,max,in);


strcat(seq,tmp);


flag=IN;


}


else if (flag==IN)


{





rem_new(seq);


k=findindex(seq);


flag=OUT;


strcpy(seq,"");


ungetc(ch,in);


}


else {


fgets(name,max,in);


ptr=strtok(name," ");


fprintf(out,"%s",ptr);


ptr=strtok(NULL,"[");


ptr=strtok(NULL,"]");


if (ptr==NULL)


fprintf(out,"\t%8s\t",blank);


else


fprintf(out,"\t%s\t",ptr);


fprintf(out,"Location\tPattern\tOne Residue


Classification\t\t\tPattern\tTwo Residue Classification\n");





}





}





if (flag==IN)


{





rem_new(seq);


k1=findindex(seq);


flag=OUT;


strcpy(seq,"");


}





fclose(in);


fclose(out);





free(name);


free(tmp);


free(seq);





return 0;


}





int findindex(char *seq)





{


int i=0,j=0,count=0;





for(i=0;seq[i]!='\0';i++)


{


j=i;


if(seq[j]=='K')


{





count++;


fprintf(out,"\t");


fprintf(out," \t");


fprintf(out,"%d K %d \t",count,j+1);


classification1(seq,j);





fprintf(out,"%s | K | %s\t\t\t",arrayprevious,arraynext);


strcpy(arrayprevious,"");


strcpy(arraynext,"");


previous_flag=0;


next_flag=0;


classification5(seq,j);





}


}





return j;


}





void rem_new(char *seq)





{


int i=0,j=0;





for(i=0;seq[i]!='\0';i++)


{


if (seq[i]=='\n')


{


j=i;


while(seq[j]!='\0')


{


seq[j]=seq[j+1];


j++;


}


seq[j]='\0';


}


}


}





void classification1(char *seq,int k)





{





previous=seq[k-1];


next=seq[k+1];





if(k==0)


previous='\b';





fprintf(out,"%cK%c\t",previous,next);





searchpre(Non_polar,previous,"Non-polar"...


searchpre(Polar,previous,"Polar");


searchpre(Acidic,previous,"Acidic");


searchpre(Basic,previous,"Basic");





searchpost(Non_polar,next,"Non-polar");


searchpost(Polar,next,"Polar");


searchpost(Acidic,next,"Acidic");


searchpost(Basic,next,"Basic");


}





void searchpre(char *arr,char value,char *name)





{


int i;


if(previous_flag==0)


{


for(i=0;arr[i]!='\0';i++)


if(arr[i]==value)


{


previous_flag=1;


strcpy(arrayprevious,name);





break;


}


}


}





void searchpost(char *arr,char value,char *name)





{


int i;


if(next_flag==0)


{


for(i=0;arr[i]!='\0';i++)


if(arr[i]==value)


{


next_flag=1;


strcpy(arraynext,name);





break;


}


}


}





void classification5(char *seq,int k)





{


int i,j,c1=0,c2=0,c3=0,c4=0,count1=0,count2=...


int index1[15],index2[15],index3[15],index4[...


int preindex[11],postindex[11];





previous1=seq[k-1];


previous2=seq[k-2];


next1=seq[k+1];


next2=seq[k+2];





if(k==0)


{


previous1='\b';


previous2='\b';


}





if(k==1)


{


previous2='\b';


}





fprintf(out,"%c%cK%c%c\t",previous2,prev...





for(i=0;i%26lt;8;i++)


for(j=0;class5[i][j]!='\0';j++)


{


if(class5[i][j]==previous1)


index1[c1++]=i;


if(class5[i][j]==previous2)


index2[c2++]=i;


if(class5[i][j]==next1)


index3[c3++]=i;


if(class5[i][j]==next2)


index4[c4++]=i;





}





for(i=0;i%26lt;c1;i++)


for(j=0;j%26lt;c2;j++)


if(index1[i]==index2[j])


preindex[count1++]=index1[i];





for(i=0;i%26lt;c3;i++)


for(j=0;j%26lt;c4;j++)


if(index3[i]==index4[j])


postindex[count2++]=index3[i];








if ((count1==0)%26amp;%26amp;(count2==0))


fprintf(out,"* |K| *");


else if ((count1==0)%26amp;%26amp;(count2!=0))


for(i=0;i%26lt;count2;i++)


fprintf(out,"* |K| %s


%s,",fullname[postindex[i]],fullname[p...


else if ((count1!=0)%26amp;%26amp;(count2==0))


for(i=0;i%26lt;count1;i++)


fprintf(out,"%s %s |K|


*,",fullname[preindex[i]],fullname[pre...





for(i=0;i%26lt;count1;i++)


for(j=0;j%26lt;count2;j++)


fprintf(out,"%s %s |K| %s


%s,",fullname[preindex[i]],fullname[pr...


fprintf(out,"\n");





}

Can some1 fix the folowing prog in C#. I dono that much programming.Plz compile n send the error free version?
OMG !!!!!!!!!!!!!!!!!