How is settled cash calculated?

Powered by IBot
How is margin interest calculated and charged in Interactive Brokers accounts?
How do I place an order at IBKR?