Monday, May 24, 2010

Does cost of uniform for work go on Schedule C or Schedule A (even if itemized not taken)?

Does cost of uniform for work (assume its ruled work purposes only and not reimbursed) go on Schedule C as Other Expenses (line 27) or on Schedule A (even if itemized deductions not taken)?


In other words if the standard deduction is taken, can work uniforms be deducted on Schedule C?


ALSO (sorry one more)


cost of business license goes on schedule C (line 27) right?

Does cost of uniform for work go on Schedule C or Schedule A (even if itemized not taken)?
If the uniforms are for a business you own, then they would go on your schedule C for that business. And yes, the cost of a business license goes on schedule C





But if you are an employee, not the owner of the business, they go on your schedule A and you can only deduct them if you itemize.
Reply:If you have income you will be reporting on a Schedule C and you use "uniforms" to earn that income you would report that expense as a part of the amount on Line 27. Should your income come from W-2 type employee earnings you would normally take a deduction for "uniforms" on Form 2106 which will carry to line 21 on Schedule A. If you are using standard deductions (not itemizing) you would not be able to take a deduction for "uniforms" related to employee earnings. If your "uniforms" are used for both activities you would prorate the expense.
Reply:Expenses for work performed as an employee (a person who receives a W-2 form) can go only on Schedule A and cannot go on Schedule C or Schedule C-EZ.





Expenses for work performed as an independent contractor (a person who receives a 1099 form) can go on Schedule C or Schedule C-EZ, but not both, and cannot go on Schedule A.
Reply:It goes on Sch C if it relates to Sch C Income. Otherwise it would be an itemized deduction as an employee expense

innia

Can you tell me how to put the following into the standard format y>=mx+b?

Can you tell me how to put the following into the standard format y%26gt;mx+b


5a+2b%26lt;=7


5c+5d%26lt;=30


c%26gt;=4


9a+10d%26lt;=180


a%26gt;12


d%26lt;=5

Can you tell me how to put the following into the standard format y%26gt;=mx+b?
b%26lt;= -5/2 a + 7/2





d%26lt;= -c + 6





0%26gt;= -c +4





d%26lt;= -9/10 a + 18





0%26gt; -a + 12





d%26lt;=5
Reply:Hi,





I have master degree in mathematics and I have got thirteen ten years of teaching experience in Math at college level and currently I am working as a lecturer for an army engineering college author of math guide, I can help u if hire me.





$4
Reply:who do u think i am math teacher?


Should the English Bulldog standard be changed?

I'm not against the bulldog, just think the standard should be changed so breeders don't continously breed for smushed faces, flab, and huge heads.





Problems:


1) It's extremely dangerous to allow standard bulldog bitches to naturally whelp because unlike nearly all other breeds, bulldogs have tremendous heads which require C-sections. The pup's head gets stuck in the birth canal, trapping other pups inside Mom.


2) Full of health problems. Skin problems, food allergies--what else? These are side effects of the smushed nose and wrinkles.


3) Does not seem to have a purpose. I know we shouldn't decide whether dogs should LIVE or not just whether or not they help us, but the bulldog does not really get or do anything through existence--they sit, sleep, and eat. They don't protect, they can't run/swim cuz of their massive heads, and they can't move as freely as other dogs cuz their heads weigh them down, literally.





So, should the breed standard be changed or not?

Should the English Bulldog standard be changed?
I would like to see that changed! Did you see the show Nature on PBS recently, it was a 2 part show about "Dogs that changed the world" and they addressed the issue of the bulldog's changed image. It was a great show and will probably be on again this month if you missed it!
Reply:Hone, are you in the Bulldog club of America or the country you live in? If not, why not? The parent clubs of various breeds are the organizations that decide what the standard reads. Standards are rarely changed and whenso, it is done by people extremely knowledgeable in the breed and for good, justified reasons. If you are an active member of the parent club and are knowledgeable in the breed and wish to get your parent club to address the breed standard, by all means, do so but to put it up as a silly question on a silly internet q/a forum to people who don't have a clue or care about the breed is just inane on face. How many Bulldogs have you taken through varoius performance venues? How many Bulldogs have you reared and finished in the breed ring and know that all that you say applies to them? I for one have only minimum association with the breed but have known obedience titled ones, finished dogs that can outmove many breeds even with their 'heads that weigh them down' :) Maybe your perception is based on quality dogs that are bred by concerned breeders that adhere to the breed standard and maybe it isn't, huh? I never noticed any Bulldogs in the breed ring dragging their heads or anything else around nor just 'sit, sleep and eat'ing :) Maybe your experience is a bit limited?
Reply:Absolutely NOT !!!


First I think you need to do a bit more research on the breed before posting .





1) C-sections are done for a number of reasons , c-sections are a relatively new procedure . Do you think this was done 100 years ago ?? How do you suppose they haven't become extinct ?? Free whelped ! Not because their heads are to big , but because the ***** tires . Also if the ***** should be carrying a water pup there is no way a Bulldog or any other dog for that matter could pass it.





2 ) I've owned , bred %26amp; showed Bulldogs for a number of years . The health issues you list above are not exclusive to bulldogs and are not because they are brachycephalic . Personally I haven't had any health related issues.





3 ) They were originally bred to bait bulls thus the name BULLDOG .





I'm sorry but unless you actually own one your pretty clueless. For the record I am a proud member of the Bulldog Club Of America and wouldn't trade them for any other breed
Reply:The standard IS being changed - the wrinkles resting on their noses is being bred out of the breed to aid their breathing, amongst others.
Reply:I thik something should be done, and not just for bulldgs, as other breeds have problems too. Animal health should come before arbitrary characteristics.


Standard Deviation Question.... & finding the test value?

A recent gasoline survey said that the national average gasoline price was $1.298 a gallon. It was felt that gasoline in Texas was significantly lower than the national average. A survey of 7 different suburbs in Dallas, Texas, found the average price of gasoline to be $1.192 a gallon with a standard deviation of $0.0436. What is the test value?











a. -4.38





b. -5.41





c. -6.19





d. -6.43





e. -7.59





f. -10.7





g. none of these

Standard Deviation Question.... %26amp; finding the test value?
hi,


test static t = x - mue / standard deviation * root n





x = $1.192 , mue = $1.298 , n = 7 , standard deviation = $0.0436





t = 1.192 - 1.298 / 0.0436 * root 7 =


- 6.43


option d .





if u still have any doubts or any problems to be solved contact me.


thankyou
Reply:d. -6.43


T-Test: t=-6.432331, p=0.0003337485


How does standard deviation std work?

ok, if a class is curved.....how does the standard deviation work? say, the std is 7.5, so does that mean 7.5 points above or below the average is C- and C+


please, someone who understands, let me know thnx!

How does standard deviation std work?
ok what is the mean score of the Test.


Lets say the Mean score is 50


The standard d is 7.5.


The +1 SD = 57.5


The -1 SD = 43.5


the scores that fall in that range make up scores of 68% of the students who took that test.


If you need more help email me. I am a teacher who has a masters in assessment. my email is the same as my yahoo ID


Good luck
Reply:itsgood2b is correct in describing the characteristics of the normal distribution, but your question seems to ask what the relationship is between the distribution and corresponding letter grades.





The determination of letter grades from the score distribution is arbitrary, but not capricious. Your teacher may assign grades as he or she sees fit.





One such scheme is to assign an A to scores 1 SD above Mean, a B from the Mean to +1 SD, a C from the Mean to -1 SD, a D from -1 SD to -2 SD, and an F below that. As you can tell, the teacher can be a "hard" or "easy" grader by selecting where the grades match the scores.





Since you will be discussing the above question with your teacher, be sure to ask about item analysis for the test. Best wishes.

gerbera

Statistics: Mean and Standard Deviation?

Let the variable continuous variable X represent IQ scores of 12 year olds. X is Normal with a mean of 100 and a standard deviation of 16.





a. ______________Jessica is a 12-yar old and has an IQ of 132. What proportion of 12-year-olds have IQ scores less than Jessica’s?




















b. ______________Mike is 20 years old and has an IQ of 144. 20-yr-olds have IQs that are normal with mean 120 and standard deviation 20. Standard scores (z) allow direct comparison of scores from different normal distributions. Relative to their respective age groups, who has a higher IQ, Jessica or Mike?























c. _______________What proportion of 12-year-olds have IQ scores below 84?























d. ________________ What proportion of 12-year-olds has IQ scores between 84 and 116?


e. _____________ What IQ score is needed to be in the top 10% of the distribution (90th percentile) of 20-year-olds?

Statistics: Mean and Standard Deviation?
a) - 97.7%


b) - Jessica


c) 15.9%


d) 68.2%


