Hi,
I'm trying to write a code for the recursive trapezoidal rule. The code must have the bounds of integration and tolerance. The code is meant to stop when the tolerance between the next and previous value is below 10^-4, given n number of times to sub split the intervals.
My progress...
Hi,
My question is in relation to Matlab.
I'm curious, is there anyway to employ user inputs for function handles?
By this I mean that the user is prompted to enter they're chosen function and the next line of code employs that into a handle.
My quick and rough attempt was...
light is electromagnetic radiation. when photons makes contact with matter it transfers its energy to the particles in the matter. There is a finite probability of a photon passing through matter, this is all dependent on characteristics of the photons and matter its passing/making contact with...
as above photons, interact electromagnetically with two very important particles that create up 'matter' in the universe protons and electrons. these are charged. Neutrinos have an extremely low to nil mass and only interact with matter via the weak force which has a very small range.
sorry I was not 100% clear in my description.
When I run the given code above ( x1 and y1 are adjacent and opposite, forgot to change them), the hypotenuse matrix that returns, only considers element by element computations with the two given matrices adjacent and opposite (i.e. only 30...
Hi,
the question is as follows.
I wish to calculate all of the different possible combinations of two vectors in regards to Pythagoras theorem. Not just an element by element operation
My code is as follows;
opposite=(0:30)
adjacent=(0:30)
hypotenuse=sqrt(x1.^2+y1.^2)
When I use...
Ahhh yes thanks for that missed it, alright its just that 11degrees a second seems rather large? I tried it another way and got d(theta)/d(t)=60*t/t^4+900...then subbing t gives me d(theta)/d(t)=0.055046 degrees/sec? doesn't this seem like a more likely answer?
The question is as follows:
A rocket was launched straight up, and its altitude is given by h = 10 t2 m after t
seconds. You are on the ground 300 m from the launch site watching the rocket going
up. The line of sight from you to the rocket makes an angle θ with the horizontal. By
how many...
A 100gram block is attached to the end of a spring on a frictionless table that has a spring constant of 20N/m. The other end of the spring is attached to the wall. A 20g ball is thrown at the block with a velocity of 5.0m/s.
If the collision is perfectly elastic, what is the ball's speed...
You've taken a summer job at a water park. In one stunt, a water skier is going to glide up the 2.0m high frictionless ramp, then sail over a 5.0m wide shark tank. You will be driving the boat that pulls her to the ramp. She'll drop the tow rope at the base of the ramp as you veer away. What...
Which two of the following lenses could be used to construct a telescope?
Focal lengths: 20cm/1cm/100cm/5cm/10cm/2cm/25cm/75cm
(a.) That magnifies 20x and has a length of approx 1.0m
(b.) magnifies by 15x
(c.) magnifies 50 x
I used magnification=telescope focal length/eye piece...
ohhhh and 5./ as train can be in ciruclar motion causing an centripetal acceleration causing 45 degree angle of load and is still a non -inertial reference frame.
You are conducting an experiment inside a train car that may move along level rail tracks. A load is hung from the ceiling on a string. The load is not swinging, and the string is observed to make a constant angle of with the horizontal. No other forces are acting on the load. Which of the...
Well I figured that the elevator is a non inertial frame of reference as there must be some kind of acceleration. But if that's so I thought the Newtonian mechanics would break down, and the only thing that could cause tension in the string to be different to the weight load would be a force...