Tutorial: Circuit Analysis with Maple

Click For Summary

Discussion Overview

The discussion revolves around the use of Maple for circuit analysis, specifically focusing on how to perform calculations for first- and second-order linear circuits. Participants are sharing tutorials, asking questions about functionality, and exploring the capabilities of Maple in this context.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant shares a Maple worksheet for circuit analysis and invites feedback on its use and effectiveness.
  • Another participant asks how to plot a function in Maple without typing the function directly in the plot command, specifically after using the dsolve command.
  • A participant suggests that Maple may store previous outputs, allowing users to reference them in commands like plot.
  • Further clarification is provided regarding the syntax for accessing stored values in Maple, indicating that certain symbols can be used to recall previous outputs.
  • The original poster updates the thread with a newer version of the Maple worksheet and additional resources for Laplace transform analysis and frequency response.

Areas of Agreement / Disagreement

Participants appear to be exploring various functionalities of Maple without reaching a consensus on the best practices for plotting functions or the most effective ways to utilize the software for circuit analysis.

Contextual Notes

There are references to specific commands and syntax in Maple that may depend on the version being used, and some assumptions about the familiarity of participants with programming concepts from other languages are present.

Who May Find This Useful

This discussion may be useful for individuals interested in learning how to use Maple for circuit analysis, those looking for tutorials on Maple, or users seeking to understand how to manipulate outputs within the software.

quantumdude
Staff Emeritus
Science Advisor
Gold Member
Messages
5,564
Reaction score
24
Since Greg recently started allowing Maple worksheets as attachments and since this lonely little forum gets hardly any traffic, I'm going to start using it as an incubator for the development of tutorials for use at PF.

I've attached a Maple worksheet (done in Maple 9.5) that shows how to do calculations for first- and second order linear circuits. I'm just learning Maple myself, so if there is a less retarded way to do this then please do speak up.
 

Attachments

Physics news on Phys.org
OK quiet down, I can barely hear myself think. :biggrin:

I've got a question that maybe one of you can answer. If not then I'll post in the Math section. How do you plot a function in Maple without actually typing the function as an argument in the plot command? Say I use the dsolve command to get an analytical solution for a differential equation. Can I use the plot command to graph it simply by referring to the function by name, rather than typing it out?
 
This is a magma (and other language) idea, but usually the program stores the previous output (or some number of the last few returned values) and doing something like plot $1 will make it plot the last returned value. A command like dsolve will return a value to somewhere, it's just accessing it. Sorry I can't be more help, but I'm just extrapolating from other languages (in python it would be _, I think).
 
I did a quick search and " is the last value stored, "" the last but one (and I presume this holds for some small number of " symbols.

So if you do

dsolve(something);
plot(");
it should plot whatver dsolve returned.
 
The Maple worksheet I attached to the OP was old. I thought it was a newer one. An updated version is attached, as is a worksheet for Laplace transform analysis and frequency response. Anyone have any thoughts?

I was going to start a new thread for each Maple Tutorial, but instead I'm going to lump them together by subject. So I changed the title of this thread to reflect that. Anyone can feel free to join in.

matt grime said:
I did a quick search and " is the last value stored, "" the last but one (and I presume this holds for some small number of " symbols.

Thanks Matt. I independently found out that % works for recalling the last object.
 

Attachments

Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
Replies
15
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
3K