e) 149.6
Reply:You need to do your own homework. I suggest you look in your book for the information about the Empirical Rule. Follow the examples in the book and you should be able to determine these answers.


Mean, Quartiles and Standard deviation?

A school system employs teachers at salaries between 30,000 and 60,000. The teachers' union and the school board are negotiating the form of next year's increase in the salary schedule. Suppose that every teacher is given a flat 1000 raise.


a) How much will the mean salary increase? Median salary?





b) Will a flat 1000 dollar raise increase the spread as measured by the distance between the quartiles? explain?





c) Will a flat 1000 dollar raise increase the spread as measured by the standard deviation of the salaries? Explain?

Mean, Quartiles and Standard deviation?
How much will the mean salary increase? Median salary?





well if there were 3 teachers then mean is





(a+b+c)/3





after pay rise its


(a+1000+b+1000+c+1000)/3


(a+b+c+3000)/3


(a+b+c)/3 + 1000





The mean goes up by 1000


The rankings dont change so the person being paid the median rate still gets paid the median rate (which obviously has gone up by 1000





b) Will a flat 1000 dollar raise increase the spread as measured by the distance between the quartiles? explain?





The spread will not change. IQR+UQ-LQ





after this is (UQ+1000)-(LQ+1000)=UQ-LQ





c) Will a flat 1000 dollar raise increase the spread as measured by the standard deviation of the salaries? Explain?





The SD is the average distance of each score from the mean, so on average scores are still the same distance from the mean so no it wont change.


All of the following substances have a standard free energy of zero EXCEPT?

All of the following substances have a standard free energy of zero EXCEPT





a.Hg(λ).


b.Cl2(g).


c.Br2(λ).


d.I2(g).


e.S8(s).

All of the following substances have a standard free energy of zero EXCEPT?
I believe the answer is:





e.S8.


A.C. vs fan ?

We have a on bedroom apartment and are trying to keep the electric bill down as well as electric usage for environmental reasons. We have central A.C. Is it cheaper to set the A.C. to a bearable temperature, such as 79 deg F, or keep a standard box fan on all the time?

A.C. vs fan ?
Fans do not cool, they circulate air (hot air). You get the sensation of cool because of moisture drying on your skin. A fan will be cheaper to run than a 110 volt AC. Central AC units are 220 volt and cheaper to run. Setting the temp at 78 will actually cool the rooms and probably be more comfortable than a few fans.
Reply:Do both,the fan will circulate the cool air and make the room cooler.I use my A/C with a fan all the time.Low cool and a fan is my theory.....
Reply:get an A.C. but put on the setting called Energy saver so it won't use as much.
Reply:Fan, even a couple of fans are cheaper than the ac!
Reply:Central air is much more efficient than dealing with fans. For one fans only move around hot air. You can set your AC to whatever temp you are comfortable with and it will maintain that temp. Frankly, 79 is a bit high. We set ours at 76. It keeps the moisture out of the air without freezing everyone out. We also have a 3300 sq. ft. home. We have not had a high electric bill yet.

rosemary

Standard Reduction Principal?

Half Reaction Eo (V)


Zn2+(aq) + 2e- -%26gt; Zn(s) = –0.763


Tl+(aq) + e- -%26gt; Tl(s) = –0.336





Use the standard reduction potentials to find the standard


cell potential, E°, for the reaction;


Zn(s) + 2Tl+(aq) r Zn2+(aq) + 2Tl(s)


(A) 0.427 V (B) 0.091 V


(C) –0.091 V (D) –0.427 V


How would I solve this?

Standard Reduction Principal?
Zn2+(aq) + 2e- -%26gt; Zn(s) = –0.763


Tl+(aq) + e- -%26gt; Tl(s) = –0.336





Flip first equation





Zn(s) -%26gt; Zn2+(aq) + 2e- = +0.763


Tl+(aq) + e- -%26gt; Tl(s) = –0.336





Note sign change





Mult. 2nd equation by 2





Zn(s) -%26gt; Zn2+(aq) + 2e- = +0.763


2Tl+(aq) + 2e- -%26gt; 2Tl(s) = –0.336





Note that the voltage is unaffected.





Add equations and voltages together. Here is just the voltages:





+0.763 + (-0.336) = 0.427 V


Standard Cell Potential?

Given the following,





Fe3+(aq) + e- ===%26gt; Fe2+(aq) (E° = +0.771 V) and


Pb2+(aq) + 2 e- ===%26gt; Pb(s) (E° = -0.126 V),


calculate the standard cell potential for the cell based on the reaction below and predict whether the reaction can occur spontaneously under standard conditions:


Pb2+(aq) + 2 Fe2+(aq) ===%26gt; 2Fe3+(aq) + Pb(s).





A. -0.897 V


B. +0.897 V


C. -0.645 V


D. +0.645 V


E. spontaneous.


F. nonspontaneous.

Standard Cell Potential?
Fe2+ %26gt;%26gt; Fe3+ + 1e- ( E° = - 0.771 V)


Pb2+ + 2e-%26gt;%26gt; Pb ( E° = - 0.126 V)





E = - 0.771 - 0.126 = - 0.897 V


non spontaneous


Quadratic function in standard form from sets of points?

please help and explain! thanks youuu!





Find a quadratic function in standard form for each set of points.





1. (0, 3) (1. -4) (2, -9)


(all i know is that c=3, right?)





a. f(x)= x^2+27x + 3


b. f(x)= x^2 -27x + 3


c. f(x)= x^2 +8x -3


d. f(x)= x^2 -8x + 3








2. (0, -4) (1, 0) (2, 2)





a. f(x)= -2 x^2 +5x -4


b. f(x)= -x^2 -5x +4


c. f(x)= -x^2+5x -4


d. f(x)= -x^2 +5x +4

Quadratic function in standard form from sets of points?
They are multiple choice question, so you can substitute and check.





1. First points satisfies all euqtions


so check with (1, -4)


1 + 27 + 3 = 31 not equal to -4 so its not a


1 - 27 + 3 not equal to -4 so its not b


1 + 8 - 3 not equal to -4 so its not c


1 - 8 + 3 is equal to -4 so its d





So the answer is d. Now if you want you can chcek with the third point.


4 - 16 + 3 = -9 so now you are sure its d





2. substitue (0, -4) from this you know it cannot be b, d as they will result is f(0) = 4


so it has to be a, d





Substitute (1, 0) in a


-2 + 5 - 4 = -1 not equal to 0 so its not a


in c, -1 + 5 - 4 = 0 so its c


Answer is c


Standard Deviation?

A teacher gave a 25 multiple choice question test. After giving the tests, she computed a mean and standard deviation of the scores. The standard deviation was 0. Based on this info:


a) all the students had the same score


b) she must have made a mistake


c)about half the scores were above the mean.





please explain!

Standard Deviation?
Standard deviation provides the intervals for a standard bell curve, which would give you the percent of people which got a certain score.





If the intervals on the bell curve were 0, all students would have the same score. Because of that, half of the scores could not be above the mean, since they all are the mean score, and while it is possible a mistake was made, all students getting the same score would be the correct answer
Reply:A, but probably B. If the SD was zero, the teacher could just look at the scores and know that!
Reply:SD = 0 is possible only if all the scores are the same. So, a is correct (although quite possibly b is also correct :) )

wallflower

Standard potential of a battery?

A student was given a standard Fe(s) | Fe+2 (aq) half-cell and another half-cell containing an unknown metal M immersed in 1 M MNO3(aq). When these two half-cells were connected at 25 (degrees) C, the complete cell functioned as a galvanic cell with E = 1.24 V. The reaction was allowed to continue overnight and the two electrodes were weighted. The iron electrode was found to be lighter and the unknown metal electrode was heavier. What is the standard potential of the unknown M+/M couple?

Standard potential of a battery?
Look up the iron half cell potential and subtract.


Standard Deviation Problem below. Can anyone figure out the solution?

What is the 98% confidence interval for the standard deviation, sigma , of birth weights at County General Hospital, if the standard deviation of the last 22 babies born there was 1.8 pounds?





a. 1.20 %26lt; sigma %26lt; 2.02





b. 1.15 %26lt; sigma %26lt; 2.14





c. 1.10 %26lt; sigma %26lt;2.30





d. 1.07 %26lt; sigma %26lt; 2.43





e. 1.28 %26lt; sigma %26lt; 2.91





f. 1.32 %26lt; sigma %26lt; 2.77





g. none of these

Standard Deviation Problem below. Can anyone figure out the solution?
%26gt;%26gt; Since none of choices a-f is centered around 1.8,


%26gt;%26gt; I would go with (g).


%26gt;%26gt;


%26gt;%26gt; Dan





