jackboot
Mechanical
- Jun 27, 2001
- 151
Problem: Analyzing crank torque, load is applied for 1/2 rotation
N:=360
i:=0..N
thetai:=i
thetari:= converts thetai to radians
Now I need the following conditional statement for the compression stroke:
ag(thetar):= 1 if pi>thetar>0
0 otherwise
Po= Pp*ag(thetar)
I get an error message that states ag(theta) must be a scalar.
What am I doing wrong? I am new to Mathcad.
jackboot
N:=360
i:=0..N
thetai:=i
thetari:= converts thetai to radians
Now I need the following conditional statement for the compression stroke:
ag(thetar):= 1 if pi>thetar>0
0 otherwise
Po= Pp*ag(thetar)
I get an error message that states ag(theta) must be a scalar.
What am I doing wrong? I am new to Mathcad.
jackboot