5th Sem Programming Practical
5th Sem Programming Practical
/
Spp4 Date./31 713
path
Alonchat dagram.
hay
R_produce to tha
Sep3e Onee thuHlourchat be Contrhcteo
Ok
achive
ar Cods to fo
W Hing to Smpta progzramme
Pm
perpose2.
COss ave elarified
ThL aboue_poit_
wih gallauorma exanple.. s_
Going tp 2atche mavio ith tirlfuicmd
_Cn einama hall.
presentes
by
ORD
Teacher's Signature.
Maoming 0 SymboB o he follot) Chaf
Start and end
paro
tuo
CennectoY OY Jotnigg o&
pro Y A m n a
Expt.No. Page No./ 2
Date./
Start
isshe in hauey
ras No
Tako hare her to the th2ater
IComoback hame
SiopD
OXroRD
Teacher's Signature. .
basic (onguage Some p0qramu Yelated
Expt.No. Page No. 3
| to physial Chemisty epertment
Date./7.8.19
Rem* 6ptical danstty and molay extention co- e3hiaiant trom
absapim data**
Kem CalcatatOn ok Oplical okmsity kron a bsban c e adate
Declore sulo maln
Main
Sulo main
Next
ay
frn "alculate Valueok parametay aphical densitp/
oxroRD Con centyationza y
Kem Calculate of_mo lar aafen atraslion co eAficent**
A
Co-ef a v / ! .
Teacher's Signature
Expt.No. Page No. 4
Date.
end Sub
Sleep
main.
oXrORD
Teacher's Signature
Expt.No. progamma Aye help Computer agdes
Page No./ S
xamina ton: Date./ 4 8 19
Sfart
om puteY
S thewspos
CoTYect
Computer-
Connpute-
2ea ong we dlona Continue
Nert 9uastion
oXroRD
Teacher's Signature..
Number
oop Suming of N given
ShaTt+
/Reno N
p 3o
nitiahio and L0
/Rend A/
Aodad A on to s
Com putattow S S+A
Jinrea3e\ by|
tastina
write
Expt.No. Page No./
Date./29. 09 1
Stort
/ Reod onumbi
numeX
hegaHv
The last
humla
Pes
Yes
OXrORD
Teacher's Signature.
Expt.No. Page No. 7
Date./11 09 14
2 amme ~or Calesdation el eacirg vale enstant
eilhvv
ek chemical reac tHon gk eitt ist ar 22e deyi
he Kno that euaton tor Clcadahon ef vate cantod
Lof finst_oder eaction
K 303 lag ta-77-
hnd or BAnd ardey
Submain
Dim choice oka int2ger
pyintt: lafist Order"_
rnt " Second Oxdey
Inpatlhat _ts your Chotce " Chetce
oxroRD Lt Chotce lhen
Aistader
Teacher's Signature
Expt.No. Page No./ 8
Date.
oXrORD Ma'n-
End Sw
Teacher's Signature
Expt.No. PageNo./ 9
Date./
Foy
npIatEntex tha time amd Corresponding ConemArotBon
ok ReoctantLpraluet tand C4
D t e -ct-
SS+k_
Nat T
oXrORD
Teacher's Signature.
t
Expt.No. Page No./ 70
Date./25.0-19
M r Operaton
MAL READ A- Read at aelement ek matrux A
YO-hSAarom_DATA SHafes ment
gmd
MATCEA+D = Add A oma_b elemertky elemen
a s siagnthesa Yalu to (The size ok ABon
Must_ loe Semu)
Teacher's Signature.
Expt.No. PageNo./
Date.
3
A 12113
789|
Date./1}u/19
MATRIX ADDITIONANR ULEIRact1O
Matrix adol tion and sibstrachíon_Can bepertormed using
MATmatrixi- matrix- +matrix-3
Thesiee ef all the hethree matrix shauld be Same.
Exampl a
MATX E AtD.
MATY= A-Y
MATA A+C
Th LepaOperahan o additfon or asubtracton_cs Ga CAYYed
Out le ment by ekment
xC1J) = A CII)+B(ID
FoY all Yalu of T ndJ Simulataneously the SubotyacHon
state met
y ACLI)-D(J)
FoY all Valu o{ 1 and 1
DIMX (3 ),¥ z (3,3), M3,3 N(3,3)
MATREAD XY_
MAT M:X+Yr
MATN 2X-Y-
MAT PRINT MN
DATA ,8,7,6,SS Y321) 2, 3,4,S 6, H8,
OXroRD
X
3 2 8
Theaddikion amd SubstractBon ak x ond Y aYe ContMEd
ont tha YelAant and tke vesukant matuk MandN ore
ted ao ollovos
MadreM
Matrex N
8 64
O2
y-b-8
OXrORD
Teacher's Signaturek
E x p t . N o .
Page No./ 14
Date./3 1. 19J
Maxix Multiplicai 2
Mullipliaation ok talo matnx_Can bedone using tha MAt
Command in_tollowlng_form
MAT matrix-1_E momix-2 *_matytx-3
NEXT
Tt s mporterat to mota fhovt stata man
MATC AX
MAT b* A .
Exauple
A Connpany_produce_Is typas of product and
Ptproduction for mant ecoved oo tolo
yze o producr 2 3 s
Produet_produuced1507
Cost O_each
PYOduct S005615 5
Ta 1teprogramme MAT Commanad to Calchlate
th total Cost ok the product dproouced oureng th
month
RBM* - PRoDUCT ATRX, C-CoST MATRIx **
REM ** T-ToTALCOST MATRIX*
DIMTCLD PCL IS),c(IS).
MAT READ P
MAT REA)E_
MAT T EPtC2
DXfORD DATA ISD, 13 21, 1.~3
OXFORD DATA 425 S00, 615-1AS
MAT PRINT T
Teacher's Signature
END
Expt.No.
Page No. 16
Date.22 ).19
(V)0
T S d srt pyoblem ts ell Kn0wn fn math Tt LS
a20no
h problen es indin2 root_o eguoioY Tn
Yal Cose s(V) Could lo an\ Aumei. Tmtt Some few
CagesCtinieo eqiaHOn 9uad YAtic e9uotOY) om Cnalyie
Ccubtc,uartic
SolN Can ka obtoin eoaOy (y Ta otkr
nalytte solN orR Known, but thay oce obBoin
to
ness yo ule. Amd i mast Caßeo haYa tS Nohalyic
SoR od all
in scienee-
Thts sot lanes 2uP_Qutie oqulor y
Ln soh k a e h s a t h e usally Koep YOu zom sein
4kallyThis s
equn hut Com't ke Solrsenaly
studarmbafalse Y eo
Ano7tunate eecoto A(tgivss VIRw
OXrORD , lh
ht Wht tdan When_ydu_doCome up a9airota
Iytic SalY 2 Ans
tno theyoot PTO blem with no useFull_ano
NUm bgriCal
w blI LmbAYtcal OpPMOximaH On-
Teacher's Signature
Expt.No.
PageNo./ 17
Date.
20O
P
Teacher's Signature.
Expt.No.
Page No./ 18
Date./
DY0gyoam
cneluada Ksido>,fh
tinchude atnaKmadhh
dloat RTP, Oo i
Sloat f CHeat
dloat df (Hloat a2
(a3)))
Ye turm C? - (a/powla2) )+ ((220*b)/paw
(nt main O_
Teacher's Signature . . .
Expt.No. Page No. 19
Date./
Wfvo)/df (vo).
V-va- h)
if (talay(n)Kedke l eTY)
rORD"
Teacher's Signature