Jump to content

Dhamnekar Win,odd

Senior Members
  • Posts

    167
  • Joined

  • Last visited

Everything posted by Dhamnekar Win,odd

  1. Author computed [math]F_{X_k} (x)[/math] as follows. but I don't understand it. Would any member explain me the following computations?
  2. I think my answer in the original post is incorrect. So, I want to correct it. My corrected answer is [math] \displaystyle\int_0^{2\pi}\displaystyle\int_0^2\displaystyle\int_0^4 r dz dr d\theta =16\pi [/math] Is this answer correct?
  3. Find the volume of the solid bounded by [math]z = x^2 + y^2 [/math] and [math] z^2 = 4(x^2 + y^2) [/math] My attempt to answer this question: [math] \displaystyle\int_0^{2\pi}\displaystyle\int_0^2\displaystyle\int_0^4 1 \rho^2 \sin{(\phi)} d\rho d\phi d\theta = -\frac{128\pi \cos{(2)}- 128\pi}{3}= 189.822143919[/math] Is this answer correct?
  4. I computed the volume inside both the sphere [math] x^2 + y^2 + z^2 =1[/math] and cone [math] z= \sqrt{x^2 + y^2}[/math] as follows: [math]\displaystyle\int_0^{2\pi} \displaystyle\int_0^{\frac{\pi}{4}}\displaystyle\int_0^1 \rho^2 \sin{\phi}d\rho d\phi d\theta= 0.61343412301 =\frac{(2-\sqrt{2})\pi}{3}[/math]. This answer is correct.
  5. I want to correct the volume asked in the question computed by me = [math] \frac{\pi}{3} \times \frac12 \times \frac{1}{\sqrt{2}} + \frac{\pi}{3} \times (1-\frac{1}{\sqrt{2}})^2 \times (\frac{3}{\sqrt{2}} -(1-\frac{1}{\sqrt{2}}))=0.534497630798[/math]
  6. My attempt: I graphed the cone inside the sphere as in my first post. But I don't understand how to use the change of variables technique here to find the required volume. My answer without using integrals is volume of the cone + volume of the spherical cap = Is this answer correct? If correct, how to derive this answer using integration technique?
  7. Find the volume V inside both the sphere x2 + y2 + z2 = 1 and the cone z = [math]\sqrt{x^2+ y^2}[/math] How to use change of variables technique in this problem?
  8. Yes. From that point of view, this program is wrong. But we already decided to ignore the leap year and we mentioned that as the comment.
  9. I have downloaded and installed ' C c-programs application from Windows store. I copied one program named 'Days Convertion' from it to my Notepad++ and saved it as c source file in the Documents folder. When I tried to compile it using gcc, gcc said unable to find the file. How can I fix this error? The c program is as follows: /* Write a c program to convert given number of days to a measure of time * given in years, weeks and days. For example 375 days is equal to 1 year * 1 week and 3 days (ignore leap year) */ #include stdio.h #define DAYSINWEEK 7 void main() { int ndays, year, week, days; printf("Enter the number of days\n"); scanf("%d",&ndays); year = ndays/365; week = (ndays % 365)/DAYSINWEEK; days = (ndays%365) % DAYSINWEEK; printf ("%d is equivalent to %d years, %d weeks and %d days\n", ndays, year, week, days); } /*----------------------------------------------- When I tried to compile it using gcc at windows command prompt, I got the following error several times. After giving this command at command prompt, 'DaysConvertion.c' file disappeared from the Documents folder. How can I fix this error?
  10. Yes. I think you are correct because as per your suggestion, I modified my Java program and I got the correct answer as given by author i-e 0.705. The modified java program and its new output is given below: //Program to approximate the double integral of f(x,y)=e^xy over the //region bounded by x=-1, x=1, y=0, and y=x^2 public class montecarlo6 { public static void main(String[] args) { //Get the number N of random points as a command-line parameter int N = Integer.parseInt(args[0]); double x = 0; //x-coordinate of a random point double y = 0; //y-coordinate of a random point double f = 0.0; //Value of f at a random point double mf = 0.0; //Mean of the values of f double mf2 = 0.0; //Mean of the values of f^2 for (int i=0;i<N;i++) { //Get the random coordinates x = 1 * Math.random() ; //x is between 1 and 0 y = 1 * Math.random() ; //y is between 0 and 1 if (y < Math.pow(x,2)) { //the point is in the region f = Math.exp(x*y); // Value of the function mf = mf + f; //Add to the sum of the f values mf2 = mf2 + f*f; //Add to the sum of the f^2 values } x = -1 * Math.random() ; //x is between -1 and 0 y = Math.random() ; //y is between 0 and 1 if (y < Math.pow(x,2)) { //the point is in the region f = Math.exp(x*y); // Value of the function mf = mf + f; //Add to the sum of the f values mf2 = mf2 + f*f; //Add to the sum of the f^2 values } } mf = mf/N; //Compute the mean of the f values mf2 = mf2/N; //Compute the mean of the f^2 values System.out.println("N = " + N + ": integral = " + vol()*mf + " +/- " + vol()*Math.sqrt((mf2 - Math.pow(mf,2))/N)); } //The volume of the rectangle [-1,1]x[0,1] public static double vol() { return 1*1; } } The new program's output:
  11. Write a program that uses the Monte Carlo method to approximate the double integral [math] \displaystyle\iint\limits_R e^{xy}dA [/math] where [math] R= [-1,1] \times [0, x^2][/math]. Show the program output for N = 10, 100, 1000, 10000, 100000 and 1000000 random points. My attempt: //Program to approximate the double integral of f(x,y)=e^xy over the //region bounded by x=-1, x=1, y=0, and y=x^2 public class montecarlo5 { public static void main(String[] args) { //Get the number N of random points as a command-line parameter int N = Integer.parseInt(args[0]); double x = 0; //x-coordinate of a random point double y = 0; //y-coordinate of a random point double f = 0.0; //Value of f at a random point double mf = 0.0; //Mean of the values of f double mf2 = 0.0; //Mean of the values of f^2 for (int i=0;i<N;i++) { //Get the random coordinates x = Math.random() ; //x is between 0 and 1 x = -1 * Math.random() ; //x is between -1 and 0 y = Math.random(); //y is between 0 and 1 f = Math.exp(x*y); // Value of the function mf = mf + f; //Add to the sum of the f values mf2 = mf2 + f*f; //Add to the sum of the f^2 values } mf = mf/N; //Compute the mean of the f values mf2 = mf2/N; //Compute the mean of the f^2 values System.out.println("N = " + N + ": integral = " + vol()*mf + " +/- " + vol()*Math.sqrt((mf2 - Math.pow(mf,2))/N)); } //The volume of the rectangle [-1,1]x[0,1] public static double vol() { return 2*1; } } Program Output is as follows: Correct integral =0.705; My Java program showed a integral 1.596 which is wrong, so my program is also wrong. How do I debug this program?
  12. Are these above normality computations correct? If yes how? I don't understand these computations. Any chemistry help will be accepted.
  13. Answer to question(d): Co3+ + V2+ → Co2+ + V3+ Defined redox couple is Co3+/Co2+ system [math] [Co^{2+}] = \frac{0.0050 mol}{0.200L} =0.025 M, [Co^{3+}]= \frac{0.010 mol}{0.200 L}=0.050 M, E_{sol}= E^{\circ}_{Co} -\frac{0.059}{n} \log{\frac{[Co^{2+}]}{[Co^{3+}]}} = 1.82 V - \frac{0.059}{1}\log{\frac{[0.025]}{[0.050]}} =1.84 V [/math]
  14. If I write the balanced equation as 2VO2+ + Zn0 + 2H+ ⇌ 2VO2+ + Zn2+O-2 + H2O Is this correct?
  15. Hi, Thanks for finding out the fault in my answer. Now, I rewrite the corrected balanced reaction 2VO2+ + Zn0 + 4H+ ⇌ 2VO2+ + Zn2+ + 2H2O
  16. I am doubtful about my answer to (d). My attempt to answer (d): Reduction: E = E°AgCl - [math]\frac{0.059}{n} \log {[Cl^-]} = 0.22 V - \frac{0.059}{1} \log{[0.20]} = 0.26 V[/math] Oxidation: E= E°TiO2+ - [math]\frac{0.059}{n} \log {\frac{[Ti^{3+}]}{[Ti^{2+}] [H^+]^2}} [/math] =[math] 0.10 V - \frac{0.059}{1}\log {\frac{[0.010]} {[0.20][0.0020]^2}}= -0.14 V [/math] Ecell = Ered - Eox = 0.26 V - (-0.14 V) = 0.40 V Is this answer correct?
  17. I want to correct my answer to (a) The balanced reaction is 2VO2+ + Zn0 + 2H+ ⇌ 2VO2+ + Zn2+ + H2O Answer to (c) Reduction: [math]E = E^{\circ}_{Ag} - \frac{0.059}{n}\log{ \frac{1}{[Ag^+]}}= 0.80 V - \frac{0.059}{1} \log{\frac{1}{[0.035]}} = 0.71 V[/math] Oxidation: [math]E= E^{\circ}_{Fe} - \frac{0.059}{n} \log {\frac{[Fe^{2+}]}{[Fe^{3+}]}}= 0.77 V - \frac{0.059}{1} \log{\frac{[0.0010]}{[0.010]}} = 0.83 V[/math] Ecell = Ered - Eox = 0.71 - 0.83 = -0.12 V
  18. My answers (a) The balanced reaction equation is 2VO2+ + 3Zn + H2O ⇌ 3ZnO + 2VO + 2H+ [math]E^{\circ}_{rxn} = E^{\circ}_{VO_2^+} - E^{\circ}_{Zn} = 1.00 V - (-0.76) V = 1.76 V [/math] (b) [math] E = E^{\circ}_{Cu} - \frac{0.059}{n} \log \frac{1}{[Cu^{2+}]}[/math] [math] E= 0.34 V - \frac{0.059}{2}\log \frac{1}{[0.10]}= 0.31 V [/math] I am working on other questions. Any chemistry help will be accepted.
  19. 1)In the titration of 0.010 M HNO3 (Nitric acid), the reaction equation is NaOH + HNO3 → NaNO3 + H2O. At the equivalence point, [NaNO3] = 0.005 M. At the equivalence point, equal volume of hydroxide solution have been added to the acid solution and all of the hydronium ions resulting from HNO3 have been converted to water. The solution at this point is simply an aqueous solution of sodium nitrate. Na+ + OH- + H3O+ + (NO3)- ⇌ 2H2O + Na+ + (NO3)-. Since neither sodium ions nor nitrate ions reacts with water, the solution is neither acidic nor basic; that is [H3O+] = [OH-] = 10-7 M. pH at the equivalence point is therefore 7.0 Indicator such as Phenol red (C19H14O5S) must be used which can respond to a pH of 7, the exact pH at the equivalence point. 2) In the titration of 0.010 M of ClCH2COOH (Chloroacetic acid), the reaction equation is ClCH2CO2- + H2O → ClCH2CO2H + OH- x = [OH-] = [ClCH2CO2H] ; 0.0050 - x = [ ClCH2COO-]; Kb = [math] \frac {x^2}{0.0050 - x}= \frac {K_w}{K_a}= \frac {10^{-14}}{1.4 \times 10^{-3}}= 7.1 \times 10 ^{-12} [/math] x= 1.9 × 10-7 M = [OH-]; pOH = -log(1.9 × 10-7 ) =6.72 ; pH =7.28. Indicator such as Phenol red (C19H14O5S) must be used which can respond to a pH of 7.28, the exact pH at the equivalence point. 3) In the titration of 0.010 M of O2NC6H4OH (o-nitrophenol), the reaction equation is O2NC6H4O- + H2O → O2NC6H4OH + OH-. x= [OH-] = [ O2NC6H4OH] and 0.0050 - x = [O2NC6H4O-]; Kb = [math] \frac{x^2}{0.0050 - x}= \frac{K_w}{K_a}= \frac{10^{-14}}{6.8 \times 10^{-8}} = 1.4 \times 10^{-7} [/math] x = 2.6 × 10-5 M ; pOH = -log (2.6 × 10-5 ) = 4.58; pH = 9.42 Indiactor such as Phenolphthalein must be used
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.