Part one is determining the volume of a barbell
r= radius of sphere; l= length of bar; R is radius of bar; Sph_V stands for sphere volume; cylinderCSA= surface area of 2 small circle. Cylinder V is Volume.BB stand for barbell. The rest of the variables follow similar naming schemes.
*correction*
BB_SA is wrong. BB_SA needs to have another cylinderCSA subtracted from it because there are two sides to the bar in the barbell that go into the spheres.
BB_SA= Sph_SA+Cylinder_SA- (2*cylinderCSA)
Question two is the ideal gas law problem. I am defining the variables first.
k is the combination of n and R
answering parts A and B in one go since 100: 1000 is present and 800 is present
Frac is used because terms are repeated in the formula. Reducing key strokes!
The next slides are me trying to figure out which values of just barely create imaginary numbers.
each iteration gets more and more precise once i figure out my method.
Final answer! I'm sure an automatic method can be created after learning loops. Next question!
when using the linspace function, one has to use 11 when going from 0-10 for example because we are counting 0. using linespace first in this way takes care of parts A and B simultaneously
The answer is in the Force variable
Ppy= Pounds of CO2 per year, CST is Cost per year. had made information into a nice chart
No comments:
Post a Comment