#include <stdio.h>
// Function to calculate the transfer function exponent
double transferFunctionExponent(double s) {
// Define the transfer function parameters
double num = 1.0; // Numerator coefficient
double den = 1.0; // Denominator coefficient
int exponent = 2; // Exponent of 's'
// Calculate the transfer function
double transferFunction = (num s) / (den (s + exponent));
return transferFunction;
}
int main() {
// Test the transferFunctionExponent function with a specific value of 's'
double s_value = 3.0;
double result = transferFunctionExponent(s_value);
// Display the result
printf("Transfer Function Value at s = %.2f: %f\n", s_value, result);
return 0;
}