home *** CD-ROM | disk | FTP | other *** search
- (defun hdd90()
- (setvar "CMDECHO" 0)
- (command "vslide" "\\house1\\sld\\s752")
- (setq c 0)
- (setq c1 0)
- (while (and (/= c "s2") (/= c "S2"))
- (setq c1 (getint "\n╩Σ╚δ╝╞╦π╧ε <1-4>: "))
- (cond ((= c1 1) (jx21))
- ((= c1 2) (jx22))
- ((= c1 3) (jx23))
- ((= c1 4) (jx24))
- )
- (setq c (getstring "\n╝╠╨°╝╞╦π <c> ╗≥═╦│÷<s2>: "))
- )
- (check 'hdd75 "hdd75")
- )
- (defun jx21()
- (setq k1 0)
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq igxl (getreal "\nig.xl= "))
- (setq ud (getreal "\nud= "))
- (setq zll (getreal "\nzll= "))
- (setq kq (getreal "\nkq= "))
- (setq seb (getreal "\nseb= "))
- (setq sd (getreal "\nsd = "))
- (setq kh (getreal "\nkh = "))
- (setq nl (getreal "\nnl = "))
- (setq a26 (/ seb (* kq sd)))
- (setq a27 (+ ud zll a26))
- (setq igh (/ igxl a27))
- (setq idzj (/ (* kk (* kjx igh)) (* kh nl)))
- (setq km (getstring "\n╥¬╨ú╤Θ┴Θ├⌠╢╚┬≡?<y/n>: "))
- (setq a21 (getreal "\nid2(2).min= "))
- (if (or (= km "y") (= km "Y"))
- (progn (setq idz (/ (* idzj nl) kjx))
- (setq yu (/ a21 idz))
- (if (>= yu 1.5)
- (progn (setq k1 "yes")
- (setq q "km= ")
- (setq yu (strcat q (rtos yu 2 4)))
- (print yu)
- (print k1)
- )
- (print "no")
- )
- )
- )
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx22()
- (setq k1 0)
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq nl (getreal "\nnl= "))
- (setq a22 (getreal "\nid2(3).max= "))
- (setq idzj (/ (* kk (* kjx a22)) nl))
- (setq km (getstring "\n╥¬╨ú╤Θ┴Θ├⌠╢╚┬≡?<Y/N>: "))
- (if (or (= km "y") (= km "Y"))
- (progn (setq a23 (getreal "\nid1(2).min= "))
- (setq idz (/ (* idzj nl) kjx))
- (setq yu (/ a23 idz))
- (if (>= yu 2)
- (progn (setq k1 "yes")
- (print k1)
- (setq q "yu= ")
- (setq yu (strcat q (rtos yu 2 4)))
- (print yu)
- )
- (print "no")
- )
- )
- )
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx23()
- (setq k1 0)
- (setq kk (getreal "\nkk= "))
- (setq kjx (getreal "\nkjx= "))
- (setq a24 (getreal "\nid3(3).max= "))
- (setq nl (getreal "\nnl= "))
- (setq idzj (/ (* kk (* kjx a24)) nl))
- (setq km (getstring "\n╥¬╨ú╤Θ┴Θ├⌠╢╚┬≡?<Y/N>: "))
- (if (or (= km "y") (= km "Y"))
- (progn (setq a25 (getreal "\nid1(2).min= "))
- (setq idz (/ (* idz nl) kjx))
- (setq yu (/ a25 idz))
- (if (>= yu 2)
- (progn (setq k1 "yes")
- (print k1)
- (setq q "km= ")
- (setq yu (strcat q (rtos yu 2 4)))
- (print yu)
- )
- (print "no")
- )
- )
- )
- (setq q "idzj= ")
- (setq idzj (strcat q (rtos idzj 2 4)))
- (print idzj)
- )
- (defun jx24()
- (setq k1 0)
- (setq kk (getreal "\nkk= "))
- (setq icx (getreal "\nicx= "))
- (setq kdz (getreal "\nkdz= "))
- (setq ic (getreal "\nic= "))
- (setq z (* kk icx))
- (setq z1 (/ (- ic icx) 1.25))
- (if (and (>= kdz z) (<= kdz z1))
- (progn (setq k1 "yes")
- (print k1)
- )
- (print "no")
- )
- (setq q "kx.Icx=") (setq q1 "(Ic -Icx)/1.25=")
- (setq qz (strcat q (rtos z 2 4)))
- (setq qz1 (strcat q1 (rtos z1 2 4)))
- (print qz) (print qz1)
- )
- (hdd90)