Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Alex
Python Assigning Values to new positions in a nested list.?
I have to write a code in MatLab, but Im required to start in python. We need to write a code that uses two nested for loops to assign values to new positions.
For example, rotate90([[1,2,3],[4,5,6]]) returns [[4,1], [5, 2], [6, 3]] and rotate90([[4,1], [5, 2], [6, 3]]) returns [[6, 5, 4], [3, 2, 1]]
I came up with this code, but I can't figure out whats not working. Can someone help me get it to work?
def rotate90(alist):
somelist = []
a = 0
blist = []
for elt in alist:
somelist[:0] = [elt]
for elt in somelist:
if a >= len(elt):
return blist
else:
blist[a] = elt[a]
a = a+1
1 AnswerProgramming & Design7 years agoHow do I calculate number of equivalents in chemistry?
I need to know the number of equivalents of NaOH used in a titration. Im given a volume of 10.32mL of NaOH used and molarity of .1000M
Please help walk me through this calculation.
1 AnswerChemistry8 years agoAntiderivative of 9/((1-x^2)^1/2)?
I need to find the antiderivative of 9/((1-x^2)^1/2) (that is 9 over the square root of (1-x^2) ) When f(1/2) =7.
My answer came out to be 9sin^-1 (x) +263, but it isn't correct.
I think my biggest problem is I suffer finding the antiderivatives of fractions. If someone can help walk me through this problem and explain how to take the antiderivative of a fraction, I would really appreciate it.
4 AnswersMathematics8 years agowhere is e^5x+e^-x increasing?
Im stuck on this question, and its not working for me.
If you could also provide help with t^(3/4) − 3t^(1/4)
and x^4/5(x − 1)^2, I can't seem to figure them out
Mathematics8 years agoMath related Rates Calculus?
Ive been stuck on this problem. Please help me.
Two sides of a triangle have lengths 10 m and 14 m. The angle between them is increasing at a rate of 2°/min. How fast is the length of the third side increasing when the angle between the sides of fixed length is 60°? (Round your answer to three decimal places.)
2 AnswersMathematics8 years agoMath/calc Related Rates Problem?
Please help me solve this. Ive been at it for a while now
A trough is 12 ft long and its ends have the shape of isosceles triangles that are 2 ft across at the top and have a height of 1 ft. If the trough is being filled with water at a rate of 15 ft3/min, how fast is the water level rising when the water is 5 inches deep?
Thanks
Mathematics8 years ago% Composition and Limiting Reactant?
I got stuck on this question on my lab. Can you offer any help?
-----------------------------------------
A 17.500 gram sample of a mixture of Na2Co3 and BaCl2 yielded 5.000 grams BaCO3. When the filtrate was tested with Na2CO3, there was no reaction
Na2CO3 + BaCl2 --> 2 NaCl + BaCO3
a.) Determine the limiting reactant and explain your choice
b.) Determine the % composition of Na2CO3 + BaCl2 the original mixture ***( dont you just use the equation (grams limiting reactant/ grams sample) x 100 ???)
Thanks for any help you may offer.
1 AnswerChemistry8 years agoDetermining Limiting Reactant?
".20 moles BaCl2 reacted with an unknown amount of Na2SO4 to produce .30 moles NaCl according to the reaction: BaCl2 + Na2SO4 --> BaSO4 + 2 NaCl"
a) How do I determine the Limiting Reactant?
b) What were the initial moles of Na2SO4 ?
I would appreciate any help you could offer! :)
3 AnswersChemistry8 years agoHow do I add moles to find the number of moles formed?
"If .30 moles of magnesium nitrate reacted with .40 moles of sodium phosphate, how many moles of magnesium phosphate are formed?"
I balanced the equation Mg(NO3)2 + 2(Na H2 PO4) = Mg(H2 PO4)2 +2(NaNO3)
I need help on solving this question for my Chemistry lab. In order to do the rest of the problems. It would be greatly appreciated.
1 AnswerChemistry8 years agoWhat to say when you beat someone at something!?
At the beginning of the year, I decided I wanted to try out for our high school band's drum major. Though I never really came out and told anyone. A few weeks ago, a friend of mine decided he was trying out. We had spoken and each understood that the other was trying out. Overall, there were about six people trying out. The week leading up to the try-out. My friend started to say that if he didn't get drum major, he was going to quit. We tried out this week, and I found out today that I am now Drum Major of our band. Now my friend, I think, is mad at me. I noticed him avoiding me during class and for the rest of the day. Another friend of mine (his friend as well, who didn't even try out), I caught staring at me from across the room in hushed whispers with another band member. I am pretty sure they are mad at me for trying out etc. I am very happy about being Drum Major next year, but I don't want it to lead to drama in my group of friends. I feel like I should approach them and say something to console my friend. I knew he really wanted to do it, but that doesn't mean I should feel guilty about it. I am more worried about the drama to soon ensue. What would you do? Thanks
Oh, and yeah I know he is probably upset about it, but he is also being a bit catty about it. I am the type of person that would have congratulated him if he won.
3 AnswersEtiquette1 decade agoWhat are the BEST songs from Pirates of the Caribbean?
I am making a firework show in roller coaster tycoon 3 using the soundtrack from this series. If you were to put the music to fireworks, what songs would you choose. I already have Up is Down and the Main Theme. I am looking for very up beat songs and a few soft, slow ones. Which ones do you like the best?
4 AnswersMovies1 decade agoHow can I drive the monorail at Disney World?
I know you can ride up front with the pilots of the monorail, but I recently went on youtube, and some guests were actually able to Drive it with a manager present! How am I able to do this? Is there a certain age limit?
Note: We will be going in october and I turn 16 December 26 of this year. If that makes any difference
4 AnswersOrlando1 decade agoIf my facebook get hacked and its posting a link on everyones wall, what do I do?
Its going through and posting a link on everyones wall. I know I got hacked because I clicked on a link the same virus posted on my wall and then it started doing it.
2 AnswersFacebook1 decade agoHow do you make money with adsense?
I know it through google, but is it so much per click or so much per view? And if your website is on google sites can you still participate?
3 AnswersSearch Engine Optimization1 decade agoIs American Idol using the Judges save again this year?
I know they did it last year, but can the judges save someone they do not think should be voted out yet on American Idol?
2 AnswersReality Television1 decade agoWhat Type of Degree Do I Need to Design Rides/Attractions for Disney?
Ever sinse I can remember, I have wanted to be an Imagineer for Disney (if you don't know, they design rides and attractions). I am 15 now and I have wanted to build/design sinse kindergarten and work for Disney sinse at least 2nd or 3rd grade (in 9th now). So, what type of degree would I need to design rides and attractions as an Imagineer?
1 AnswerOther - Education1 decade agoWhat does the logo of the Vancouver Olympics stand fro?
The logo for the Vancouver Olympics that looks like the michelin man. What is the story behind it and what does it stand for.
2 AnswersOlympics1 decade ago