# A simple waveform help please

1. Jul 16, 2005

### ACLerok

2. Jul 16, 2005

### OlderDan

As an absolute value of something, or as a piecewise definition for each of the intervals that has a continuous derivative.

3. Jul 16, 2005

### ACLerok

I'm sorry i do not follow. I understand if it was just a ramp function it would just be (Vm/T) t but i still dont know

4. Jul 16, 2005

### OlderDan

The last waveform is called a Full-wave rectified sine. It is a sine function with all the negative regions flipped to positive. It is the absolute value of the sine function

$$f(x) = \left| {A\sin 2\pi \frac{t}{T}} \right| = A\left| {\sin 2\pi \frac{t}{T}} \right|$$

or you could write separate functions for the separate intervals with alternating plus and minus signs in front of the sine function.

5. Jul 16, 2005

### ACLerok

i see.. so am i correct to say that the equation for f(x) for the third waveform would be Asin(4pi/T)?

6. Jul 16, 2005

### OlderDan

No. For one thing you need a variable, t, in the argument of the sine function (T is a constant) and you need to define the function to be zero in the intervals where the waveform is zero. One way to do that would be to take 1/2 times your second waveform and add A/2 so that the square wave is between 0 and A; then use that in place of the A in the sine function you have.

7. Jul 17, 2005

### ACLerok

for the full rectified sine wave, the equation for f(t) from 0 to T/2. can it not have a sin in the equation maybe something like A(1-t^2)? (i know that's incorrect)

8. Jul 17, 2005

### ACLerok

anyone? :(

9. Jul 18, 2005

### OlderDan

I'm not sure what you are asking. For the full-wave rectified sine the function is a sine function from 0 to T

$$f(x) = A\sin \pi \frac{t}{T}}$$

Between T and 2T it is

$$f(x) = -A\sin \pi \frac{t}{T}}$$

There is no 1-t^2 involved

10. Jul 18, 2005

### OlderDan

CORRECTION!

Sorry, I misinterpreted the T as being the period of the sine function. In fact 2T is the period in the figure. This should have been

$$f(x) = \left| {A\sin \pi \frac{t}{T}} \right| = A\left| {\sin \pi \frac{t}{T}} \right|$$

11. Jul 18, 2005

### OlderDan

From 0 to T/2 or from nT to (n+1/2)T this should be

$$f(x) = {A\sin 2\pi \frac{t}{T}}$$

From T/2 to T or from (n+1/2)T to (n+1)T f(x) is zero.