Question: Imagine our team require you to write a macro function to apply brake on the signals. Find a simple function f and write a macro

Imagine our team require you to write a macro function to apply brake on the
signals.
Find a simple function f and write a macro function for it in C language that has
three arguments: float input, float output, float deadline
Submit your code and explain why you want to choose that specific function.
Known conditions:
deadline >0
Requirements:
1. for all input values in range of -deadline to deadline inclusive, abs(input)= abs(output)
2. for all input values in range of -deadline to deadline inclusive, sign(input)= sign(output)
3. f'(input=deadline)=1= f'(input =-deadline)
4. f(input=deadline)= deadline
5. f(input=-deadline)=-deadline
6. f is continuous
Imagine our team require you to write a macro

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!