From: John D'Errico on
"Megan Madden" <postitgirl3(a)gmail.com> wrote in message <h7q6di$hv8$1(a)fred.mathworks.com>...
> Perhaps I should have posted my attempts for further clarification. My questions are homeworks from a 100 level engineering course for undergrads. I have a PhD in a non science discipline and am interested in learning more about computers, so electively decided to sign up for this course. It's a littile more difficult than I realized for I haven't taken a precalculus like course in over 20 years.....
>
> I have contacted an engineer friend of mine and he feels that the question is very dated and a poor example to use. What do you think?
>

I think that it does not matter that you claim to have several
dozen graduate degrees. I think you should do you own
homework, rather than posting every problem on this group
for us to do for you. The fact is, if you really have a PhD,
then you should find this trivial, and you should recognize
that you will learn more by trying to do something for yourself.

You have not yet shown that you have tried anything on all
of these problems that I have seen.

The best way to learn a language like matlab is to use it. Sit
down in front of a keyboard and start typing, rather than
asking someone else to do your work for you.

Finally, as for being dated, who cares? It forces you to use
and combine some fundamental matlab expressions together.

John
From: Steven Lord on

"Megan Madden" <postitgirl3(a)gmail.com> wrote in message
news:h7q6di$hv8$1(a)fred.mathworks.com...
> Perhaps I should have posted my attempts for further clarification. My
> questions are homeworks from a 100 level engineering course for
> undergrads. I have a PhD in a non science discipline and am interested in
> learning more about computers, so electively decided to sign up for this
> course. It's a littile more difficult than I realized for I haven't taken
> a precalculus like course in over 20 years.....

Just out of curiosity, why did you sign up for an engineering course when
you wanted to learn more about computers, and not a computer science course?
Or is this a prerequisite for a CS course you're interested in taking?

> I have contacted an engineer friend of mine and he feels that the question
> is very dated and a poor example to use. What do you think?

For an experienced engineer or mathematician who's worked with complex
numbers before, this problem is pretty simple. For a new student (you did
say it was 100 level, which I'm assuming is the introductory level) who may
not have had any prior experience with complex numbers, it's not bad --
it'll test to make sure you understand how arithmetic with complex numbers
works.

> "Megan Madden" <postitgirl3(a)gmail.com> wrote in message
> <h7puo0$7oa$1(a)fred.mathworks.com>...
>> Given the following complex numbers, write a computer program, to perform
>> the following algebraic operations:
>>
>> A= a +jb
>> B= c +jd
>>
>> FIND:
>> 1. A+B
>> 2. A-B
>> 3. A/b
>> 4. A*B
>> DATA:
>>
>> a b c d
>> -1 0 2 3
>> 5 -1 2 -1
>> 0 3 0 2
>> .2 .1 .3 .1
>> EXPRESS YOUR ANSWERIN:
>> 1. RECANGULAR FORM
>> 2. POLAR FORM
>> 3. EXPONENTIAL FORM

My suggestion for how to solve this assignment:

First, step away from the keyboard. I know the assignment says to write a
computer program to do this, but you can't do that until you know how to do
it yourself. Go grab pencil and paper/marker and whiteboard/chalk and
chalkboard/chalk and blank stretch of sidewalk or driveway/stick and a large
sandy area/etc.
Next, perform the calculations yourself, referring to your textbook if
necessary. The third quantity will be the trickiest to compute (assuming
it's A/B not A/b) but your textbook should show you the technique.

Once you've learned how to solve these problems on your own, instructing a
"dumb" computer (after all, it doesn't think, it just follows orders) how to
do it should be simpler.

If you run into problems with the coding process when you're instructing
MATLAB how to perform the calculations, post your code here and ask a
specific question and you should receive some help. If you're not writing
this in MATLAB, you probably want to ask in a newsgroup dedicated for the
language you are using -- check out the comp.lang.* newsgroup hierarchy on
Google groups (http://groups.google.com) to determine if there is such a
group.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