symbolics/questions.rst
author amit
Wed, 13 Oct 2010 17:32:23 +0530
changeset 323 e675f9208b91
parent 321 2e49b1b72996
child 342 588b681e70c6
permissions -rw-r--r--
Removing old redundant files.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
321
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     1
Objective Questions
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     2
-------------------
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     3
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     4
.. A mininum of 8 questions here (along with answers)
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     5
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     6
1. How do you define a name 'y' as a symbol?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     7
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     8
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     9
   Answer: var('y')
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    10
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    11
2. List out some constants pre-defined in sage?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    12
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    13
   Answer: pi, e ,euler_gamma
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    14
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    15
3. List the functions for differentiation and integration in sage?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    16
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    17
   Answer: diff and integral
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    18
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    19
4. Get the value of pi upto precision 5 digits using sage?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    20
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    21
   Answer: n(pi,5)
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    22
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    23
5.  Find third order differential of function.
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    24
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    25
    f(x)=sin(x^2)+exp(x^3)
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    26
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    27
    Answer: diff(f(x),x,3) 
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    28
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    29
6. What is the function to find factors of an expression?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    30
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    31
   Answer: factor
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    32
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    33
7. What is syntax for simplifying a function f?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    34
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    35
   Answer f.simplify_full()
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    36
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    37
8. Find the solution for x between pi/2 to pi for the given equation?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    38
   
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    39
   sin(x)==cos(x^3)+exp(x^4)
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    40
   find_root(sin(x)==cos(x^3)+exp(x^4),pi/2,pi)
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    41
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    42
9. Create a simple two dimensional matrix with two symbolic variables?
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    43
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    44
   var('a,b')
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    45
   A=matrix([[a,1],[2,b]])
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    46
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    47
Larger Questions
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    48
----------------
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    49
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    50
.. A minimum of 2 questions here (along with answers)
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    51
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    52
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
    53
2. Question 2