Welcome to PLDC Webpage
PLDC is a programming language that provides an easy format to use for converting polynomials to its Laplace transform. The user inputs a polynomial equation and apply the command “Laplace”, it receives the conversion in terms of t or s domain. Users are also able to print the expressions and their results in the terminal window. We developed PLDC having in mind that our primary users for this language will be Electrical Engineering students, but anyone learning the Laplace transform theory can use this language to their convenience.
PLDC Syntax Example
#Create expression in t or s domain
tExpressionName = 2t^4
sExpressionName = 5s^3+1s
#Assign result of transform to variable
result1 = laplace(tExpressionName)
result2 = laplace(2t^4)
result3 = laplace(sExpressionName)
result4 = laplace sExpressionName
result5 = laplace 5s^2-2s+s
#Display result in terminal
show result1
show (“Result of expression in S domain is: ”, result1)
PLDC Demo
Authors and Contributors
PLDC was developed by Melvin Vega (@melvinvega) Velcy Palomino (@velcy) and Laura Rivera (@laura-rivera21) for the Programming Languages course at the University of Puerto Rico Mayaguez Campus