Recent content by BridgeBuilder
-
B
MATLAB - for loop for numerical integration
In a real programmin glanguage you would use: totalArea=0; for (int i =0; i<100; i++) { // set values of leftY, rightY, leftX and rightX here // Note that their values are based on the current value of i totalArea=totalArea+0.5*(leftY+rightY)*(leftX-rightX); }- BridgeBuilder
- Post #6
- Forum: Engineering and Comp Sci Homework Help
-
B
MATLAB - for loop for numerical integration
How about y_out = y_out + (0.5 * (y_right + y_left) .* (x_right - x_left)); Remember to set the initial value of y_out as 0 though.- BridgeBuilder
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
B
MATLAB - for loop for numerical integration
Couldnt you use the following? (I know nothing about MATLAB but I know programming) y_out += (0.5 * (y_right + y_left) .* (x_right - x_left));- BridgeBuilder
- Post #2
- Forum: Engineering and Comp Sci Homework Help
-
B
Solving the Truss Bridge Problem
First time poster, long time reader... Consider the truss bridge as shown in the attached diagram (Each member is the same length) A force of 1000N is applied 3/4 of the way across the bridge. We get: R1 = 250 N R2 = 750 N Resolving from the left we get: T1 = 250 / sin 60 T1 sin 60...- BridgeBuilder
- Thread
- Bridge Truss
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help