50g group photo

Yahoo Groups archive

50g

Archive for 50g.

Index last updated: 2026-03-30 00:59 UTC

Message

Re: [50g] Making a square wave on the HP48GII

2014-07-01 by Don Hart

First some FYI...

cos should be COS. Upper/lower case matters, including the variables (t)

You don't really need 'C1(t)='. You can just use the righthand side by itself.

Use X for the independent var instead of 't', unless you change it in the settings.

Now, I'm not sure what all your equation does (F1 ?) so I simplified and the following works:

%%HP: T(3)A(R)F(.);
'SIGN(COS(2*\pi*X))'

or

%%HP: T(3)A(R)F(.);
'C1(X)=SIGN(COS(2*\pi*X))'

~~~
ASCII shall receive, Hollerith and get it quicker

--------------------------------------------
On Mon, 6/30/14, willowvst@... [50g] <50g@yahoogroups.com> wrote:

Subject: [50g] Making a square wave on the HP48GII
To: 50g@yahoogroups.com
Date: Monday, June 30, 2014, 5:25 AM
































I am making a model of a frequency mixer on the HP48GII.
I need to make a square wave as part of this.
The way I thought I would do it was to make a cosine wave
and then use the SIGN function to give me a +1 when it's
positive and a -1 when it's negative. I seem to get a
line at +1 not the expected result.
The formula I have in Plot is 'C1(t)=
SIGN(cos(2*(pi)*F1*t))'.
 
t is the independent variable.
 
Anyone know why it doesn't work?
 
Ed

Attachments