Post Reply 
Help for a "Surface and Flux integrals" program
11-04-2017, 12:06 AM (This post was last modified: 11-04-2017 12:09 AM by Arno K.)
Post: #9
RE: Help for a "Surface and Flux integrals" program
(11-03-2017 11:23 PM)salvomic Wrote:  
(11-03-2017 11:16 PM)Arno K Wrote:  That is weird, must first check it, as there are always 4 arguments the usage of no list may be better.Without that list entry it seems difficult to force an error that then writes the help text, so we need an iferr around the whole computation.
Why now the error condition always is triggered, hm. Replace in IF: TYPE(w)≠4 by type(w)≠ DOM_LIST then this is gone and your example provides about approx 804.57.

ok with DOM_LIST!
but my example is wrong, I must try another Smile

It's correct this: sfint([x,-y,1],[u,v,u*v],[-1,1],[-1,1]) -> 4
Some examples I tried had integral bounds in polar form, so they wasn't right, sorry...

Ok, your program handles also Flux integral!
Checked that by hand, 4 is ok, so my program works like it shall and the only remaining problem is catching an error to provide help, I will think about that, tomorrow as it is late now. But you can skip the '' around the entries, that leaves only the {} around that all and you can provide help...
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Help for a "Surface and Flux integrals" program - Arno K - 11-04-2017 12:06 AM

User(s) browsing this thread: 1 Guest(s)