<jupyter_start><jupyter_text>Torque<NAME>, created 13 July 2017---Servo torque needed to stand<jupyter_code>%matplotlib inline
from __future__ import print_function
from __future__ import division
import matplotlib.pyplot as plt
import numpy as np
def lbf2N(x):
    return 4.4882*x

def in2m(x):
    return 0.0254*x
# servo 0.39 Nm
w_robot = lbf2N(1.5)  # N
L = in2m(7)
T_needed = L * w_robot/4
print('length [m] {:.2f}  weight [N] {:.2f}'.format(L, w_robot))
print('torque:', T_needed)
limit = 0.39
print('{:.2f}'.format(100*T_needed/limit))<jupyter_output>76.73
{'fraction_non_alphanumeric': 0.1438721136767318, 'fraction_numerical': 0.07104795737122557, 'mean_word_length': 5.130434782608695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '312656', 'license': 'MIT', 'n_tokens_mistral': 266, 'n_tokens_neox': 239, 'n_words': 57, 'path': 'docs/torque.ipynb', 'repo_name': 'MultipedRobotics/quadruped-XL320', 'size': '573'}