Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9167409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:23:01+00:00 2026-06-17T15:23:01+00:00

If I write in Maple AC := Amp*sin(2*Pi/T*t); then I am able to see

  • 0

If I write in Maple

AC := Amp*sin(2*Pi/T*t);

then I am able to see the expression in algebraic way. But I can’t plot it because T is unset (plotting against t, of course).

If I write

T := 100e-6; 
AC := Amp*sin(2*Pi/T*t);
plot(AC, t=0..1e-3);

then I can plot it, but the expression is shown with numbers but not symbols.

My question is the following:
If there is a way to nicely combine these both desires? So

  1. to have the variables declared,
  2. to have the expression written in symbols,
  3. to have it plotted.

I know that it is possible to write the expression firstly and then add its parameters. It work for small worksheets. But what to do if I have a 5-8-pages job and want to localize the variables in the beginning of the document (not to look for them everywhere)?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:23:02+00:00Added an answer on June 17, 2026 at 3:23 pm

    If you put equations for the parameters in a list (assigned earlier in the worksheet) then you can use so-called 2-argument eval whenever you want to instantiate your symbolic expressions with those values.

    For example, at the top of the worksheet you could have something like,

    params:=[T=100e-6,Amp=33.0,parB=2.3,parC=-0.9];
    

    and then later on your can still create new expressions containing unassigned symbols T, Amp, etc.

    AC := Amp*sin(2*Pi/T*t);  
    
                                            2 Pi t
                              AC := Amp sin(------)
                                              T
    

    And then, whenever you wish to use those particular values,

    plot(eval(AC,params), t=0..1e-3);
    

    That last command succeeds because the 2-argument eval call acts liks so,

    eval(AC,params);
    
                           33.0 sin(20000.00000 Pi t)
    

    Even after that plot call, you can still use unassigned T, etc, in new symbolic expressions.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I write game. I use RequestWindowFeature(WindowFeatures.NoTitle); at splash screen, but how can I disable
i write this in .emacs (require 'dired-x) (global-set-key (kbd C-x C-j) 'dired-jump) but when
Is it acceptable to write a Given When Then When Then test in Gherkin?
how can I write a query to get total users, %female, %male from a
Im sure there are a thousand different posts on Maple vs Matlab, but i
Write a function called swap which has a prototype of void swap (int&, int&);
Write a NASM macro: divide, which has 2 arguments, which specify unsigned integers in
Write a NASM macro: divide, which has 2 arguments, which specify unsigned integers in
Write a program to determine whether a computer is big-endian or little-endian. bool endianness()
write a script that takes two optional boolean arguments,--verbose‚ and ‚--live, and two required

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.