I was thinking of the naive measured mean +/- standard error for means when I wrote that. But checking it out, in a million random trials of 22 generated normals with sigma 1.32, the measured "(n-1)/n" sample standard deviation was %26gt;= 1.8 about 0.98% of the time. For sigma 2.77 the meaured standard deviation was %26lt;= 1.8 about 0.97% of the time.





So the answer is (f), 1.32 %26lt; sigma %26lt; 2.77





Dan


Find the standard form of the equation of this parabola25x^2 -16 Y^2 +100X-32Y-316=0?

I need this by today. please step by step





A)state the center, the endpoints of the trancerse axis and of the conjugate axis.





b)state the equations of the asymptotes





c) graph the curve. show the fundamental rectangle and sketcj the asymptotes.





D) write standard equation of the hyperbola with the same fundamental rectangle for which transverse and conjugate axes are reversed.





e) skecth this hyperbola on the same ser of coordinate axes as the original hyporbola.





f)state the equation of the ellipse that has the same fundamental rectangle





g)sketch the ellipse that has the same set if coordinate axes as the two hyporbolas.





H) referring to the above questions, how will the tree equations chanfe if the fundamental rectangle is rotated by 90 degrees?





thank u so much





e)

Find the standard form of the equation of this parabola25x^2 -16 Y^2 +100X-32Y-316=0?
guys, do your homework or you'll get really bad grades...I'm speaking from personal experience...


A standard solution of sodium hydroxide can be used in a titration experiment to determine FW of unknown acid.

A common mistake is the failure to rinse the buret with the standard solution after the final water rinse but before measurements of volume of standard solution are taken. The mistake accounts for which results?


I. The volume of standard solution is reported too small.


II The volume of solute used to dissolve unknown acid is too small.


III. Number of moles of unknown acid is reported too large





a) I only


b) II and III only


c) III only


d) I and III only


e) I, II, and III

A standard solution of sodium hydroxide can be used in a titration experiment to determine FW of unknown acid.
After the final water rinse, there could be drops of water left in the biuret. Hence, when NaOH solution is poured into it to be measured, the drops of water causes the base to be diluted. So, the concentration of NaOH becomes smaller than what it should have been, which means that the no. of moles of base is lesser.





(I) cannot be the answer because the vol. is not affected.


(II) is also not the answer because the acid is not involved.





(III) is correct because as the concentration of NaOH is smaller (eg. 0.9mol/dm3) , a larger volume of NaOH is required to react with the acid. However, as it is thought that the concentration is higher (eg.1.0mol/dm3), it will be concluded that there is a larger no. of moles in the acid so that a larger volume of base will be needed for neutralisation.





so the answer is (c)





:D
Reply:Another Useless question.............who cares.....
Reply:do your homework!

hollyhock

Calculating Standard Enthalpy of Formation?

The standard enthalpy of combustion for napthalene, C10H8 (s) is -5156.8 kj/mol. Using this data and the standard enthalpies of formation, delta Hf H2O (l) = -285.9 kj/mol ; CO2 (g) = -393.5 kj/mol, calculate the STANDARD ENTHALPY OF FORMATION (was bolded in the text) of C10H8 (s) in kj/mol.





a) 78.2kj b) 935.9kj c) -1065.4kj d) 3619.7kj e) -10235.4kj





i think it's A, but i'm not sure. can someone show me how to solve this?

Calculating Standard Enthalpy of Formation?
It looks like you got it. This is how it came out for me:





This is the reaction:


C10H8(s) + 12 O2(g) ® 10 CO2(g) + 4 H2O(l)





and Hc=(Summation of Hf of products)-(Summation of Hf of reactants)


So...





Hc (C10H8) = 10 Hf(CO2) + 4 Hf(H2O) – Hf(C10H8)


-5156.8kJ/mol=(10)(-393.5 kJ/mol)+(4)(-285.9kJ/mol0-Hf (C10H8)


-5156.8kJ/mol=(-3935 kJ/mol)+(-1143.6 kJ/mol)- Hf (C10H8)


-5156.8kJ/mol=(-5078.6)- Hf(C10H8)


-78.2kJ/mol=-Hf (C10H8)


78.2kJ/mol=Hf (C10H8)





I believe that's how it's done, but it's been a while since I've done that kind of problem, so it's probably not a terrible idea to double check with someone else.


Standard water softener?

In a standard water softener, what ion replaces calcium and magnesium ions?





A K+


B Ba2+


C H+


D Li+


E Na+

Standard water softener?
In a standard water softener, the water to be treated is passed through a bed of small plastic beads called zeolite covered with sodium ions. The calcium and magnesium ions then displace the sodium ions. So E. is the answer.
Reply:E. Sodium


Which of the following linear chain alcohols is likely to have the highest standard entropy in the liquid stat

Which of the following linear chain alcohols is likely to have the highest standard entropy in the liquid state?





a.CH3CH2OH


b.CH3OH


c.CH3CH2CH2CH2CH2OH


d.CH3CH2CH2OH


e.CH3CH2CH2CH2OH

Which of the following linear chain alcohols is likely to have the highest standard entropy in the liquid stat
a..if you add up the numbers, you get a prime number. that's the secret that chemistry teachers don't tell you,
Reply:D!!!


What is the stock gear ratio in a standard base 1991 Jeep Wrangler?

What is the stock gear ratio in a standard base 1991 Jeep Wrangler?


A) 3.55


B) 3.73


C) 4.10


D) 5.13

What is the stock gear ratio in a standard base 1991 Jeep Wrangler?
I looked at wikipedia, and answered it off of wajas, its B.
Reply:Most 6-cylinders got 3.07 or 3.55, most stick shift manual 6-cylinders got the 3.07.





Most 4-cylinders got 4.10, but 3.73 was also an option.





There are several methods for figuring out what gears you have. First there should be a tag on your diff cover. You can see this tag is stamped 3.07:





http://www.cdmfabrication.com/bbpics/axl...





Next Dana axles have a bill of material code, which identifies everything in the axle this is stamped into the axle tube itself, and can be hard to spot as its very light. This picture shows a bill of material stamping:





http://www.cdmfabrication.com/bbpics/axl...





Once you have this number, you can decode it on this Dana website:





http://www2.dana.com/expert/wc.dll?cvsp~...





You can also roughly estimate the gear ratio, by jack the rear axle up off the ground and spinning a tire, if the pinion makes 3.5 turns for one turn of the wheel you can figure you have 3.55 ratio.
Reply:there are 2 tabs on your differential the first 3 numbers on the second tab will tell you the gear ratio

cabbage

Which SCSI standard first supported removeable storage devices?

Which SCSI standard first supported removeable storage devices?


A. SCSI-2


B. ultra-3 SCSI


C. SCSI-1


D. SCSI-3

Which SCSI standard first supported removeable storage devices?
SCSI-1; as SCSI served all from the beginning as a more elegant replacement of Shuggart, IDE/EIDE/ATA.


What is the standard free energy change for this reaction?

The nickel-cadmium battery cell has a standard potential of +1.20 v. The cell reaction is 2 NiO(OH)(s) + Cd(s) + 2H2O(l) ===%26gt; 2 Ni(OH)2(s) + Cd(OH)2(s). What is the standard free energy change for this reaction?





A. -38.7 kJ


B. -116 kJ


C. -232 kJ


D. -463 kJ

What is the standard free energy change for this reaction?
∆G = -nFE° = -2*96485*1.20 = -232 (kJ)


C++ Shunting_yard_algorithm?

The only prog. i can find is for c but i need the code for C++ i know c code will work on c++ but i dont understand c





The objective is to implement an infix to


postfix RPN notation converter using a stack. There is a good description of the shunting yard


algorithm described by Edsgar Dijkstra at http://en.wikipedia.org/wiki/Shunting_ya...


There is an example of the algorithm in the link. The infix notation string should be entered through standard input and the


postfix notation conversion displayed on standard output.


The stack used in this project should be written as a class and using a linked list to implement the


stack data structure.

C++ Shunting_yard_algorithm?
I have written this program in Java, it is not that different from C or C++, there is an algorithm for converting:


Scan the Infix string from left to right.


1- Initialise an empty stack.


2- If the scannned character is an operand, add it to the Postfix string. If the scanned character is an operator and if the stack is empty Push the character to stack.





3- If the scanned character is an Operand and the stack is not empty, compare the precedence of the character with the element on top of the stack (topStack). If topStack has higher precedence over the scanned character Pop the stack else Push the scanned character to stack. Repeat this step as long as stack is not empty and topStack has precedence over the character.


Repeat this step till all the characters are scanned.





4- (After all characters are scanned, we have to add any character that the stack may have to the Postfix string.) If stack is not empty add topStack to Postfix string and Pop the stack. Repeat this step as long as stack is not empty.





