David Achermann

20 Reputation

2 Badges

18 years, 133 days

MaplePrimes Activity


These are replies submitted by David Achermann

Hy Joe, finally, I managed to run the program. My intention is to compute several step function, to compose one superposed function and to calculate the integral of these superposed function. Actually I got my superposed function but it's impossible to calculate the integral. When I try to run the following commands: >g:=rept(piecewise(t<15,1,t<17,0),t=0..17); i:=rept(piecewise(t<12,1,t<14,0),t=0..14); k:=g*i; evalf(int(k,t=0..50)); I get the error message "Error, (in evalf/int) unable to convert to pwlist". What to do? Thanks for your help. Regards David
Hy Joe, finally, I managed to run the program. My intention is to compute several step function, to compose one superposed function and to calculate the integral of these superposed function. Actually I got my superposed function but it's impossible to calculate the integral. When I try to run the following commands: >g:=rept(piecewise(t<15,1,t<17,0),t=0..17); i:=rept(piecewise(t<12,1,t<14,0),t=0..14); k:=g*i; evalf(int(k,t=0..50)); I get the error message "Error, (in evalf/int) unable to convert to pwlist". What to do? Thanks for your help. Regards David
Hello Georgios, Thanks for your support. Unfortunateliy it doesn't work. I inserted the following passages and always got the same error messages. Is there something wrong with my package implementation? > restart; > libname:=libname,"U:\acdavid\MapleFiles\FourrierSeries"; > with(FourierSeries); > f:=piecewise(t<1,t/2+1/2,t>=1,-t+2); > plot(f,t=-5..5); > plot(rept(f,t=-1..2),t=-4..5,thickness=2,tickmarks=[10,2]); libname := "C:\Program Files\Maple 9.5/lib", "U:cdavidMapleFilesFourrierSeries" Error, invalid input: with expects its 1st argument, pname, to be of type {package, module}, but received FourierSeries Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct Error, empty plot Best wishes David
Hello Georgios, Thanks for your support. Unfortunateliy it doesn't work. I inserted the following passages and always got the same error messages. Is there something wrong with my package implementation? > restart; > libname:=libname,"U:\acdavid\MapleFiles\FourrierSeries"; > with(FourierSeries); > f:=piecewise(t<1,t/2+1/2,t>=1,-t+2); > plot(f,t=-5..5); > plot(rept(f,t=-1..2),t=-4..5,thickness=2,tickmarks=[10,2]); libname := "C:\Program Files\Maple 9.5/lib", "U:cdavidMapleFilesFourrierSeries" Error, invalid input: with expects its 1st argument, pname, to be of type {package, module}, but received FourierSeries Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct Error, empty plot Best wishes David
Page 1 of 1