Unit proof int()

Unit proof int() - BTS issue SS-85 - Messages

#1 Posted: 2013/8/11 16:33:55
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

I propose to modify the built-in function int(4) such that it can handle integration variables with units. It is easy to build a corresponding function thanks to Davide's UoM() and for maple(int(4) this already works.

[MATH lang=eng]Int(f#,x#,a#,b#):line(u#:UoM(b#-a#),sf#:num2str(f#),sx#:num2str(x#),sxu#:num2str(x#*u#),ft#:str2num(strrep(sf#,sx#,sxu#)),u#*int(ft#,x#,a#/u#,b#/u#),6,1)[/MATH]

See attached sheet for examples.

Edit: Shifted to bug tracking system
Section math integration units.sm (19.47 KiB) downloaded 769 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 users liked this post
Вячеслав Мезенцев 2013/8/11 18:48:00, ioan92 2013/8/12 03:48:00, Davide Carpi 2013/8/23 07:55:00
#2 Posted: 2013/9/20 11:46:55
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

The request is resolved by the Maxima Plugin.
Section math integration units.sm (22.95 KiB) downloaded 786 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Radovan Omorjan 2013/9/20 14:50:00
  • New Posts
  • No New Posts