5- Return the Postfix string.





Check out:


http://scriptasylum.com/tutorials/infix_...


for more details, i copied and pasted the algorithm from this site, there are also some examples there.





The Java code is too long to send it here, if u want it, e-mail me and i will send it.





Good luck


Bye


Standard deviation problem......??

can anyone tell the answer and the method to solve the below problem .......... is there any shortrick to solve them......??








1)Which of the following set of numbers has the highest Standard deviation?


a)1,0,1,0,1,0 b)-1,-1,-1,-1,-1,-1 c)1,1,1,1,1,1 d)1,1,0,-1,0,-1








2. which of the follwing group has highest standard deviation?


1) 2, 0, -2, 2, 0, -2


2) 2, 2, 2, 2, 2, 2


3) -2, -2, -2, -2, -2, -2


4) 2, -2, 2, -2, 2, -2

Standard deviation problem......??
Standard deviation is basically a measure of how much of a difference there normally is between different measurements in your set. If you have a set like {1,5,8,3,10,5,12,-2,21}, your standard deviation is relatively large because your numbers are all over the place. If you have a set like {5,6,4,5,7,5,4,5,5,6}, your standard deviation is pretty small because most of your numbers are pretty close together.





For problem 1:


a) This set has different numbers with a small difference, so there is a standard deviation.


b) All the numbers are the same, so the standard deviation is 0.


c) Again, all the numbers are the same, so the standard deviation is 0.


d) The numbers range from -1 to 1, which is the biggest range among all of your sets. Clearly, this standard deviation is higher than (a).





So, the answer is (d).








Problem 2:


Based on the same reasoning, you can eliminate choices (2) and (3) because those standard deviations are both equal to zero.


Between choices 1 and 4, you can decide based purely on the fact that choice 1 also has the 0 in between. Because of this, you have more numbers that are closer to the average of the set (the average of both sets is 0). Nevertheless, you could also just calculate the standard deviation for those last two if you want to check your answer... the st. dev. values for choices 1 and 4 are actually fairly close to each other.





So, the answer is (4).








EDIT: FYI, The person who answered after me is wrong; don't use that answer. The mean of {1,0,1,0,1,0} is 0.5, not 7. The standard deviation is 0.55, not 8. How can the mean of 1's and 0's be equal to 7?


I don't mean any offense, I just want to make sure that you don't use the wrong answer.
Reply:A large standard deviation indicates that the data points are far from the mean and a small standard deviation indicates that they are clustered closely around the mean


sooo....


{1,0,1,0,1,0} has a mean of 7 so standard deviation = 8.0829


{-1,-1,-1,-1,-1,-1} has a mean of -1 so standard deviation = 0


{1,1,1,1,1,1} has a mean of 1 so standard deviation also = 0


{1,1,0,-1,0,-1} has a mean of 0 so standard deviation = 0.89443


now... since you are looking for the "Highest" Standard Deviation, the answer must be 8.0829





That was the answer to number 1.





Here goes number 2.





{2, 0, -2, 2, 0, -2} has a mean of 0 and standard deviation = 1.78885


{2, 2, 2, 2, 2, 2} has a mean of 2 and standard deviation = 0


{-2, -2, -2, -2, -2, -2} has a mean of -2 and standard deviation also = 0


{2, -2, 2, -2, 2, -2} has a mean of 0 and the standard deviation = 2.19089





So, in your case, the highest "Standard Deviation" must be 2.19089





I Hope this helped you. I am pretty sure it is correct, but if it isn't good luck lol.





I have also put a source that should give you some assistance for further problems if needed.
Reply:1) a


2) 4

phlox

Volume and standard deviation??? please help!!!?

When delivering 10 mL of water from the graduated cylinder to the vial, the masses of water actually delivered for each of your 5 trials were: 9.695 g, 9.871 g, 9.807 g, 10.036 g, and 9.809 g. Calculate the average volume of water dispensed and the standard deviation of your measurements. Assume the temperature of the water is 25 ̊C and the density is 0.99704 g/mL.

Volume and standard deviation??? please help!!!?
volume = mass / density.





So find the average mass of all your trials. Which comes out to 9.844. And now just plug it into the formula.





volume = 9.844/0.99714 = 9.873mL





Standard deviation





the formula looks a little more complex than this but this is the general idea.


s= [ xi-x^2/n-1] ^ 1/2


xi = individual result (trials)


x= the average


n=total number of measurements (number of trials)





s= [(9.695-9.844)^2+(9.871-9.844)^2+(9.807-... / 5-1] ^ (1/2) = .125 mL





I had to answer the exact same question but with different numbers. I'm pretty sure this is right.
Reply:hmmm... i never learned standard deviation in chem, only in psych....





first of all, i'm assuming when you said grams for all the measurements that follow that you meant mL





the avg would be 9.844 mL, i'm guessing you know how to do that....





here's how you do standard deviation:





first, subtract each trial from the average... then square all those answers and add them together. this is your variance





i got .0624 for the variance. then, take the square root of this answer (because it is currently in squared mL, which isn't really of use to anybody)





the standard deviation is .2498mL





idk if it's the same thing in chemistry, tho.


Arrange the following in order of increasing strength of reducing agents (under standard conditions).?

Arrange the following in order of increasing strength of reducing agents (under standard conditions).





a) Cr ( when losing two e- )





b) H2





c) Zn





d) Li





e) F -





f) Fe ( when losing two e- )








Cr2+ + 2- ↔ Cr Eo = -0.91

Arrange the following in order of increasing strength of reducing agents (under standard conditions).?
If a species ( a metal, a cation or an anion) can easily LOSE electron it is a strong reducing agent. Why?


Since it can easily transfer e- , it removes negative charge and it is oxidized. On the other hand, since it supplies e- to another species, it causes the other substance to be reduced.


How can we compare the e- losing abilities of species to determine their reducing strengths?


We will compare their standard oxidation potentials. The greater the oxidation potential, the stronger the reducing ability or strength.


If we have a table showing only the reduction potentials, how can we compare?


You can do two things.


(1) The greater the reduction potential, the weaker the reducing ability or strength. This means that The smaller the reduction potential, the stronger the reducing ability or strength.


(2) Reverse the reduction equations and change the signs of the potentials, you obtain the oxidation potentials and compare accordingly.





In any case we need the potentials either oxidation or reduction.





The standard reduction potentials of the species involved:





2H+(aq) + 2e− → H2(g) ...................... E° = 0.00 V





Zn2+(aq) + 2e− → Zn(s) ...................... E° = −0.76 V





Li+(aq) + e− → Li(s) ............................. E° = −3.05 V





F2(g) + 2e− → 2F−(aq) ........................ E° = +2.87 V





Fe2+(aq) + 2e− → Fe(s) ....................... E° = −0.44 V





Cr2+(aq) + 2e− → Cr(s) ....................... E° = −0.91 V





The smaller the reduction potential, the stronger the reducing ability or strength.


Li+(aq) + e− → Li(s) ............................. E° = −3.05 V





Li is the strongest reducing agent. Because it is difficult to reduce Li+ ions.


Increasing strenght:


F-


H2


Fe


Zn


Cr


Li


Arrange the following in order of increasing strength of reducing agents (under standard conditions).?

Arrange the following in order of increasing strength of reducing agents (under standard conditions).





a) Cr ( when losing two e- )





b) H2





c) Zn





d) Li





e) F -





f) Fe ( when losing two e- )








Cr2+ + 2- ↔ Cr Eo = -0.91











Enter letters in one lower case group, weakest to strongest e.g. cadbe

Arrange the following in order of increasing strength of reducing agents (under standard conditions).?
a) Cr ( when losing two e- ) Eo= +0.91


b) H2 ........................................... zero


c) Zn ...........................................


d) Li......................................... +3.05


e) F -.......................................... -2.87


f) Fe ( when losing two e-) ..........+0.44





ebfcad


C program blank removal?

last program and I am done guyz, can someone please help me. i hav been doin this all night, in C not C++. thank you very much really appreciate it.





A text file contains a bunch of characters. There are no tab characters within the file.





Write a program that replaces two or more consecutive blanks by a single blank. For example, if the input is





Let’s go to the movies.





then the output would be Let’s go to the movies.





The input from this program should come from a file whose name has been supplied via argv[1]. The output from this program should go to standard output. Note: This program came from Chapter 3 in your ANSI C text book.

C program blank removal?
I'm really reluctant to just give you the answer - it's clear this is for some coursework, so I'll give you a framework and hints. You fill out the TODOs.





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


int main(int argc, char **argv)


