AIK84C_library

High-performance and lightweight C library. This library provides various functions for common tasks like kinetic energy, acceleration (distance), acceleration (velocity) and voltage divider. For more information, please visit https://github.com/aik84from/aik84c_library

Example

Uniform acceleration (2 m/s²)

Time (s)Distance (m)Speed (m/s)Speed (km/h)Speed (km/min)
1.01.0002.0007.2000.120
2.04.0004.00014.4000.240
3.09.0006.00021.6000.360
4.016.0008.00028.8000.480
5.025.00010.00036.0000.600
6.036.00012.00043.2000.720
7.049.00014.00050.4000.840
8.064.00016.00057.6000.960
9.081.00018.00064.8001.080
10.0100.00020.00072.0001.200
11.0121.00022.00079.2001.320
12.0144.00024.00086.4001.440
13.0169.00026.00093.6001.560
14.0196.00028.000100.8001.680
15.0225.00030.000108.0001.800
16.0256.00032.000115.2001.920
17.0289.00034.000122.4002.040
18.0324.00036.000129.6002.160
19.0361.00038.000136.8002.280
20.0400.00040.000144.0002.400
21.0441.00042.000151.2002.520
22.0484.00044.000158.4002.640
23.0529.00046.000165.6002.760
24.0576.00048.000172.8002.880
25.0625.00050.000180.0003.000
26.0676.00052.000187.2003.120
27.0729.00054.000194.4003.240
28.0784.00056.000201.6003.360
29.0841.00058.000208.8003.480
30.0900.00060.000216.0003.600

Getting started

acceleration_velocity(2, 10) = 20.000000000

acceleration_distance(0, 2, 10) = 100.000000000

ms_to_km_h(20) = 72.000000000

ms_to_km_min(20) = 1.200000000

oscilloscope(20) = 0.050000000

kinetic_energy(0.036, 310) = 1729.800000000

voltage_divider(12, 100, 1000) = 10.909090909

watts(12, 6) = 72.000000000

horsepower_to_kwatts(120) = 88.259850000

(C) Kalinin Alexandr // fantaziya84@rambler.ru