You are on page 1of 2

Computer Programming Skills

MathCad

Solution by DF Sozinando Student at the


Vaal University of Technology

You are required to calculate m agnitudes of tensions TA, TB and TC given mass of
traffic light to be 1000k kg.
Analysis:
- The weight of traffic light should be in equilibrium with tensions Fi = 0
- One needs to write respective components of all involved forces

Force_dir ( x ,y ,z) := stack

x
y
z
2
2
2

2 2 2, 2 2 2, 2 2 2, x + y + z
x +y +z
x +y +z
x +y +z

0.3904
-0.7807
OA Force_dir ( 4 ,-8 ,5 ) =
0.488
10.247

0
0.848
OC Force_dir ( 0 ,8 ,5) =
0.53
9.434

-0.5367
-0.7155
OB Force_dir ( -6 ,-8 ,5 ) =
0.4472
11.1803

0
0
OR Force_dir ( 0 ,0 ,-1 ) =
-1
1

Computer Programming Skills

MathCad

Solution by DF Sozinando Student at the


Vaal University of Technology

x
y
z

2 2 2 , 2 2 2 , 2 2 2
x +y +z
x +y +z
x +y +z

Force_dir ( x ,y ,z) := stack

0.3904
TA Force_dir ( 4 ,-8 ,5 ) = -0.7807

0.488
0
TC Force_dir ( 0 ,8 ,5) = 0.848

0.53
TA := 1N

TB := 1N

TC := 1N

-0.5367
TB Force_dir ( -6 ,-8 ,5 ) = -0.7155

0.4472
0
R Force_dir ( 0 ,0 ,-1 ) = 0

-1
R := 1000kg g = 9806.65 N

Given

TA Force_dir ( 4 ,-8 ,5 ) + TB Force_dir ( -6 ,-8 ,5 ) + TC Force_dir ( 0 ,8 ,5) + R ( Force_dir ( 0 ,0 ,-1 ) ) = 0

TA
TA


TB := Find TB
T
T
C
C

2353.596
TA Force_dir ( 4 ,-8 ,5 ) = -4707.192 N

2941.995
0

TC Force_dir ( 0 ,8 ,5 ) = 7845.32 N

4903.325

TA 6029.296

TB = 4385.667 N
T 9251.575
C
-2353.596
TB Force_dir ( -6 ,-8 ,5 ) = -3138.128 N

1961.33
0

N
R ( Force_dir ( 0 ,0 ,-1 ) ) =
0

-9806.65