{


int fd;


char buffer[1024];


char outbuffer[1024];


int n;


char *bp,*obp;


int isspace;





TODO check the value of argc


TODO fd = open the file argv[0] in the correct mode


TODO check the value of fd, display an error (perror is a good choice for this) and exit if fd indicates an error.


n = read(fd, buffer, 1024);


(We're just going to do a one off read of 1k. Better still would be to loop around getting buffers and checking their contents as we go. You can figure this out, but if you do, handle the case where one space is in one buffer and another space is in the next one. Remember that 'n' may not come back with 1024 - it could be -1 if there's an error, or a number between 0 and 1024 if the file is smaller than 1k.)


TODO - check the value of n doesn't indicate an error. If it does, display an error and close fd


close fd





At this point you have 'n' bytes of your file in the buffer. Loop around looking for spaces.





isspace=0;


for (bp=%26amp;buffer[0], obp=%26amp;obuffer[0]; n%26gt;0; bp++, n--)


{


if (*bp==' ')


{


if (isspace)


{


we had a space last time, now here's another. Don't copy *bp to *obp


isspace=0;


continue;


}


else


{


isspace=1;


}


}


*obp=*bp;





(for clarity, on its own line)


obp++;





}





TODO - what do you want to do with your new buffer?





return 0;


}

verbena

Suppose the expected returns and standard deviations of stocks A and B are E(RA) = 0.17, E(RB) = 0.27, StdDevA

a. Calculate the expected return and standard deviation of a portfolio that is composed of 35 percent A and 65 percent B when the correlation between the returns on A and B is 0.6.





b. Calculate the standard deviation of a portfolio that is composed of 35 percent A and 65 percent B when the correlation coefficient between the returns on A and B is -0.6.





c. How does the correlation between the returns on A and B affect the standard deviation of the portfolio?

Suppose the expected returns and standard deviations of stocks A and B are E(RA) = 0.17, E(RB) = 0.27, StdDevA
You still cut off part of the question and without the information the questions cannot be answered. Below are some links that may help you solve the problems on your own.


Grading curves: C to C+ centered mean?

I know that in many of my classes, the curve is based on a C to C+ centered mean. It says the A/B cutoff is the mean plus on standard deviation, and the D/F cutoff is the mean minus on std. dev. What I'm wondering is, what exactly do they mean by "C to C+ centered mean?" Is the mean a C/C+ cutoff? If you get a score close to but higer than the mean, is that around a C+ or B-? I understand how this works for scores that are not close to the actual mean, but it seems more confusing when they are. Thanks.

Grading curves: C to C+ centered mean?
It means that the average score on the test was between a C to C+. Therefore, a C+ would be curved closer to an A+.


First part of that question...I need to calculate Standard error of mean??

A SRS of 20 commuters to the Los Angeles metropolitan area are selected and each is asked how far they commute work each day. In the sample, the mean distance is 64 miles and the standard deviation is 12 miles. Assume that in the population of all commuters to the LA metropolitan area, daily commuting distances follow a normal distribution, with some mean Mu.





The standard error of mean is:





A) 14.31


B) 2.68


C) 7.20


D) 0.60

First part of that question...I need to calculate Standard error of mean??
The standard error of the mean is the standard deviation divided by the square root of the sample size:





se = sd/sqrt(n)


se = 12/sqrt(20)


se = 2.68 approximately





so B) is the correct answer.


What is the standard free energy change for this cell?

The cell reaction for a dry cell battery is Zn(s) + 2 MnO2(s) + 2NH4+(aq) ===%26gt; 2 NH3(aq) + Mn2O3(s) + Zn^2+(aq). The standard cell potential for this cell is 1.56 v. What is the standard free energy change for this cell?





A. +151 kJ


B. -151 kJ


C. -301 kJ


D. -602 kJ

What is the standard free energy change for this cell?
∆G = -nEF = -2*1.56*96485 = -301 (kJ)





C

snapdragon2

Standard Deviation?

A simple random sample of six male patients over the age of 65 is being used in a blood pressure study. The standard error of the mean blood pressure of these six men was 22.8. What is the standard deviation of these six blood pressure measurements?





a. 9.31


b. 50.98


c. 55.85


d. 136.8

Standard Deviation?
the answer is A, 9.31








Let X1, X2, X3, ... , Xn be a random sample. The mean, xbar is found by:





xbar =





n


∑ Xi / n


i = 1





the sample variance is:





n


∑ (Xi - xbar)² / (n - 1)


i = 1





This can be written in another form that is easier to compute





1/(n-1) * { [ ∑ (Xi)² ] - n * xbar² }





the variance is divided by n -1, not n. this is done because if you divide by n you have a biased estimator for the population variance. using n - 1 yields an unbiased estimator.





the sample standard deviation is found by taking the square root of the variance.








variance of the sample here is 22.8 ^ 2





the standard deviation of the mean of the six values is:





sqrt( 22.8^2 / 6 ) = 9.31


Is there a standard tax deductible receipt ?

I'm doing a fundraiser for a 501(c)(3) non profit and I was wondering if there's a standard receipt I could download to give to businesses that donate money or services (and where can I download it?). Or can I simply write up a form myself and fill it in when they donate?


Thank you.

Is there a standard tax deductible receipt ?
Make up your own. I send out the thank you's/receipts for a non-profit and ours reads





Dear.......





On behalf of the board and staff of xxxxxx, I thank you for your donation of $nn. The support of people like you enables us to continue to serve our community.





then a paragraph with info about the current status of the organization





Thank you for the part you play in making sure that xxxx, established in 1908, continues to serve the local community in the 21st century.





Sincerely





xxxxxxxxxxx





I hope this gives you a start.
Reply:You could just buy a basic receipt form at a stationery store. However, it would be best to have printed receipts. For someone to use it as a tax deduction, it would be better to have something more professional-looking.





If you google free online receipt form, you'll get a lot of sites to choose from.
Reply:No. Make up your own.


Find the Standard hours allowed?

Hart Company's labor standards call for 500 direct labor hours to produce 250 units of product. During October the company worked 625 direct labor hours and produced 300 units. The standard hours allowed for October would be:





a. 625 hours.


b. 500 hours.


c. 600 hours.


d. 250 hours.

Find the Standard hours allowed?
The standard direct labor hours are 500 for 250 units, or 2hr. for 1 unit.


For 300 units, the hours are therefore 2 * 300 = 600.


Answer (c).
Reply:c. 600





If it's standard then.


MacroEconomics: Gold Standard?

Between 1879 and 1934, the world's major nations adhered to the Gold Standard. Consider American and German currencies under the Gold Standard. Suppose that Germany defined one mark as worth 90 grains of gold and the United States defined $1 as worth 150 grains of gold.





Under the Gold Standard, a German mark would have been worth:





A. $1.00


B. $1.67


C. $0.60


D. $0.30

MacroEconomics: Gold Standard?
Number C is correct: 90/150=0,6

avender

HD Monitor or Standard-Definition TV for PS3?

My HD Monitor: http://www.circuitcity.com/ccd/Search.do...





My TV: standard definition





My TV is in my room already. If i choose to use the monitor the i would have to install it in my room with the tv. Then I would use a normal 15" monitor with my computer.

HD Monitor or Standard-Definition TV for PS3?
go with the hd monitor
Reply:i would go with this it has a higher contrast ratio which will give you a better picture its a little bit more but this is alot better brand





http://www.newegg.com/Product/Product.as...


Standard reduction potential?

In conjunction with a standard hydrogen electrode, the La^3+|La half-cell is the anode and the standard cell potential is 2.52V. What is the standard reduction potential for the La^3+|La half-cell?





a. -2.52V


b. -0.84V


c. +0.84V


d. +2.52V

Standard reduction potential?
considering reduction potentials:


potential cell = E cathode - E anode





then 2.52 = 0 - E anode


E anode = -2.52 V


Maths Help - standard form?

a) Write 0.00013 in standard form





b) Write 3.14 X 10to the power of 7





c) 2.5 X 10tothepowerof3 + 1.25 X 10tothepowerof4

Maths Help - standard form?
a) standard form means you take each digit times 10^n.





example... 432 = 4 x 10² + 3 x 10¹ + 2 x 10°





so your number





0.00013 = 1 x 10¯⁴+ 3 x 10¯5





b) 3.14 x 10^7 = 31,400,000





c) 2.5 x 10³ + 1.25 x 10⁴= 0.25 x 10⁴+ 1.25 x 10⁴= 1.5 x 10⁴
Reply:a) I think it's thirteen millionths. (yes you have to spell it out)





b) 3.14 x 10 (put the 7 right behind the 10 but put it all little above the line.





c) 2.5 x 10 3 (put it up a little ) + 10 (put the four behind the 10 a little above to line)





What grade are you in? This is simple! I wish my math was like this!
Reply:Any numbr written in S. F. is written in the form A x 10^n, where A lies between 1 and 10, and n is an integer.





