Question: How could I creat a half-sin element in Maple?

In MapleSim, I need a half-sin signal source element.

Of couse, I yielded a half-sin puls by using the combination of 2 sine souce elements and add element.

But i think it is not the best way. I want to use custom element in Maple to create it,

but I don't know how to write the equation code in Maple.

Please help me.

thinks

Please Wait...