Recent content by blueberryfive
-
B
Heat energy change when gas compressed
Ok, thanks. If the process weren't isothermal, then heat would enter the gas, right?- blueberryfive
- Post #3
- Forum: Introductory Physics Homework Help
-
B
Heat energy change when gas compressed
Homework Statement One mole of an ideal gas is in a container with a moveable piston. A 100 N force moves the piston down 1 m; the compression is isothermal. Does 100 J of energy leave the gas or enter the gas? Homework Equations W=Fd U=Q-W=Q-P(Vf-Vi) The Attempt at a Solution...- blueberryfive
- Thread
- Change Compressed Energy Energy change Gas Heat Heat energy
- Replies: 4
- Forum: Introductory Physics Homework Help
-
B
Calculus-based relationships in electrostatics
Homework Statement I know for example that a=dv/dt and v=dx/dt. I was wondering whether there are similar relationships for things in electrostatics. I have to internalize all of these formulas (for electrostatics), so I was hoping to understand them in a calculus-based sense in order to...- blueberryfive
- Thread
- Electrostatics Relationships
- Replies: 1
- Forum: Introductory Physics Homework Help
-
B
Chemistry Most likely carbons for nucleophilic attack on a molecule
Homework Statement I've attached a picture of the molecule. The question: at which molecules (s) would it be likely that there would be a nucleophilic attack? Homework Equations The Attempt at a Solution The answer key says a and c, only. However, I think that b is nucleophilic because the...- blueberryfive
- Thread
- Molecule
- Replies: 2
- Forum: Biology and Chemistry Homework Help
-
B
Force and acceleration in object at rest
Thanks, so I guess my problem is that F is the net force, not just the pulling force applied to the block.- blueberryfive
- Post #3
- Forum: Introductory Physics Homework Help
-
B
Force and acceleration in object at rest
Homework Statement An object is at rest and stays at rest, but a rope attached to it is pulling with increasing force. What is the acceleration? Homework Equations F=ma The Attempt at a Solution The solution is that acceleration is constant and 0. Obviously a= dv/dt =0, since...- blueberryfive
- Thread
- Acceleration Force Rest
- Replies: 3
- Forum: Introductory Physics Homework Help
-
B
Program to Pick Out Files From List
nvn, I've been trying to learn awk, but I still have some questions. awk '{if(/^>/){close(file1);file1="db01/"substr($1,2)}; print $0 > file1}' m.txt I read this as: if a line matches ">" at the top, then close file 1 where file1="db01/"substr($1,2). Then, print the current record to file...- blueberryfive
- Post #14
- Forum: Programming and Computer Science
-
B
Program to Pick Out Files From List
Worked like a charm! Thanks nvn.- blueberryfive
- Post #13
- Forum: Programming and Computer Science
-
B
Program to Pick Out Files From List
Ok, great! db01 was created. I believe it was (3) that worked. Just a general question: what language is this? Awk? tmp01 is the same as m.txt. However, the db01 files are incorrect. It seems to have not broken it up the way it should have. I'm not sure that I decribed m.txt very well. It...- blueberryfive
- Post #11
- Forum: Programming and Computer Science
-
B
Program to Pick Out Files From List
Hi nvn, It is in the same directory, removing the line break (;, right?) does not work. tmp01 is blank. m.txt looks like this: >1123.m000123 conserved hypothetical protein ATAAAGAACGCCGGaaaAATGCCTCCCCAATTTTAAAAATTTGAAAACCGGGGAAACCCTCCGCAATTTATAA >1243.m000121 hypothetical protein...- blueberryfive
- Post #9
- Forum: Programming and Computer Science
-
B
Program to Pick Out Files From List
Hi nvn, I'm getting: awk: syntax error at source line 2 context is print dat1 > >>> "db01/"name1 <<< } awk: illegal statement at source line 2- blueberryfive
- Post #7
- Forum: Programming and Computer Science
-
B
Program to Pick Out Files From List
Great, that worked. Thanks a lot for your help, and thanks for your advice to test it manually. Now I'm trying to build the database. I have a large .txt file m.txt in that looks like this: ... >something.m.something1.txt ATCTC...etc...ACTCCCCATTTT... >something.m.something2.txt...- blueberryfive
- Post #5
- Forum: Programming and Computer Science
-
B
Solve Linear Algebra Proof: S*T*S-1=S*p(T)*S-1
Thanks Fredric that's all I wanted to know!- blueberryfive
- Post #13
- Forum: Calculus and Beyond Homework Help
-
B
Program to Pick Out Files From List
Thanks nvn! It's giving me output that looks like a long list of this: cp: /Users/username/databasegene/2003.m000043.txt: No such file or directory Which file or directory is it referring to? Another question, how exactly do I set up the database? I have a bunch of sequences listed in one...- blueberryfive
- Post #3
- Forum: Programming and Computer Science
-
B
Program to Pick Out Files From List
Hi Everyone! This is my first question for programming. I have very little experience, so if you could explain as simply as possible. I have a list of output that actually looks like this: [SIZE="3"][SIZE="1"]# Query: 2678.m000169 conserved hypothetical protein # Database...- blueberryfive
- Thread
- files List Program
- Replies: 14
- Forum: Programming and Computer Science