0% found this document useful (0 votes)
6 views4 pages

B.Sc._H_Mathematics_Comp_KG9xJkP

This document is a question paper for the course SEC 2-Computer Algebra Systems and Related Softwares, intended for B.Sc. (H) Mathematics students in their IV semester. It consists of four questions covering various topics related to Computer Algebra Systems (CAS) and requires the use of software like Mathematica, Maple, or R. The paper includes instructions for candidates, question formats, and specific tasks to be completed within a 2-hour duration for a maximum of 38 marks.

Uploaded by

shouryasingh2412
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

B.Sc._H_Mathematics_Comp_KG9xJkP

This document is a question paper for the course SEC 2-Computer Algebra Systems and Related Softwares, intended for B.Sc. (H) Mathematics students in their IV semester. It consists of four questions covering various topics related to Computer Algebra Systems (CAS) and requires the use of software like Mathematica, Maple, or R. The paper includes instructions for candidates, question formats, and specific tasks to be completed within a 2-hour duration for a maximum of 38 marks.

Uploaded by

shouryasingh2412
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

IThis qucstion paper contains 4 printed pages.

Your Roll No...............

Sr. No. of Question Paper 1628 E

Unique Paper Code 3235340r

Name of the Paper SEC 2-Computer Algebra Systems and Related


Softwares
.:
Name of the Course CBCS-LOCF-B.Sc. (H).Mathematics

Semester IV

Duration : 2 Hours Maximum Marks : 38

In st ructions r Candidates

l. Write your Roll No. on the top immediately on receipt of this question paper.

2 This question paper has four questions in all.

3 All questions are compulsory.

4 Use anyone of the cAS := Mathematica/Maple/Maxima/any other to answer the questions

Ql . Attempt both parts (i) and (ii).


(i) Fill in the blanks 1x5=5
a The line numbers assigns to the input as ........
b You can obtain information about a specific command by typing.........
c The command to calculate zr to 100 decimal places is .......
d Lines are terminated by ....... to suppress the output
e The command 10 calculate the binomial coefficient (l) is

(ii) Explain any FIVE of the following 'R' commands in short : 1x5=5
a. qqnorm( )
b. read.csv( )

P. T. O,
4628 2

c. ls( )
d. rm( )
e. as.character( )
f. tail( )

Q 2. Write a short note on any.fcjur from the following: 2x 4 = I


(i) How to include exclu5ions and gridlines in a plot in any CAS. Also explain the
difference between them.
(ii) How to put a logarithmic scale on horizontal axis in a plot of 2r in any CAS.
(iii) How to sketch a contour plot in any ofthe CAS.
(iv) How to plot 3-dimensional surface in any CAS. Explain it by an example.
(v) How to form a new matrix from two exisiing matrices of same order by stacking
them on top ofeach other in any CAS.
(vi) Explain the rules for defining a function in any CAS.

Q3. Do any four from the following: 2x4=a


(i) Write the command for sketching the curve
y = (x - 7)2, -2 <x< 2, with colourof the curve blue

(ii) Write the command for plotting the graph of the following:
y = ex cosx, z= ea sinx, 0<x<5.
1 0
(iii) r= z 3
3 5 ll
Write commands for generating:
a. Eigen values and Eigen vectors of Matrix A
b. Diagnolise the matrix
(iv)Write the output of the following commands in the statistical software .R'

>G arden-,<(47, I 9,5 0,46,9,4)


>Hed gerow-<( I 0,3,0, I 6,3,0)
>Parkland=(40, 5, I 0,8,0,6)
>Pasture= c(2,0,7,4,0,0)
>data=c(Garcien, Hedgerow, Parkland, Fasture, Woo<lland)
>bird=matrix(data,ncol=5,dimnames=list(c(,Blackbird,,,Chaffinch,,'Great
Tit','House Sparrow','Robin','Song Thrush'), c(Garden', ,Hedgerow', 'parkland',
'Pastu re')))
>bird
4628 .,

(v) Write command for solving the systenr of equations:


x + 2y + 32 = 2i x - y + 32 = Oi Zx t 3y _ 4z = 2

Q4. Attempt any three parts from the following: (4x3=t2)


(i) Write code of the following in software- R:
a. Make a list..Ll,, in software R, containing following vectors:
Vl = {p, q, r, s}, V2 = {2, 3, 4, 5}and V3 = { 1.5, 3.5, 8.s}.
b. Write code to extract V2 from L I :
c. Find square root ofthe mean ofV2.
d. Add V4 = {3,7, 5, I I } ar third position in rhe list L I .
(ii) Consider the following dataframe object ,x':

c1 C2 c3 c4 c5
R1 815 53 28 1
R2 237 35 55 9
R3 79 1 6 L7
R4 11 t4 56 32
R5 92 t2 45 5
R6 12 18 9 3 18

Write code of the following in software- R:


a. Find the column means and column sums of ,x'.
b. Find the minimum and maximum values of the dataframe .x,.
c. Create a scatter chart of .x,.
(iii) Explain diflerence following in software-R
between the
a. as.data.framee and data.framee commands.
b. matrix and data fame.
c. ordeo and rankQ commands.
d. vector and list.

(iv)Write possible R commands for the following questions:


c1 c2 C3 c4 c5
R1 t2 5 35 8 72
R2 13 27 32 5 5
R3 21 10 11 t6 L9
R4 5 11 16 10 23
R5 13 2 72 42 5
R6 10 74 8 20 30

P.T.O.
4628 4

a. Create the above matrix 'z'.


b. Extract second column of 'z'.
c. Make Histogram of row "R2"'
d. Convert this matrix into dataframe'
e. Find standard deviation ofvector "R3" ofthe converted dataframe

(3s00)

You might also like