blob: fddf9575cbfb627b868dd3677667369d74fa95ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
clear
//input
e=235;//e.m.f generated by an armature of a d.c. machine in volts
v=100;//velocity of armature of a d.c. machine in rad/s
i=16;//current in amperes
//calculations
p=e*i;//power of armature in watts
t=p/v;//required torque in newton meter
//output
mprintf('required torque is %3.1f Nm',t)
|