# Recent content by NicolasPan

1. ### Find the electric field of a uniformly polarized sphere

About the \cos\theta' I have found from another post the following explanation:It states that it is used because we care about the Z components only ,but I don't quite get it.Thanks a lot ! :)
2. ### Find the electric field of a uniformly polarized sphere

Thank you for your time Sir.Although I would like to know if this can be solved with my method of integration and specifically I would really appreciate it If my first question was answered.My kind regards
3. ### Find the electric field of a uniformly polarized sphere

Homework Statement We want to calculate the field of a uniformly polarized sphere of radius=R Homework Equations V(\vec{r}) = \frac{1}{4 \pi\epsilon_{0}} \oint_{S} \frac{\sigma_{b}}{r} da' + \int_{V} \frac{\rho_{b}}{r} d\tau' The Attempt at a Solution i)I know that \sigma_{b} = P...
4. ### Engineering related publication

Hello everyone,I am a mechanical engineering student and yesterday I convinced my professor to work on a project where it will be published in a journal about one year from now.I really don't know where to start as there are countless of highy-respected researches at top universities such as...
5. ### Fortran Fortran 90/95 function

Hello everyone! I've been wondering if it is possible in Fortran to 'read' a function.For instance when I code this: contains function f(x) double precision :: f double precision ::x f=(whatever the function) return end function end program It would be ideal if the program allowed...
6. ### Difference between Taylor Series and Taylor Polynomials?

Thanks a lot!
7. ### Difference between Taylor Series and Taylor Polynomials?

Thank you! Simple and clear explanation
8. ### Difference between Taylor Series and Taylor Polynomials?

Hello,I've been reading my calculus book,and I can't tell the difference between a Taylor Series and a Taylor Polynomial.Is there really any difference? Thanks in advance

10. ### Comp Sci Error while calculating arc length of curve in Fortran

I am aware of that,although that can't be the problem the bigger the n the more my sum goes up.And the problem states that it should be able to work with just n=20,which doesn't in my case.Therefore I assume the problem is associated with my code.Nevermind thanks for your suggestion
11. ### Comp Sci Error while calculating arc length of curve in Fortran

Well I think the curve's x's from x1 to x2 can be divided to 20 equidistant x's with every n to be used to get to the next x.Xn=abs(x2-x1)*x/20 and X(n-1)=(x-1)*(abs(x2-x1)/20).Therefore if I subtract Xn,X(n-1),I will be getting the distance between consecutive X's.
12. ### Comp Sci Error while calculating arc length of curve in Fortran

Well if for x1=0.5 and for x2=1.5 I am getting 104.3853... That can't be right since I've checked it in wolframalpha and it says 13
13. ### Comp Sci Error while calculating arc length of curve in Fortran

The program must calculate the length of the curve of ƒ=3.1*x^2-5.3/x between x=1/2 and x=3/2.The legth should be calculated as the sum of n line segments starting with n=1 and ending with n=20. I really can't find why the result I'm getting is wrong.Thanks in advance I am giving you the code...
14. ### Comp Sci Help with fortran

Hello everyone ! Thank you very much for your help I really appreciate that! Could you please explain why my factorials are wrong? It's strange since I get correct answers only for some degrees e.x 45 and wrong for many others such as 90 degrees.Thanks in advance
15. ### Comp Sci Help with fortran

Hello I was assigned the following problem:Make a Fortran program which will be able to read a degree[0-360] checking validity range(not type) and it will be able to calculate and print the cos(x) from the following equation: cos(x)=1-x^2/2! + x^4/4!-x^6/6!+x^8/8!-...,where x is in radiants.As a...