0.00013 = 1.3 x 10^-4





3.14 x 10^7 = 31400000000





2.5 x 10^3 + 1.25 x 10^4





= 10^3(2.5 + 1.25 x 10)





= 10^3(2.5 + 12.5)





= 10^3 x 15





= 1.5 x 10^4.
Reply:isnt standard form like a + b + c =0?





idk what a is. but





b) 3.14 x 10,000,000 = 31,400,000





c) (2.5 x 1000) + (1.25 x 10,000)





= 2,500 + 12,500





= 15,000
Reply:a) 1.3 x 10 (to the power of) -4


b) 31,400,000


c) 15,000


Standard reduction potential?

In conjunction with a standard hydrogen electrode, the La^3+|La half-cell is the anode and the standard cell potential is 2.52V. What is the standard reduction potential for the La^3+|La half-cell?





a. -2.52V


b. -0.84V


c. +0.84V


d. +2.52V

Standard reduction potential?
d. +2.52V

violet

Math Standard form for a linear equation..........?

The standard form for a linear equation is ________.





(a) y=mx+b


(b) Ax+By=C


(c) y=x


(d) x + y = 0

Math Standard form for a linear equation..........?
Ooh, sorry, buddy. it's actually (b). That's standard form, slope intercept form is something else.
Reply:The standard form is b).





a) is NOT standard form. That is "slope-intercept" form.
Reply:b is the standard form of a linear equation.
Reply:depends on the number of unknown variables.


1 variable:- Ax+B=0


2 variables:- Ax+By+C=0


however it is closest to option (b).
Reply:a
Reply:(a) is the standard "slope-intercept form" of a line.


Standard enthalpy of formation for CO?

Why does the standard enthalpy of formation for CO cannot be obtained directly by measuring the enthaply of this reaction


C+1/2O2 -%26gt; CO?





And instead have to be calculated from Hess law:


2CO2 -%26gt; 2CO + 02 Enthalpy =566.0 kJ


C(graphite) + O2 -%26gt; CO2 Enthalpy = -393.5 kJ


2CO -%26gt; C(graphite) + CO2 Enthalpy = -172.5 kJ





By Hess Law, enthalpy of formation of CO = 1/2(2(-172.5) + 566.0) = -110.5 kJ

Standard enthalpy of formation for CO?
Two problems with direct measurement: First, if you use an excess of oxygen, burning carbon gives CO2, not CO. Second, If you use an exact amount of Oxygen, you still have CO2 formed: what would really happen is that you'd form mostly CO2 first, when the atmosphere is oxygen-rich. Then, when the carbon was half burned, the atmosphere would be mostly CO2, and you'd have to wait until the reaction of CO2 + C -%26gt; 2 CO was complete - and that's going to be slow. VERY slow if the calorimeter is busy absorbing all the heat the first phase of combustion is done. (like a million years, say).
Reply:I'm sure that if done carefully, it could be accurately measured. But when you burn carbon in an oxygen-limited atmosphere, you generally form a variety of things rather than getting ALL CO.
Reply:Lancenigo di Villorba (TV), Italy





Compliments! You made right!


However, this time I agree not the HCBIOCHEM's opinion.





How do he do directly measure the "Enthalpy's Change" related to a LONELY reaction





2 C(s) + O2(g) ---%26gt; 2 CO(g)





I repeat :"how do he do it?"


He does not, I am sure!





HCBIOCHEM desire charcoal may burn in a gas mixture defecting in oxygen's containt.


HCBIOCHEM said about a theoretical experiment where a defined mass of charcoal reacts in an "Air's Defecting Burner".


Several metalurgical textbooks reported the FUNDAMENTAL CHEMICAL EQUILIBRIUM on "Ore's Reduction", that is the following chemical equilibrium :





C(s) + CO2(g) %26lt;---%26gt; 2 CO(g)





Oxygen's defecting gas cannot avoid the carbon dioxide, thus the measures give wrong data.





I hope this helps you.


Calculate the standard enthalpy of formation of liquid methanol, CH3OH(l), using the following information:?

Calculate the standard enthalpy of formation of liquid methanol, CH3OH(l), using the following information:





C(graph) + O2 → CO2(g) ΔH° = −393.5 kJ/mol


H2(g) + (1/2)O2 → H2O(l) ΔH° = −285.8 kJ/mol


CH3OH(l) + (3/2)O2(g) → CO2(g) + 2H2O(l) ΔH° = −726.4 kJ/mol





a. −1,691.5 kJ/mol b. −238.7 kJ/mol c. 1691.5 kJ/mol d. 47.1 kJ/mol e. −47.1 kJ/mol

Calculate the standard enthalpy of formation of liquid methanol, CH3OH(l), using the following information:?
d.


Let Z be a standard normal random variable. Use the calculator provided?

Let Z be a standard normal random variable. Use the calculator provided to determine the value of c such that: P(c%26lt;Z%26lt;0.84)=0.7721 (the %26lt; should be underlined).


I came up with 1-P(Z%26lt;0.84) = 1-0.79954581=0.20045419


0.2004-0.7721-0.571644


c=Z 0.571644 = 0.1807039


Answer = 0.1807039


Please verify answer. I thought it was the other way around but the calculator kept stating undefined.

Let Z be a standard normal random variable. Use the calculator provided?
But you didn't provide the calculator.





What model is it?
Reply:On my TI-84 I calculated that c should be


-1.91973.





You can use the Normalcdf function to verify this Normalcdf(-1.91973,0.84) = .7721

peony

How to find the standard error? please help me. statistic problem.?

Story: A gambler plays roulette and makes a $1 bet on a pair of numbers 4000 times. The bet pays 17 to 1, and it covers two numbers. We are interested in finding the chance that the casino will make less than $300 from these plays.





Find the standard error or the sum.


a. 254.21


b. 56.76


c. 35.90


d. 4.71


e. none of these

How to find the standard error? please help me. statistic problem.?
reduce this to probabilities.


prob of winning $17 (you put down 1 and they give back 18)


is 2/38.....2 numbers out of the 38 possible on the wheel.


prob of losing $1 is 36/38.





You need to be able to compute expectations for discrete random variables.


Expectation of gain on one trial=(2/38)*17+(36/38)*(-1)


=-$(1/19) one-nineteenth of a dollar.


On 4000 trials your expection is -4000/19=-$210.53


You will expect to be $210 in the hole.





What is the probability of being more than $300 in the hole?


You need the standard error associated with the mean.





variance on one trial=


(2/38)* ( 17 + 1/19)^2 + (36/38)*(-1+ 1/19)^2 = 16.154





multiply by 4000^2, take the square root, divide by sqrt(4000) . getting $ 254.2 = SE





-300 is 89.47 lower than the mean of 210,


or z=-0.35=89.47/254.20





looks like 36.32% is the probability (0.3632) of the gambler losing more than $300. OR 63.68% for the casino gaining less than $300.





So, the SE is (a)


and the prob that the casino makes less than $300 is 0.6368.


An investor holds a portfolio that comprises of 20% stock A, 30% stock B and 50% stock C.?

The standard deviations of returns on Stocks A, B and C are 22%, 15% and 10%, respectively, and the correlation between returns on each pair of securities is 0.6. Prepare a variance-covariance matrix for these three securities and use the matrix to calculate the variance and standard deviation of returns for the portfolio.

An investor holds a portfolio that comprises of 20% stock A, 30% stock B and 50% stock C.?
...





Dude, this is too hard. When you figure it out, let us know...


Saturday, May 22, 2010

C++ compiler for vista?

I have a 32 vista ( on a64 bit machine ) and want to do a little bit of c++ programming. noting fancy just programs that use some of the standard libs and stuff, and perhaps also to learn to make a small GUI program. Can anyone tell me what compiler i need that will work under vista? I have heard of Visual C++ and Express whats the difference between the free one and the money one?


Thanks:

C++ compiler for vista?
The Vistal express editions are somewhat limited in power but at your level you will never notice.





The only thing that you get for money is a much much better IDE and more files as well as a CD with a complete MSDN cd.





overall it should not matter what you choose just go for a free one.
Reply:The difference is the free one comes without windows programming capabilities the payed one has the ability to make windows programs. If you wish to mae windows programs on the free one download the PSDK


If Standard Deduction is greater than Claimed deduction, am I crazy?

Hello,





For 2006, I have both W2 and 1099-MISC income. My W2 income is the bulk of my income, with 1099-MISC totalling 13000.





Ok. I run the numbers through turbotax, I make Schedule C expense deductions: meals, equipment, supplies, communication, etc.





In the end, turbotax says 'Standard deduction' is higher than my claimed deductions. Does this mean I really don't even need to itemize my expenses? (because the standard deduction is greater anyway?)





