<gh_stars>0
from math import *
def normalize(x,y,z,F=1):
    x = float(x)
    y = float(y)
    z = float(z)
    F = float(F)
    l = sqrt(x**2+y**2+z**2)
    return x*F/l, y*F/l, z*F/l

'''
9/11
>>> #front suspension
>>> #bottom front A
>>> normalize(-95.7,-349,21.6,F=10000)
(-2639.801127824702, -9626.860957270856, 595.817182455732)
>>> #bottom rear A
>>> normalize(-94.7,356,-21.65,F=10000)
(-2566.284348762022, 9647.278016465469, -586.6954186979702)
>>> #upper front A
>>> normalize(109,307.05,21.5,F=10000)
(3338.1138580693305, 9403.374863487963, 658.4353022797304)
>>> #upper rear A
>>> normalize(-81.5,307.05,21.5,F=10000)
(-2559.6021370095227, 9643.26179348189, 675.2324655914692)
12/11
>>> #rear suspension
>>> #rear is normal to the XZ
>>> #lower front
>>> normalize(234.8,309.65,4.54)
(0.60417064101308, 0.79676933130196, 0.011682004728276761)
>>> #upper front
>>> normalize(221.5,281.5,37.1)
(0.6150858069919857, 0.7817004725428621, 0.10302340153229196)
>>> 
25/11
>>> #front suspension
>>> #front top
>>> normalize(197.6,325.4,95.95)
(0.503307074539779, 0.8288265286196563, 0.24439430061787348)
>>> #rear top
>>> normalize(-69.4,324.4,96.3)
(-0.20090604431666065, 0.9391054866905577, 0.27877884823767174)
>>> #rear bottom
>>> normalize(-136.5,381.5,18.5)
(-0.33653294855219934, 0.9405664459535827, 0.045610692660920785)
>>> #front bottom
>>> normalize(-211.6,-437.6,-32.98)
(-0.434325727474092, -0.8982085933018085, -0.06769405714600923)
>>> #rear suspension
>>> #front top
>>> normalize(270,253,99.3)
(0.7047675048676377, 0.6603932545611568, 0.259197826790209)
>>> #front bottom
>>> normalize(130,285,8.23)
(0.41486202088967133, 0.909505199642741, 0.026263957168630735)
'''

from math import *
def normalize(x,y,z,F=1):
    x = float(x)
    y = float(y)
    z = float(z)
    F = float(F)
    l = sqrt(x**2+y**2+z**2)
    return x*F/l, y*F/l, z*F/l

'''
9/11
>>> #front suspension
>>> #bottom front A
>>> normalize(-95.7,-349,21.6,F=10000)
(-2639.801127824702, -9626.860957270856, 595.817182455732)
>>> #bottom rear A
>>> normalize(-94.7,356,-21.65,F=10000)
(-2566.284348762022, 9647.278016465469, -586.6954186979702)
>>> #upper front A
>>> normalize(109,307.05,21.5,F=10000)
(3338.1138580693305, 9403.374863487963, 658.4353022797304)
>>> #upper rear A
>>> normalize(-81.5,307.05,21.5,F=10000)
(-2559.6021370095227, 9643.26179348189, 675.2324655914692)
12/11
>>> #rear suspension
>>> #rear is normal to the XZ
>>> #lower front
>>> normalize(234.8,309.65,4.54)
(0.60417064101308, 0.79676933130196, 0.011682004728276761)
>>> #upper front
>>> normalize(221.5,281.5,37.1)
(0.6150858069919857, 0.7817004725428621, 0.10302340153229196)
>>> 
25/11
>>> #front suspension
>>> #front top
>>> normalize(197.6,325.4,95.95)
(0.503307074539779, 0.8288265286196563, 0.24439430061787348)
>>> #rear top
>>> normalize(-69.4,324.4,96.3)
(-0.20090604431666065, 0.9391054866905577, 0.27877884823767174)
>>> #rear bottom
>>> normalize(-136.5,381.5,18.5)
(-0.33653294855219934, 0.9405664459535827, 0.045610692660920785)
>>> #front bottom
>>> normalize(-211.6,-437.6,-32.98)
(-0.434325727474092, -0.8982085933018085, -0.06769405714600923)
>>> #rear suspension
>>> #front top
>>> normalize(270,253,99.3)
(0.7047675048676377, 0.6603932545611568, 0.259197826790209)
>>> #front bottom
>>> normalize(130,285,8.23)
(0.41486202088967133, 0.909505199642741, 0.026263957168630735)
'''
9/11 >>> #front suspension >>> #bottom front A >>> normalize(-95.7,-349,21.6,F=10000) (-2639.801127824702, -9626.860957270856, 595.817182455732) >>> #bottom rear A >>> normalize(-94.7,356,-21.65,F=10000) (-2566.284348762022, 9647.278016465469, -586.6954186979702) >>> #upper front A >>> normalize(109,307.05,21.5,F=10000) (3338.1138580693305, 9403.374863487963, 658.4353022797304) >>> #upper rear A >>> normalize(-81.5,307.05,21.5,F=10000) (-2559.6021370095227, 9643.26179348189, 675.2324655914692) 12/11 >>> #rear suspension >>> #rear is normal to the XZ >>> #lower front >>> normalize(234.8,309.65,4.54) (0.60417064101308, 0.79676933130196, 0.011682004728276761) >>> #upper front >>> normalize(221.5,281.5,37.1) (0.6150858069919857, 0.7817004725428621, 0.10302340153229196) >>>  25/11 >>> #front suspension >>> #front top >>> normalize(197.6,325.4,95.95) (0.503307074539779, 0.8288265286196563, 0.24439430061787348) >>> #rear top >>> normalize(-69.4,324.4,96.3) (-0.20090604431666065, 0.9391054866905577, 0.27877884823767174) >>> #rear bottom >>> normalize(-136.5,381.5,18.5) (-0.33653294855219934, 0.9405664459535827, 0.045610692660920785) >>> #front bottom >>> normalize(-211.6,-437.6,-32.98) (-0.434325727474092, -0.8982085933018085, -0.06769405714600923) >>> #rear suspension >>> #front top >>> normalize(270,253,99.3) (0.7047675048676377, 0.6603932545611568, 0.259197826790209) >>> #front bottom >>> normalize(130,285,8.23) (0.41486202088967133, 0.909505199642741, 0.026263957168630735)