Error Definition and 998 Threads

  1. R

    Fortran Why Is My FORTRAN If/Else Statement Not Working Correctly?

    I am not able to get what's wrong in below. IF ( temp < 97.5 ) THEN WRITE (*, *) NTemperature below normalN ELSE IF ( temp > 97.5) THEN WRITE (*, *) NTemperature normalN ELSE IF ( temp > 99.5) THEN WRITE (*, *) NTemperature slightly highN ELSE IF ( temp > 103.0) THEN WRITE (*, *)...
  2. W

    Error equation for the balmer series

    Homework Statement I have to find the error in λ determined by the Bohr model/Balmer series. I am a bit confused with this so I'd like someone to double check my work. I don't know the exact name of this method but basically all you do is take the differential of all the values which have an...
  3. S

    Steady State Error Calculation to Input Step and Ramp Input

    Hi all, I am getting confused about how to calculate steady state error in a system. My particular transfer function is: G(s)= 4.992/(s^2+3s-1) Firstly, with an input step am I right in saying that the Steady State error will always be zero? If so can someone explain the reason behind this...
  4. T

    Finding maximum percentage error using differentials?

    Homework Statement Here is the question along with the solution: Can anyone explain why the terms I circled in red are different? For the first term there is a negative sign but then the second term does not? Why did it disappear?
  5. J

    Java This error (Java) is confusing me

    It's saying I don't have an 'if' statement for my 'else if' statement, but I [SIZE="4"]do. You can see clearly from this picture that I do.
  6. S

    MHB Use differentials to estimate the error

    One side of a right triangle is known to be 20 cm long and the opposite angle is measured as 30°, with a possible error of ±1°. (a) Use differentials to estimate the error in computing the length of the hypotenuse. (Round your answer to two decimal places.) ±...cm(b) What is the percentage...
  7. S

    Mean squared error (why mean?)

    Hi I found this equation in a machine learning book: "we want to minimize the mean squared error:" $E= \frac{1}{2} \sum_{n=1}^N (y-t)^2$ what I do not understand is the \frac{1}{2} , if it is a mean it should be \frac{1}{N}, why are they restricting to 2? In the text there is no reference to y...
  8. O

    Explain how do we get standard error.

    Homework Statement I know that standard error is to calculate how the sample deviate from the population. But standard deviation divide √n ,then will get it. And I don't understand why there is a T/n from the picture I uploaded. Please help Homework Equations Standard error x sqrt(n)...
  9. S

    Error Rate and Its Role in Significance

    I am trying to understand the relationship between p-values and Type II error rate. Type II error occurs when there is failure to reject the null when it is false. As an example, suppose that I find that my results are not significant. In this case, the p-value is increased, or higher (in...
  10. J

    Java [Java] Can't figure out this Illegal start of expression error

    [Java] Can't figure out this "Illegal start of expression" error From my Java code: [FONT="Courier New"]while (info.substring(j, j)) != " ") { name += info.substring(j, j); j++; } gives an "illegal start of expression" error
  11. C

    How to find error between non-linear plot and data points?

    Is there a formal way to measure the error between some arbitrary points and a non-linear curve in order to minimize it?
  12. R

    Error propogation in trig functions

    Homework Statement I have to use this in my calculation \theta=\tan^{-1}\left(\frac{19 \pm 1}{47 \pm 1}\right) where both are in mm. How would I get this into \theta\pm \text{error}? Homework Equations shown above The Attempt at a Solution looked through my lab manual, it wasn't...
  13. S

    How Do You Calculate the Mean and Its Standard Deviation in Error Analysis?

    I'm doing a report on a set of lab data and am supposed to find the mean and mean's standard deviation \bar{x} + \sigma_{\bar{x}} The mean is given by \displaystyle{ \bar{x} = \sum_{i=1}^{N} w_{i} x_{i} } Where \displaystyle{ w_{i} = \left( \frac{\sigma}{\sigma_{i}} \right)^2...
  14. Saxby

    Fortran Fortran90 problem, runtime error

    Hello, I've been playing around with some code (as shown below) and for some reason everytime i run this code I am told: At line 11 of file tester.f90 Fortran runtime error: End of file I'm not really sure what's causing it, is it the position of my Open file? Any help would be much...
  15. O

    Fortran Fortran, File Read Error( Tried to read past )

    Fortran, File Read Error[Resolved itself, fixed] Basically I'm writing a simple fortran program to read in a data file formatted as shown below and then calculate the line of best fit for the given data points. N x1 y2 x2 y2 . . . . . . xn yn Where N is the...
  16. B

    Where is the error in this argument

    It is possible to do this and it is correct: \log \left[\sqrt{i}\right] = \log\left\{\exp\left[\frac{i}{2}\left(\frac{\pi}{2}+2\pi n\right)\right]\right\} = \frac{i}{2}\left(\frac{\pi}{2} + 2\pi n\right) = i\left(\frac{\pi}{4} + \pi n\right) But: \log \left[i^2 \right] =...
  17. J

    Estimating the error of an iterative sequence

    Homework Statement This isn't quite homework (though it's close), but I'm working on a quantum circuit and wish to implement an iterative method to find the square root of a number using elementary arithmetic operations (and without reciprocals). I've gotten most of it down, but the error...
  18. S

    Finding Error in Alternating Series

    [b]The problem statement says to find out if the next series converge, and if it does to calculate the sum with an error ε< 10^{-3} The serie is this one \sum^{\infty}_{n=1} (-1)^nne^{-n} First of all the serie converges because of Leibniz Criterion but the i did the series of |an| I did it...
  19. C

    Why Are My Excel Error Bars Only Horizontal?

    I have a graph which I would like to add Y error bars to. When I click to add the error bars, it only allows me to add horizontal bars. This is very strange because the other graph I have, it allowed me to insert vertical bars. Basically when I click on exactly the same menu to insert error...
  20. O

    RMS error in volume of a cylinder

    Homework Statement The length and radius of a perfect cylinder are measured with an RMS error of 1%. The RMS error of the inferred volume of the cylinder is.. ?Homework Equations V=∏r2h Hence dV/V=2dr/r+dh/h The Attempt at a Solution I took dr/r and dh/h as 1%. So got the final answer as...
  21. M

    Fortran How can I fix a Fortran compiling error?

    I Just finished installing gcc and SciTE . when i try to run a basic code ..the following error is returned(refer attached file) many thanks PS:I have saved fortarn.properties file in the installation folder of scyntilla
  22. E

    Understanding the 'ERR: Nonreal Ans' Error with Psi and Phi

    I just had a question involving both psi and phi. I know that: Ψ= (1-√5)/2 = -0.618033989... Φ= (1+√5)/2 = 1.618033989... And out of boredom, I decided to put into my calculator: (Φ^Ψ) = 0.7427429446... But my question rose from there: What happens if you do (Ψ^Φ)? I plugged it in and...
  23. W

    Understanding the Error of Taylor Polynomials in Approximating Functions

    the error of a taylor series of order(I think that's the right word) n is given by \frac{f^{n+1} (s)}{n!} (x-a)^n I think this is right. The error in a linear approximation would simply be \frac{f''(s)}{2} (x-a)^2 My question is what is s and how do I find it. Use linear...
  24. S

    MATLAB MATLAB - Find the error on polynomial fit parameters of experimental data

    See attached PDF for details: How do I calculate errors on the fit parameters, p?
  25. M

    Fortran Error 112 /undef when running fortran code

    Hi, I am a new Fortran User. I have a problem when I run my code (not errors during building), in fact the code is stopped in the last line and this message appears "Error 112, Reference to undefined variable, array elements or function result" ... write(number,100)k1 open...
  26. H

    C/C++ [C++] error: File cannot be found

    So I just started teaching myself C++ using visual studio 2010. I started with a nice easy program. First thing I did was created a new project called "Tutorial." Under source files I right clicked and selected add -> new item, I named it Introduction.cpp. I created this: #include...
  27. M

    Manchester Encoding Probability of Error

    Greetings, I am studying Analog & Digital Communications in one of my lectures and I'm stuck with a subject. I would be much pleased if someone is willing to help me on the subject below; Probability of error of a digital signal sent by using non return to zero encoding is easy to find...
  28. D

    Comp Sci Help with FORTRAN error message

    Homework Statement I get the follwing error message in the FORTRAN program I am trying to code. P(i)=(1/(sigma*sqrt(2*Pi)))*e^(-(x-xbar)^2/(2*sigma^2)) ----------------------------1 Error: Invalid character in name at (1) I assume this means there is something it doesn't like about...
  29. dwdoyle8854

    Does Object Size Affect Measurement Errors?

    Homework Statement "Which will have a larger absolute measurement error, a larger object or a smaller object?" "Which will have a larger relative measurement error, a larger object or a smaller object?" Homework Equations Relative error: δ(A)/A = δ(B)/B + δ(C)/C The Attempt at a...
  30. Q

    Electric Force Textbook error?

    Homework Statement Find the net force given a point charge and the value of the electric field. Homework Equations FE = εq ε= (5.6*10^4) q=(-1.2 * 10^-5) The Attempt at a Solution FE = εq FE = (5.6*10^4)(-1.2 * 10^-5) FE = 0.672 N [left] Seriously. I am posting this...
  31. P

    MATLAB MATLAB ezplot Error: Get Help Here!

    Hi. I was writing the simplest code ever in Matlab when I got an error using the ezplot function. I wrote this script: syms z t; eq=2600*tan(z)-0.5*9.81*2600^2*(210*cos(z))^(-2)-350; theta=solve(eq, 'Real', true); x=210*cos(theta); y=210*sin(theta)*t-0.5*9.81*t^2...
  32. A

    R through a wire: What's the max error in diameter if your R has 1% uncertainty?

    Homework Statement I have a wire of some resistance, resistivity, and length. What is the maximum error in measuring the diameter that you can have if the resistance is to have 1% uncertainty? Homework Equations R = \frac{ρ*l}{\pi*r^{2}} for which I substituted the area as \pi(.5...
  33. J

    Quantifying the statistical error in a counting experiment

    I need to find the statistical error in a counting experiment. Specifically, a decay can proceed via option A or option B and I need to find the branching ratio BR_a=(N_a)/(N_a+N_b). If I were to do this counting experiment multiple times my results for BR_a would follow the binomial...
  34. J

    What is the Standard Deviation of the Mean for Lab Homework Data?

    Homework Statement Using 5 different ammeters, you get the following data (all measured in Amps): I_{A} = 128 ± 2 I_{B} = 121 ± 1 I_{C} = 114 ± 8 I_{D} = 120 ± 3 I_{E} = 122 ± 4 Calculate the mean current and the standard deviation of the mean. Homework Equations Standard...
  35. T

    How to find the error in this particular integration process?

    Homework Statement The problem, more like a riddle, that our teacher gave it to us was to find the error in this particular equation: integral of 1/x dc = ln (absolute value of (x)) + C ; perfectly fine integral of dx/3x = 1/3 integral of dx/x ; also fine 1/3 integral dx/x = 1/3 ln...
  36. N

    MHB Logical error in Spivak's Calculus?

    Yes I am another plucky young fool who decided to self study Spivak. I think I have found an error in his section on conic sections, but Spivak is seldom wrong and I want to be sure I'm thinking straight. Let $C$ be a cone generated by a line of gradient $m$ which goes through the origin. Then...
  37. I

    Calculating Error in Multiple Independent Variables

    Homework Statement Okay so I was given this question to start calculating error on other problems. Consider the equation F(x,y,z) = x^4+2y^3+5yz+5. Let the uncertainty in x be represented by the variable dx, the uncertainty in y be represented by the variable dy, and the uncertainty in z...
  38. N

    Solving "Fatal Error" in MCNPX Input Code

    I am running a simple MCNPX input code and am getting a fatal error that says: "Fatal Error: no m card for material no. X". I thought it was something with my data card or my cell cards but can not figure out what the problem is.
  39. H

    Fortran Array reading error when opening multiple files in Fortran

    Guys. I really need help. I have been working in this little problem for hours. I had a problem in array reading when I opened more than 1 files, it seems like an array with different names mixed each other. Here is my code integer, parameter::size=11 real, dimension(101) :: cldata...
  40. B

    How to Evaluate Model Performance for Simulated Power Demand?

    How to quantify performance of a model Hello, I was hoping that somebody could advise me how to do evaluate the performance of a model. The model simulates the power demand from a fleet of electric cars over 24 hours. For example take the blue line as the actual demand for a given day and...
  41. Fb.Researcher

    Segmentation fault (core dumped) C error for structures

    I have written a C program that produce a structure, give it's elements their initial values and change these values when neccessary.I can compile my program but when I try to run it,error:"segmentation fault(core dumped)" appears.I commented different parts of my program and I underentood the...
  42. N

    Error: Bad Trouble in IMCN - Unexpected EOF

    I am getting an error which reads as follows: "bad trouble in imcn in routine pass1 unexpected eof in file ****** " I just added a sdef and nps card to my input file, so I assumed the error was with one of those. SDEF AXS=0 0 1 ERG=D1 RAD=D2 WGT=1 TME=0 PAR=1 SI1 0 .4...
  43. M

    Why do binary arithmetic operations sometimes result in different outputs?

    Hello everyone ! I got a problem, I can't figure out why when I compute A+B and 2\times (\frac{A}{2}+\frac{B}{2}) the result is sometimes different. Can anyone explain why the results of the two operations are different ? Edit : A and B are coded in binary of course and we compute a binary...
  44. P

    Data analysis: error calculation

    Homework Statement A=0,078m l=2,27m relative error of A: 0,01 relative error of l: 0,005 What is the error of: arctan(A/l)?
  45. Duderonimous

    Error propagation of q=mcdeltat

    Homework Statement I want to know how to do error propagation on this cNi= [-(mcΔt)Al-(mcΔt)H2O]/(mΔt)Ni m is mass and Δt is change in temperature Homework Equations δc/c=√(δm/m)2+(δ(Δt)/Δt)2 The Attempt at a Solution I know the above error prop eq. above applies to c=Q/mΔt...
  46. T

    Python Python: Old-style to New-style Class Conversion Causes Error

    I'm trying to convert my __init__ to __new__, but I can't find any docs on how the syntax differs or anything really, that pertains to how this bug could be caused by it. What am I doing wrong here? import copy; class grid(list): def __new__(self, size): self.size = size...
  47. U

    Third kepler's law error on sun mass calculation

    Homework Statement We consider that at the third Kepler's law the Earth mass is 0, that way we are making an error at the Sun mass calculation in comparison to the real Sun mass. In the same calculation we make another error by taking the common error at the gravitational constant, G. Which...
  48. F

    Propagation of Errors - Error on Gradient

    Homework Statement So I'm trying to calculate the error on the gradient I've obtained for my lab work. The line of best fit is too precise to use the parallelogram method and I'm still at the stage of my course where calculations of the gradient and such must be done by hand and not using a...
  49. M

    Error by a factor of 10 in peroxide/permanganate titration

    Hi all, Trying to get this titration working correctly and for the life of me, I can't figure out where my error is. This is what I have: Burette contains 0.01M KMnO4 (I'm positive that my error does not come from preparing this - 0.4g in 250ml of water, with a molar mass of 158g/mol...
  50. O

    Estimating Error in Meas. of Homog. Mag Field w/ Hall Effect Probe

    Homework Statement I'm trying to estimate the error in measurements of a homogenous magnetic field of known orientation using a Gauss-meter that uses a Hall-effect probe. The uncertainty in the measurements reported by the Gauss-meter are given the user's manual. Since the probe is held by...
Back
Top