Changeset 38889 in project
- Timestamp:
- 08/26/20 16:25:44 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/5/unitconv
r36040 r38889 51 51 ;; define units of length 52 52 (define-unit meter Length 1.0 m meters) 53 (define-unit inch Length 0.0254in inches)53 (define-unit inch Length 254/10000 in inches) 54 54 55 55 ;; define units of mass and time … … 69 69 70 70 <enscript highlight="scheme"> 71 (unit-convert meter inch 1) -> 39.370078740157572 (unit-convert meter inch 2 3 4) -> ( 78.740157480315 118.110236220472 157.48031496063)73 71 (unit-convert meter inch 1) -> 5000/127 72 (unit-convert meter inch 2 3 4) -> (10000/127 15000/127 20000/127) 73 74 74 (unit-convert meter kilogram 1) 75 75 Error: (unitconv) unit-convert : given units are of different dimensions: … … 161 161 ; {{Conductance}} : {{(/ Current Potential)}} 162 162 ; {{Inductance}} : {{(/ (* Potential Time) Current)}} 163 ; '''Electromagnetism''' 164 ; {{Magnetic-Flux}} : {{(/ (* Mass Area) (* (** Time 2) Current))}} 165 ; {{Magnetic-Flux-Density}} : {{(/ Mass (* (** Time 2) Current))}} 166 ; {{Magnetic-Field-Strength}} : {{(/ Current Length)}} 163 167 ; '''Chemistry''' 164 168 ; {{Concentration}} : {{(/ Substance Volume)}} … … 382 386 </table> 383 387 388 ==== Units of Magnetic Flux 389 390 <table style="table { table-layout: fixed; }"> 391 <col width="25%" /><col width="25%" /><col width="25%" /><col width="25%" /> 392 <tr><th>Name</th><th>Quantity</th><th>Factor</th><th>Abbreviation(s)</th></tr> 393 <tr><td>tesla</td><td>Magnetic-Flux-Density</td><td>(/ kilogram (* ampere second second))</td><td>(T teslas)</td></tr> 394 <tr><td>weber</td><td>Magnetic-Flux</td><td>(/ (* kilogram meter meter) (* ampere second second))</td><td>(wb webers)</td></tr> 395 </table> 396 397 ==== Units of Magnetic Field Strength 398 399 <table style="table { table-layout: fixed; }"> 400 <col width="25%" /><col width="25%" /><col width="25%" /><col width="25%" /> 401 <tr><th>Name</th><th>Quantity</th><th>Factor</th><th>Abbreviation(s)</th></tr> 402 <tr><td>ampere-per-meter</td><td>Magnetic-Field-Strength</td><td>(/ ampere meter)</td><td>(amperes-per-meter)</td></tr> 403 </table> 404 384 405 ==== Units of Substance 385 406 … … 442 463 is created by procedure {{val-with-units}}: 443 464 444 ( useunitconv with-units)465 (import unitconv with-units) 445 466 (val-with-units 10 m) -> #(10 #(unit meter (m meters) [Length] 1.0)) 446 467 … … 469 490 === Version history 470 491 492 ; 4.0 : Using exact arithmetic [André Sá] 493 ; 3.3 : Additional units of time [André Sá] 471 494 ; 3.0 : Ported to CHICKEN 5 472 495 ; 2.6 : Bugfixes in unit* and unit/ … … 488 511 === License 489 512 490 Copyright 2007-20 18 Ivan Raikov.513 Copyright 2007-2020 Ivan Raikov, André Sá. 491 514 492 515 This program is free software: you can redistribute it and/or modify
Note: See TracChangeset
for help on using the changeset viewer.