28
CAS Calculators
Copy the code and test it out. Then try writing a program for a
problem in your class.
Define LibPub mohr(x,y,τ,β)=
Prgm
setMode(2,2)
setMode(5,2)
a:=((y+x)/(2))
r:=√((x-a)^(2)+τ^(2))
setMode(1,6)
-y))))/(2))
m:=a+r
n:=a-r
If α=±45 Then
θ:=45
Else
θ:=α
EndIf
φ:=θ+45
t:=r*sin(2*β-2*θ)
If x<y Then
-r*cos(2*β-2*θ)
-2*θ)
Else
-2*θ)
-r*cos(2*β-2*θ)
EndIf
Disp "σ max =",m," σ min =",n
Disp "σ ave =",a," τ max =",r
Disp "θp =",θ,"°"," θs =",φ,"°"
EndPrgm
Summary of Contents for nspire cx
Page 1: ...CAS Calculators Sean Surratt TECM 2700 July 3 2013 ...
Page 2: ......
Page 6: ......
Page 7: ...Basics TI nspire CX CAS 1 ...
Page 8: ......
Page 12: ......
Page 13: ...Symbolic Math ...
Page 14: ......
Page 18: ......
Page 19: ...Matrix Vector List Nspire Example IX ...
Page 20: ......
Page 24: ......
Page 25: ...Introduction to Programming Lua Programming Logo 1 ...
Page 26: ......