An error (from the Latin error, meaning "wandering") is an action which is inaccurate or incorrect. In some usages, an error is synonymous with a mistake.
In statistics, "error" refers to the difference between the value which has been computed and the correct value. An error could result in failure or in a deviation from the intended performance or behavior.
FORTRAN error "array bound is not scalar integer"
I'd like to know if a loop can be created, inside which I can call a subroutine in which there are arrays to be defined whose size varies as a function of loop variable. I tried as following, but got error "array bound is not scalar integer"...
Hey :o !
Could you help me at the following exercise?
$k, n \in \mathbb{N}$
$f(x)=cos(k \pi x), x \in [0,1]$
$x_i=ih, i=0,1,2,...,n, h=\frac{1}{n}$
Let $p \in \mathbb{P}_n$ the Lagrange interpolating polynomials of $f$ at the points $x_i$.
Calculate an upper bound of the maximum error...
Find the mean square error using the pseudo inverse approach.
I am given a 11X9 matrix A, a 11X1 vector F and R = 11X11 diagonal matrix
so Rhat = A[(A'A)^-1 ]A' R . Then I get a 11X11 matrix. Shouldn't I get getting a 8X11 matrix How do I get the most optimum vector F?
Hello! :)
I am looking at the following exercise:
Let the linear system $Ax=b$ with $\begin{pmatrix}
2.001 & 2\\
2& 2
\end{pmatrix}$
,$b=\begin{bmatrix}
2.001 &2
\end{bmatrix}^T$ and y an approximate solution,so that $Ay-b=\begin{bmatrix}
0.001 &0
\end{bmatrix}^T$ .Find an upper bound of the...
So I am a little confused about how to calculate the error uncertainty of a slope. Let's say I have data points (1,2), (2,2.75), (3,3.75), (4,4.7), (5,5.5) which when put in excel gives me a slope of .895. Let's say the error uncertainty for every point is +/-0.1. What I used to do is subtract...
calculate the absolute error of
a) 0.0342 m +- 5%
b) 0.0342 m +- 0.5%
Did I do these correctly?
a) 0.342*.05=1.71 so round it to 2 m
b) .0342*.005=1.71 (there was a 10^something after these numbers on the calculator) so round it up to 2 meters again
Did I do those correctly?
Hi!
I get an error when trying to compile my program:
test8.f95:26.8:
BMat = BMatScal(InverseJacobian, ShapeFuncDeriv)
1
Error: Function 'bmatscal' at (1) has no IMPLICIT type
I don't know why it complains because I specified type of the function in its definition (please see...
say i have some vector ##\vec{v}## multiplied by a scalar k.
the norm of ##\vec{v}## would be just ##||\vec{v}||## and the norm of ##k\vec{v}## is claimed to be ##|k|||\vec{v}||## ie, ##||k\vec{v}||=|k|||\vec{v}||## ie the sign of the constant is irrelevant.
when i work it out...
So I have a series of 5 data points let's say that they are (1,1),(2,3),(3,4),(4,4.5),(5,4.75) that create a power function that has the equation y=1.2x^.97. Let's also say that the error uncertainty for every number is 0.1. I know that for a linear line you can take the uncertainty of the...
Here is my code
Nl = 10^(49) ;
Nh = 100 ;
b = 4*10^(-13) ;
Rs = N[((3 Nl)/(4 Pi b Nh^2))^(1/3)];
a = 6*10^(-18) ;
Solve[x/(4 Pi r^2) E^(-Nh a x) a Nl == (1 - x)^2 b Nh,
x]When I run it, it shows the error:
"Solve::nsmet: This system cannot be solved with the methods available to Solve. >>"...
I have been debating with a few other people on another board, regarding the correct way to calculate the mean average of a list of values, where those values are recorded temperatures.
A great many people seem to believe, for example, that if each temperature reading is accurate to +/- 0.5°...
Limit proof that 1=0 -- Where is the error?
\lim_{n\to\infty } 1=\lim_{n\to\infty }\frac{n}{n}=\lim_{n\to\infty }\frac{\overbrace{1+1+\ldots+1}^{n \text{ times}}}{n}=\lim_{n\to\infty }\frac{1}{n} + \lim_{n\to\infty }\frac{1}{n} + \ldots=0
I have a feeling it is in the step where you split...
Homework Statement
A physics student with too much free time drops a water melon from the roof of a building. He hears the sound of the watermelon going "splat" 2.50s later. How high is the building? the speed of sound is 340 m/s. Ignore air resistance. Homework Equations
D= Vt (to find how...
1) For gravitational potential energy: ##F(r)=-\frac{\gamma M m}{r^2}##.
2) For potential energy of a conservative force-field: ##-\nabla E_p = F##. So the gradient of the potential energy is always equal to the force in that direction, just with the opposite sign. So when you move in the...
Homework Statement
Let x=5.234+/-0.0005 and y=5.123+/-0.0005. Find the percentage error of the difference a=x-y when relative errors deltax=deltay=0.0001.
Homework Equations
I think a=0.111 because 5.234-5.123=0.111 and +/-0.0005 cancel each other out. But how do I find the answer from...
I was working with a much longer equation and receiving a result I didn't expect, and finally narrowed it down to the following section:
2(-2^3)-3(-2^2)
2(-2^3) is correctly calculated as -16 independently, and 3(-2^2) is correctly calculated as 12 (again, independently) for a difference...
Homework Statement
Suppose we measure N pairs of values (xi, yi) of two variables x and y that are supposed to statisfy a linear relation y = A + Bx suppose the xi have negligible uncertainty and the yi have different uncertainties \sigma_{i}. We can define the weight of the ith measurement as...
∫√(16-9χ²) dx
this is what I tried
let 9/16 χ² = sin²
then x=4/3(sinu) and u=arcsin(3/4x) and dx=4/3(cosu) du
∫√(16(1-sin²u) )x 4/3(cosu) du
∫16/3 cos²u du
∫8/3(cos2u + 1) du
4/3(sin2u) +8/3 u +k
4/3(2sinucosu) +8/3 u +k
8/3...
Homework Statement
I wasn't sure where to post this question. I hope I picked the right section of the forums. This is from intermediate lab. The lab is for Bragg diffraction using microwaves. The grazing angle is a measured quantity along with the voltage (which was measured using an...
Hi, I'm totally new to MATLAB and tried this for loop
for K = 1:10
disp(abs(tan(K)))
end
it displays
1.5574
2.1850
0.14255
1.1578
3.3805
0.29101
0.87145
6.7997
0.45232
0.64836
1.5574
2.1850
0.14255
1.1578
3.3805
0.29101
0.87145
6.7997
0.45232
0.64836
Why did it display...
Hello all. I have been at this layout all day and I have seriously had it. So half way through the day I realized and confirmed that it is the source to body connection of the middle pmos that is missing (i think), the problem is I don't know how to make that connection! Simple, but I have tried...
Homework Statement
Find piston velocity and
Find angular velocity AB about A.
I apologise if the image is poor! If very bad I'll elaborate in writing the values...
Homework Equations
Draw a velocity vector diagram to solve the above.
Also use 2∏RPM / 60 to convert crank speed...
I learned this a while ago in my calculus 2 class and I was just thinking about it... Where do these error equations for each of the approximation rules come from? Like for example, where does the error for the Simpson's rule, $$|E_{S}|\le \frac{M(b-a)^{5}}{180n^{4}}$$ come from?
Also, why even...
[C++] COMPILER ERROR: "error: expected ']' before ';' token"
I'm getting 3 errors on the line
usi bA_indx_val = _booArr[indx/USI_BITS];
denoted in my code.
error: expected ']' before ';' token
error: expected primary-expression before ']' token
error: expected ';' before ']' token
Can't...
Homework Statement
The position of an object traveling in a straight line at time t is given by s(t) = (2/3)t^2 + 4t^2 + 6t + 2.
What's the displacement after 3 seconds?
Homework Equations
Displacement is final position minus initial position.
The Attempt at a Solution
Displacement at...
Hi All,
In doing some practice RLC series circuit question, I have been obtaining incorrect values for active and reactive power. The magnitudes I obtain are correct however the sign of the value is not. I have attributed this to obtaining an incorrect argument for the absolute power, or...
Homework Statement
What is the error of the y-intercept and gradient of a fitted line? The line is fitted to some number of data points each with a known error in the x and y values.
More specifically, I have fitted a linear equation to some data points using Microsoft Excel LINEST, and the...
Homework Statement
Use Differentials to show that an error of 2% in the measurement of the side of a square results in an error of approximately 4% in the calculation of the area
Homework Equations
I'm using Area =(sΔx)^2
The Attempt at a Solution
Using Δx=0.02,
Area=...
So I took a series of measurements, where the reading error for the measurements are either ±0.01 mm or ±0.02 mm or ±0.03 mm or ±0.04 mm. Now, I can calculate the estimated mean of the measurements by x_est=Ʃ x_i / N, where x_i is the i th measurement. Then I can propagate the errors in the...
Hi,
Okay, I'm in a bit of a rush: Can you put error bars on INDIVIDUAL points in Excel? I found the "custom" setting for the error bars, but you can only add custom error bars for ALL points. I'm looking for a way to mark errors for each point individually. Is there any way to do that?
I...
Hi,
Homework Statement
Interpolation for the function f(x)=cos(x) for evenly distributed values of x in [0,π] (h=xi+1-xi, xi=ih, i=0,1,...,πh) is carried out. Also known are f(xi).
I am asked to determine the value of h so that the interpolation's error is ≤ 5*10-8.
Homework Equations...
Homework Statement
Not exactly a homework question, but rather a section in Statistical Data Analysis:
Suppose there is a pdf y(x)[/SUB] that is not completely known, but μi and Vij are known:
Homework Equations
The Attempt at a Solution
I understand how <y(x)> ≈ y(μ),
My confusion:
Why...
I need to use the asymptotic error formula for the trapezoidal rule to estimate the number n of subdivisions to evaluate $\int_{0}^{2}e^{-x^2}dx$ to the accuracy $\epsilon=10^{-10}$. I also need to find the approximate integral in this case. I would like to know if my attempt is correct. Thanks...
Help with error analysis! urgently needed
Homework Statement
Using the theoretical prediction of t, find the errors of both t and x, . The problem is based on an experiment I did in Labs, In which a small metal ball was fired at 40° (uncertainty 0.5°) to the horizontal, at a height,y= 1.095m...
Homework Statement
How many significant digits does the number 3568 +/- 42 have?
Homework Equations
The Attempt at a Solution
The true value is ranging between 3526 and 3610. Why is there two significant digits and not one? I can't even find a specific definition of significant...
My plot seems wrong so I am not sure what the problem is: (a) mistake in sol (b) mistake in coding.
A clamped, uniform string under tension \(T\) has length \(\ell\). The string is struck in the middle, giving an initial tranverse velocity distribution
\[...
Homework Statement
I did a lab on the collection of butane over water to calculate the molar mass. In one trial, the measured molar mass was 20 g/mol, however, the accepted value for butane is 58.14 g/mol. This means the percent error is -70%. Why is it so high, assuming there is no relevant...
There isn't a problem question really, but I think this section is most appropriate since this is a question born out of my lab module.
To calculate the gradient of a line of best fit for a set of data you can use the equation
M = n \sumxy - \sumx\sumy / n\sumx2 - (\sumx)2
Where...
(Mods, I posted a similar thread in the computer science forum but now realize that this is a more suitable place for it. Could you please remove said thread from the other forum)
I've attached a photo below of the example. 0.2 is the number that we're trying to approximate as a floating...
Hello, I need help for programming my first program in Fortran, because it doesn't run. I think it's a problem with the compiler. What do you think?
This is my code
program Steifigkeitsmatrix
implicit none
real :: E,I,l,p
real...
I tried this on maple:
eps1 := [0, 1/5, 2/5, 3/5, 4/5, 1]:
start1 := 2.3:
base1 := 1.1:
for i from 1 to 6 do
R := start1*base1**0:
points1[i] := [R, evalf(eval(mH, {M=1, r=R, epsilon = eps1[i]}))]:
for a from 1 to 20 do
R := start1*base1**a:
points1[i] := points1[i], [R, evalf(eval(mH, {M=1...
This isn't a homework problem. I'm just having ALOT of trouble understanding how to do error propogation.
[EDIT] These are actually lab results. But its not a "homework" question. Its how to do uncertainty. Just trying to be clear.
Consider we take different measurements of an objects...
Hello, I don't seem to know how to ask google this question so I thought I'd see if I could get an answer from here.
Say I have 400 measurements of some variable. I take a sliding window of 50 events and take the standard deviation of each set of 50 events. That would be 350 measurements. Now...
Homework Statement
Two Sides of a triangular plate are measured as 125mm and 160mm, each to the nearest millimetre. The included angle is quoted as 60+-1. Calculate the length of the remaining side and the maximum possible error in this result
My first question is to the nearest millimetre...
In order to plot the error vs the change in 1/dx, I need to integrate the the solution with different a dx and take the max error. However, I don't know how I can set this up in python or matlab.
In python, my code for just one dx is:
import numpy as np
L = 80.0
N = 512
dt = 0.0002
tmax = 10...
Consider a physical quantity e.g. w,related to some other quantities by w=f(x,y,z) .
Imagine an experiment is done for finding the value of w and the measurement errors for x,y and z are known.
I want to know what is the standard method for calculating the error in w resulting from the errors...