am I screwing myself here and should I be more liberal with my expenses and itemizing?

If Standard Deduction is greater than Claimed deduction, am I crazy?
Somehow you are putting your Schedule C expenses on your Schedule A. You can take your equipment, supplies, communication business expenses on Schedule C, and you would still claim your standard deduction. That message regarding the standard deduction being higher than your claimed deductions means you are doing something wrong. The expenses should be entered as business expenses, and no matter how small they are they still reduce your 1099misc income if you report it on a schedule C.


Go back and try again. Start by putting the 1099 income on Schedule C, it will then ask regarding expenses for your business.
Reply:Schedule A is itemized deductions. These are real estate taxes ( or sales taxes ), mortgage interest, medical expenses and charitable deductions. If the total is less than your standards, then you take the standard deduction.





It is hard to get into itemized deductions without paying a mortgage.
Reply:Per TurboTax, the standard deduction is higher and itemizing is not necessary, because you would short change yourself. Many of the itemized expenses have limitations or threshhold floors that must be met. You say that you are deducting meals, equipment, supplies communcations things, Schedule C is for business expenses and does not affect itemized deductions or the standard deduction. Schedule A is where you list your itemized deductions.





Schedule A deducts medical expenses in excess of AGI, the taxes you paid throughout the year (state/local income taxes and property taxes), interest you paid (mortgage, most commonly), unreimbursed business expenses are limited to only 2% of the actual cost, etc.





I would not be more liberal with your expenses and itemizing, this year the IRS announced that they were going to dig deeper into the returns of people filing schedule C's. If there are audit adjustments that couldn't be negotiated away, the interest and penalties can be significant.





For my husband and myself, the standard deduction is also higher. I believe that unless there are children to increase some of the medical expenses among some other things, it may be difficult to surpass the standard deduction.
Reply:If your itemized deductions are less than the standard deduction, take the standard deduction. Otherwise, you will end up paying more in taxes. You basically get to choose option A or option B. You want to take the one that's the highest. And no, you not only do not need to itemize your expenses, you can't. You can only do one or the other.
Reply:Standard is usually higher than itemized unless you have substantial itemizations, and it's true (as stated above) that this usually only happens when you own a home and are paying a mortgage or had lots of medical expenses. Take a glimpse at Schedule A. If you don't see at least a couple of things that are going to put you over and above the Standard, don't waste your time and save your nerves.
Reply:You do a Sch C for you self-employment (1099) income/expenses and can still use the standard deduction rather than a Sch A (itemized deductions) if the standard deduction is higher than your itemized deductions. Do NOT be tempted to "inflate" your business expenses OR your personal itemized deductions. That is CHEATING %26amp; the IRS will eat your lunch if/when you get caught. I PROMISE you do NOT want them after you. They have virtually unlimited power to make your life hell.





Btw, I would encourage you to go to a CPA (NOT H%26amp;R Blockheads). IMO, TurboTax stinks. I have had to fix so many TurboTax returns that I can't even believe they are allowed to sell it.
Reply:me agree with irongram answer





deductions for schedule c have nothing to do with itemized deductions, that comes from schedule a





you not crazy, doing tax just make you think you are

long stem roses

Replacing batteries with a plug to standard 120V outlet?

My daughter got a great little toy that really helps her to get off to sleep. However, it eats through batteries. I'd really like to wire something up that would replace the batteries with a plug to a standard wall outlet. Is this possible? It runs on 4 C cell batteries. I am fairly handy with a soldering iron.





If no, I may have to buy stock in Duracell.





Thanks!

Replacing batteries with a plug to standard 120V outlet?
You have to be careful in choosing an AC to DC wall transformer type of supply. The rating on the transformer, for instance, 6v @ 300ma, actually means that at the load of 300ma, the voltage will be 6v. Without a load, the voltage could be 10 to 15 volts because there is no regulation in most of the wall transformer power units. You have to know how much currrent is being used from the 4 C cells during the toy's normal usage to get an accurate reading.
Reply:I'm not sure of anything like that, but have you tried rechargable batteries? They can be recharged quite a few times....
Reply:Since you are using 4 c sized batteries, your small appliance is using 6 volts of DC 4x1.5v. I am not sure how much Amperage, that would need to be calculated. If this device has a jack for a transformer, it should tell you what it requires. For example it might say 6VDC 2000mAh. And in that case you would have to find the right transformer from your local electronics parts superstore. If you have to wire it yourself, you will need to get the right step down transformer that can convert 120V AC to approximately 6 V DC and whatever amperage is necessary.
Reply:4 C batteries, likely used in parallel for 6v total. If it goes through batteries a lot, then it also has pretty high power drain. Check for a label which gives the voltage and current in ma (milliamps). If not ma, then watts or milliwatts. Watts divided by 6v is amps, and milliwatts divided by 6v is milliamps.





Go to Radio Shack and they will have an AC power adapter for the voltage and milliamp rating you need. 6v is 6v, and that's what you need, but if the milliamp rating is higher on the adapter, that's okay. It just means there is room to spare.





Cut the connector off the end of the AC adapter, bare the ends, and solder them to the battery tray terminals in the toy. Make SURE of the correct polarity. Replace the battery cover to protect the soldered wires inside. You may have to use a file to create a small hole for the wire so it doesn't get pinched.





That's about it. Risk of injury is almost non-existent as 6v is not enough to do anything. Even if the wires got pulled out and touched together, the worst that would happen is the AC adapter would get very hot and just burn out inside. You'd never even know it to look at it.
Reply:I would not try it unless it has a jack to add an ac adapter. 4 C batteries is 6 volts whereas a electrical plug would be 110-120 volts. Please be careful. Also, have you considered rechargeable batteries?


Find the standard error or the sum?

Story: A gambler plays roulette and makes a $1 bet on a pair of numbers 4000 times. The bet pays 17 to 1, and it covers two numbers. We are interested in finding the chance that the casino will make less than $300 from these plays.





Find the standard error or the sum.


a. 254.21


b. 56.76


c. 35.90


d. 4.71


e. none of these

Find the standard error or the sum?
E


Find the standard deviation of the random variable.?

In a box of 10 batteries, 8 are dead. You choose two batteries at random from the box.


Let the random variable X be the number of good batteries you get. Find the standard deviation of of X.








a. = 0.53





b. = 0.51





c. = 0.32





d. = 0.28





e. = 0.65

Find the standard deviation of the random variable.?
Number your batteries from zero to nine.


Here are the possible picks from the box.


.. 01 02 03 04 05 06 07 08 09


10 .. 12 13 14 15 16 17 18 19


20 21 .. 23 24 25 26 27 28 29


30 31 32 .. 34 35 36 37 38 39


40 41 42 43 .. 45 46 47 48 49


50 51 52 53 54 .. 56 57 58 59


60 61 62 63 64 65 .. 67 68 69


70 71 72 73 74 75 76 .. 78 79


80 81 82 83 84 85 86 87 .. 89


90 91 92 93 94 95 96 97 98 ..


Hope this helps, I'll edit it if I learn more.


OKAY, THE ANSWER IS A.) 0.533333


I just did the whole thing on paper.


0.4^2 + 0.6^2 + 1.6^2 is 12.80 and divide by 45


to get 0.284444 and square root to get 0.53333


The mean is 0.4


and there are 28 zeros that are 0.4 away.


and there are 16 ones that are 0.6 away.


and there is one two that is 1.6 away from the mean, because 2 minus 0.4 is 1.6


See?
Reply:x = 2 prob. 1/10 then the mean= 0.2





variance = 0.4 - 0.04 =0.36





standard deviation = 0.6


Standard Entropy and Entropy Change of Reactions?

Using standard entropy values (from your text), calculate ΔS° for the following reactions.








a. C(s,diamond) -%26gt; C(s,graphite)





b. 2 CO(g) + 5 H2(g) -%26gt; C2H6(g) + 2 H2O(g)





c. 3 O2(g) -%26gt; 2 O3(g)

Standard Entropy and Entropy Change of Reactions?
The key to answering this question is the words "from your text". You need to look up the standard entropy values then use the equation:


ΔS° = Σ(S°,products) - Σ(S°,reactants)


making sure you allow for the correct number of moles of each substance.
Reply:a. This one is tough, however, entropy should be increasing. Why? Crystals(diamond) have ZERO randomness. Solids are very orderly, but still contain some randomness.





b. Entropy decreases, as there are more gas molecules on the reactant side.





c. Entropy decreases again because reactant has an additional molecule.

gifts

How to implement sizeof operator in c lanaguage?

The sizeof operator is part of the standard library,but is it possible to


write a c program or function that does the job of sizeof?

How to implement sizeof operator in c lanaguage?
as the other person said, sizeof operator is evaluated at compile time, not run time.





basically, what it does is it looks at what you declared the size of a string to be, and returns that number.





example:


char str[100];


char message[] = "hello";


int size;





strcpy(str, message);


size = sizeof(str);


//size = 100;








if you want to know the actual size of the array then you can use strlen() function.


example:





char str[100];


char message[] = "hello";


int size;





strcpy(str, message);


size = strlen(str);


//size = 5;





can you write a function to dupe sizeof()?


im not sure why you would want to since sizeof() works for what it was intended to do. you could easily dupe the strlen() function though.





int strlen(char *str)


{


int length = 0;


while (*(str + length) != NULL)


{


length++;


}


return (length);


}
Reply:The sizeof operator is not part of the C standard library. It may look like a function call, but that is not what it really is. It is a unary operator of the C language itself, just like the unary minus operator. sizeof is evaluated by the compiler at compile-time, not at run-time.





It is technically possible to implement a function that has the same functionality as sizeof, but you would need to know a lot of intricate details about your compiler, and the function would need to have at least a slightly different syntax than the sizeof operator. For example the sizeof operator may operate on primitive data type identifers, like sizeof(int), but normal functions can't do this.


Is it possible to change standard form into point slope?

Im talking about linear equations..





I was jsut wondering if there is an equation to do so, because to get from standard to slope int form there is y=-a/b+c/b, so is there an easy way for this 2?

Is it possible to change standard form into point slope?
of course.


standard form: ax + by + c =0


into point slope:


by = -ax -c


so y = -ax/b -c/b,


or y + c/b = -ax/b and the point is: (0, c/b) and the slope is: -a/b

innia

Write -3y = -1 + 5x in standard form.?

Write -3y = -1 + 5x in standard form.


a. -5x -3y=1


b. 5x + 3y = 1


c. y=(-5/3)x-1


d. 3x + 5y - 1 = 0

Write -3y = -1 + 5x in standard form.?
answer is b





standard form is ax+by=c
Reply:-3y=5x-1





do y on one side of the equals sign then on the other side put the x's then the integer
Reply:b. 5x + 3y = 1
Reply:b. 5x + 3y = 1





Remember that standard form is ax + by = c.


-3y = -1 + 5x (get the x and y on the same side of the equation)


Add 3y to the right side and add 1 to the left side.


And you get 5x + 3y = 1.
Reply:b.5x+3y=1








STANDARD FORM IS AX+BY=C


trust me i just finished learning this


the X cant be negative


so there fore you multiply everything by


-1 to cancel out negatives!
Reply:standard form is y=mx+b





so this would be


y= (-1+5x)/-3


Need Math Help Tonight !! standard form equations?

could someone please help me figure answers for the following 2 questions ?





rewrite this equation in standard form, then find the values of A,B, and C





y= 6x + 8


y= 4x + 12





we are totaling stuck on this stuff. Can someone explain how to do this ???

Need Math Help Tonight !! standard form equations?
Ax + By = C


A must be positive





6x - y = -8


A=6, B=-1, C=-8





4x - y = -12


A=4, B=-1, C=-12





Just fyi. slope= - A/B
Reply:y - 6x = +8


y - 4x = +12








maybe not sure





the form is Ax+Bx = C


Mean and standard deviation for a population?

I am just checking my answers, can someone verify . Thank you





4 students own the following # of calculators





Student A, B, C, D


# of calc 2, 1, 4, 3





-Find the mean and standard deviation:


mean:2.5


Stand. dev: 0.433





-2 randon samples where drawn calculate mean and standard dev.


mean :2.5


standard dev: 0.306

Mean and standard deviation for a population?
Yeah your right.


What is the standard communcations protocol of the Interent?

What is the standard communcations protocol of the Interent?





a. DOS


b. Windows


c. TCP/IP


d. Netware

What is the standard communcations protocol of the Interent?
TCP/IP home work time is it :)...
Reply:TCP/IP





it's actually a protocol suite.... that contains 500-1000 sub protocols....
Reply:C

gerbera

Will a DVB-C receiver work in North America??

I 'm aware of the ATSC standard, but I'm looking at buying a DVB-C receiver. Any helpful info is appreciated.

Will a DVB-C receiver work in North America??
A DVB-C "receiver" or set-top box is of no use in North America. DVB-C is the digital cable television broadcasting standard used in many countries around the globe other than in North America. No content provider, particularly cable broadcasters within any North American country, would be permitted to broadcast digital television content using a digital television standard such as DVB-C that has not been approved for use by that country's broadcasting and communications regulatory body.





Furthermore most DVB products are designed for use in countries that operate on electrical power systems that differ from those used in North America.


 


Algebra 1 help... Standard form??

Given a slope of -2and the point (1,5), find the equation of the line in standard form?





A) 2x+y=7


B)-2x+y=7


C)2x-y=-2


D)-2x-y=2

Algebra 1 help... Standard form??
the equation is y=mx+b


m=slope


since they give it to you it will be





y=-2x+b


and now plug the x and y into the equation





5=-2(1)+b


and it will be


7=b





the answer will be A


y=-2x+7, it is the same thing as 2x+y=7
Reply:A.
Reply:do your own work, lazy....
Reply:a
Reply:the answer is letter A
Reply:The answer is A


Do they make an adapter to play miniDV tapes in a standard VCR ?

Just wondering ... is there any such thing as an adapter which will allow playing miniDV tapes in a standard VCR ?


( similar to the adapters used for VHS-C )

Do they make an adapter to play miniDV tapes in a standard VCR ?
No such beast. MiniDV is digital. VHS is analogue.
Reply:no, but companies do make some really cool miniDV tapedecks that are basically miniDV players themselves.
Reply:NO
Reply:I don't think so


Standard Free energy?

Calculate standard free energy of formation of 1 mol FeS2 at 25 degree's C





Fe(s) + 2S(s) %26lt;-------%26gt; FeS2(s)





For Fe at 25 degrees C, Delta S = 27.3 J/mol x K


For S at 25 degrees C, Delta S= 31.8 J/mol x K





for FeS2 at 25 degrees


delta S=52.9 J/mol x K and delta H= -178.2 kJ/mol





a–1.9 × 105 J/mol


b–1.8 × 105 J/mol


c–38 J/mol


d–1.7 × 105 J/mol

Standard Free energy?
d

rosemary

Can someone just get me on the right track for this one, probability density related standard deviation and V?

Consider the function p1(x), −b x b, which is given by


p1(x) =


(c/b)x+c if − b x 0





(-c/b)x + c if 0 x b


Find the variance and the standard deviation for p1(x).





do i first find the mean? and then find the rest?

Can someone just get me on the right track for this one, probability density related standard deviation and V?
You do have to find the mean first, as you need it to calculate variance.





E(X) = Integral(-b to b)xp1(x)dx





E(X) = Integral(-b to 0)x(cx/b+c)dx + Integral(0 to b)x(-cx/b+c)dx





An antiderivative of x(cx/b +c) is cx^3/(3b) + cx²/2


An antiderivative of x(-cx/b +c) is -cx^3/(3b) + cx²/2


E(X) = [0 - (-cb^3/(3b) + cb²/2)] + [-cb^3/(3b) + cb²/2 -0] = 0


The mean is 0.





Var(X) = Integral(-b to b)(x-E(x))²p1(x)dx = Integral(-b to b)x²p1(x)dx


Var(X) = Integral(-b to 0)x²(cx/b+c)dx + Integral(0 to b)x²(-cx/b+c)(x)dx





An antiderivative of x²(cx/b +c) is cx^4/(4b) + cx^3/3


An antiderivative of x²(-cx/b +c) is -cx^4/(4b) + cx^3/3


Var(X) = [0 - (cb^4/(4b) - cb^3/3)] + [-cb^4/(4b) + cb^3/3 -0]





Var(X) = -cb^3/2 + 2cb^3/3 = cb^3/6





the standard deviation is σ(x) = √(Var(X)) = √(cb^3/6)


Which scientists would have the LEAST use for a standard thermometer in their research?

Which scientists would have the LEAST use for a standard thermometer in their research?





a) astronomers


b) meteorologists


c) geologists


d) oceanographers

Which scientists would have the LEAST use for a standard thermometer in their research?
I would go with A astronomers since they are observing places too far away for a thermometer to reach.
Reply:Proctologists!
Reply:Astronomers need to make sure their equipment is at the proper temperature or they won't get good data.





Geologists don't work with temperature sensitive materials or equipment so of the fields on the list they are the least dependent on thermometer.
Reply:I would assume an astronomer because their work is with the stars. If they were to measure the temperature of that, they definately would not use a standard thermometer.
Reply:i'd say astronomers...