15
Est. C.M. LIMBER C. 1 CALCULO DE RESIST 1 2 ,Dim c1, c2, c3, c4 As Double 3 .................................................. 4 Private Sub Combo1_Click() 5 If Combo1.Text = "Cafe" Then 6 Shape1.BackColor = &H4080& 7 c1 = 1 8 End If 9 If Combo1.Text = "Rojo" Then 10 Shape1.BackColor = vbRed 11 c1 = 2 12 End If 13 If Combo1.Text = "Naranja" Then 14 Shape1.BackColor = &H80FF& 15 c1 = 3 16 End If 17 If Combo1.Text = "Amarillo" Then 18 Shape1.BackColor = vbYellow 19 c1 = 4 20 End If 21 If Combo1.Text = "Verde" Then 22 Shape1.BackColor = vbGreen 23 c1 = 5 24 End If 25 If Combo1.Text = "Azul" Then 26 Shape1.BackColor = vbBlue 27 c1 = 6 28 End If 29 If Combo1.Text = "Violeta" Then 30 Shape1.BackColor = &HFF8080 31 c1 = 7 32 End If 33 If Combo1.Text = "Plomo" Then 34 Shape1.BackColor = &H808080 35 c1 = 8 36 End If 37 If Combo1.Text = "Blanco" Then 38 Shape1.BackColor = &HFFFFFF 39 c1 = 9 40 End If 41 Label5.Caption = (c1 * 10 + c2) * c3 & " +/- %" & c4 & " Ohm" 42 Label6.Caption = (c1 * 10 + c2) * c3 / 1000 & " +/- %" & c4 & " KOhm" 43 Label7.Caption = (c1 * 10 + c2) * c3 / 1000000 & " +/- %" & c4 & " MOhm" 44 End Sub 45 ............................................. 46 Private Sub Combo2_Click() 47 If Combo2.Text = "Negro" Then 48 Shape2.BackColor = vbBlack 49 c2 = 0 50 End If 51 If Combo2.Text = "Cafe" Then 52 Shape2.BackColor = &H4080& 53 c2 = 1 54 End If 55 If Combo2.Text = "Rojo" Then 56 Shape2.BackColor = vbRed 57 c2 = 2 58 End If 59 If Combo2.Text = "Naranja" Then 60 Shape2.BackColor = &H80FF& 61 c2 = 3 62 End If 63 If Combo2.Text = "Amarillo" Then 64 Shape2.BackColor = vbYellow 65 c2 = 4 66 End If 67 If Combo2.Text = "Verde" Then 68 Shape2.BackColor = vbGreen 69 c2 = 5 70 End If 71 If Combo2.Text = "Azul" Then 72 Shape2.BackColor = vbBlue 73 c2 = 6 74 End If 75 If Combo2.Text = "Violeta" Then 76 Shape2.BackColor = &HFF8080 77 c2 = 7 78 End If 79 If Combo2.Text = "Plomo" Then 80 Shape2.BackColor = &H808080 81 c2 = 8 82

Proy d PRO-300 d Limber

Embed Size (px)

DESCRIPTION

INF 300

Citation preview

  • Est. C.M. LIMBER C.

    1

    CALCULO DE RESIST 1

    2 ,Dim c1, c2, c3, c4 As Double 3

    .................................................. 4

    Private Sub Combo1_Click() 5

    If Combo1.Text = "Cafe" Then 6

    Shape1.BackColor = &H4080& 7

    c1 = 1 8

    End If 9

    If Combo1.Text = "Rojo" Then 10

    Shape1.BackColor = vbRed 11

    c1 = 2 12

    End If 13

    If Combo1.Text = "Naranja" Then 14

    Shape1.BackColor = &H80FF& 15

    c1 = 3 16

    End If 17

    If Combo1.Text = "Amarillo" Then 18

    Shape1.BackColor = vbYellow 19

    c1 = 4 20

    End If 21

    If Combo1.Text = "Verde" Then 22

    Shape1.BackColor = vbGreen 23

    c1 = 5 24

    End If 25

    If Combo1.Text = "Azul" Then 26

    Shape1.BackColor = vbBlue 27

    c1 = 6 28

    End If 29

    If Combo1.Text = "Violeta" Then 30

    Shape1.BackColor = &HFF8080 31

    c1 = 7 32

    End If 33

    If Combo1.Text = "Plomo" Then 34

    Shape1.BackColor = &H808080 35

    c1 = 8 36

    End If 37

    If Combo1.Text = "Blanco" Then 38

    Shape1.BackColor = &HFFFFFF 39

    c1 = 9 40

    End If 41

    Label5.Caption = (c1 * 10 + c2) * c3 & " +/- %" & c4 & " Ohm" 42

    Label6.Caption = (c1 * 10 + c2) * c3 / 1000 & " +/- %" & c4 & " KOhm" 43

    Label7.Caption = (c1 * 10 + c2) * c3 / 1000000 & " +/- %" & c4 & " MOhm" 44

    End Sub 45

    ............................................. 46

    Private Sub Combo2_Click() 47

    If Combo2.Text = "Negro" Then 48

    Shape2.BackColor = vbBlack 49

    c2 = 0 50

    End If 51

    If Combo2.Text = "Cafe" Then 52

    Shape2.BackColor = &H4080& 53

    c2 = 1 54

    End If 55

    If Combo2.Text = "Rojo" Then 56

    Shape2.BackColor = vbRed 57

    c2 = 2 58

    End If 59

    If Combo2.Text = "Naranja" Then 60

    Shape2.BackColor = &H80FF& 61

    c2 = 3 62

    End If 63

    If Combo2.Text = "Amarillo" Then 64

    Shape2.BackColor = vbYellow 65

    c2 = 4 66

    End If 67

    If Combo2.Text = "Verde" Then 68

    Shape2.BackColor = vbGreen 69

    c2 = 5 70

    End If 71

    If Combo2.Text = "Azul" Then 72

    Shape2.BackColor = vbBlue 73

    c2 = 6 74

    End If 75

    If Combo2.Text = "Violeta" Then 76

    Shape2.BackColor = &HFF8080 77

    c2 = 7 78

    End If 79

    If Combo2.Text = "Plomo" Then 80

    Shape2.BackColor = &H808080 81

    c2 = 8 82

  • Est. C.M. LIMBER C.

    2

    End If 83

    If Combo2.Text = "Blanco" Then 84

    Shape2.BackColor = &HFFFFFF 85

    c2 = 9 86

    End If 87

    Label5.Caption = (c1 * 10 + c2) * c3 & " +/- %" & c4 & " Ohm" 88

    Label6.Caption = (c1 * 10 + c2) * c3 / 1000 & " +/- %" & c4 & " KOhm" 89

    Label7.Caption = (c1 * 10 + c2) * c3 / 1000000 & " +/- %" & c4 & " MOhm" 90

    End Sub 91

    ..................................................... 92

    Private Sub Combo3_Click() 93

    If Combo3.Text = "Negro" Then 94

    Shape3.BackColor = vbBlack 95

    c3 = 1 96

    End If 97

    If Combo3.Text = "Cafe" Then 98

    Shape3.BackColor = &H4080& 99

    c3 = 10 100

    End If 101

    If Combo3.Text = "Rojo" Then 102

    Shape3.BackColor = vbRed 103

    c3 = 100 104

    End If 105

    If Combo3.Text = "Naranja" Then 106

    Shape3.BackColor = &H80FF& 107

    c3 = 1000 108

    End If 109

    If Combo3.Text = "Amarillo" Then 110

    Shape3.BackColor = vbYellow 111

    c3 = 10000 112

    End If 113

    If Combo3.Text = "Verde" Then 114

    Shape3.BackColor = vbGreen 115

    c3 = 10000 116

    End If 117

    If Combo3.Text = "Azul" Then 118

    Shape3.BackColor = vbBlue 119

    c3 = 1000000 120

    End If 121

    If Combo3.Text = "Plateado" Then 122

    Shape3.BackColor = &HC0C0C0 123

    c3 = 0.1 124

    End If 125

    If Combo3.Text = "Dorado" Then 126

    Shape3.BackColor = vbYellow 127

    c3 = 0.01 128

    End If 129

    Label5.Caption = (c1 * 10 + c2) * c3 & " +/- %" & c4 & " Ohm" 130

    Label6.Caption = (c1 * 10 + c2) * c3 / 1000 & " +/- %" & c4 & " KOhm" 131

    Label7.Caption = (c1 * 10 + c2) * c3 / 1000000 & " +/- %" & c4 & " MOhm" 132

    End Sub 133

    ...................................... 134

    135

    Private Sub Combo4_Click() 136

    If Combo4.Text = "Cafe" Then 137

    Shape4.BackColor = &H4080& 138

    c4 = 1 139

    End If 140

    If Combo4.Text = "Rojo" Then 141

    Shape4.BackColor = vbRed 142

    c4 = 2 143

    End If 144

    If Combo4.Text = "Plateado" Then 145

    Shape4.BackColor = &HC0C0C0 146

    c4 = 5 147

    End If 148

    If Combo4.Text = "Dorado" Then 149

    Shape4.BackColor = vbYellow 150

    c4 = 10 151

    End If 152

    If Combo4.Text = "Sin Franja" Then 153

    Shape4.BackColor = vbWhite 154

    c4 = 20 155

    End If 156

    Label5.Caption = (c1 * 10 + c2) * c3 & " +/- %" & c4 & " Ohm" 157

    Label6.Caption = (c1 * 10 + c2) * c3 / 1000 & " +/- %" & c4 & " KOhm" 158

    Label7.Caption = (c1 * 10 + c2) * c3 / 1000000 & " +/- %" & c4 & " MOhm" 159

    End Sub 160

    ........................... 161

    Private Sub Form_Load() 162

    Combo1.AddItem ("Cafe") 163

    Combo1.AddItem ("Rojo") 164

    Combo1.AddItem ("Naranja") 165

    Combo1.AddItem ("Amarillo") 166

    Combo1.AddItem ("Verde") 167

    Combo1.AddItem ("Azul") 168

    Combo1.AddItem ("Violeta") 169

    Combo1.AddItem ("Plomo") 170

    Combo1.AddItem ("Blanco") 171

    172

    173

    Combo2.AddItem ("Negro") 174

  • Est. C.M. LIMBER C.

    3

    Combo2.AddItem ("Cafe") 175

    Combo2.AddItem ("Rojo") 176

    Combo2.AddItem ("Naranja") 177

    Combo2.AddItem ("Amarillo") 178

    Combo2.AddItem ("Verde") 179

    Combo2.AddItem ("Azul") 180

    Combo2.AddItem ("Violeta") 181

    Combo2.AddItem ("Plomo") 182

    Combo2.AddItem ("Blanco") 183

    184

    Combo3.AddItem ("Negro") 185

    Combo3.AddItem ("Cafe") 186

    Combo3.AddItem ("Rojo") 187

    Combo3.AddItem ("Naranja") 188

    Combo3.AddItem ("Amarillo") 189

    Combo3.AddItem ("Verde") 190

    Combo3.AddItem ("Azul") 191

    Combo3.AddItem ("Plateado") 192

    Combo3.AddItem ("Dorado") 193

    194

    Combo4.AddItem ("Cafe") 195

    Combo4.AddItem ("Rojo") 196

    Combo4.AddItem ("Plateado") 197

    Combo4.AddItem ("Dorado") 198

    Combo4.AddItem ("Sin Franja") 199

    End Sub 200

    ././././././././././//./.././/./. 201

    BOBINS 202

    203 Dim var1, var2, var3, vt As Double 204

    ........................................ 205

    Private Sub combo1_Click() 206

    If (Combo1.Text = "Amarillo") Then 207

    shp1.BackColor = &HFFFF& 208

    var1 = 4 209

    End If 210

    211

    If (Combo1.Text = "Azul") Then 212

    Shape1.BackColor = &HFF0000 213

    var1 = 6 214

    End If 215

    216

    If (Combo1.Text = "Blanco") Then 217

    Shape1.BackColor = &HFFFFFF 218

    var1 = 9 219

    End If 220

    221

    If (Combo1.Text = "Marron") Then 222

    Shape1.BackColor = &H4080& 223

    var1 = 1 224

    End If 225

    226

    If (Combo1.Text = "Naranja") Then 227

    Shape1.BackColor = &H80FF& 228

    var1 = 3 229

    End If 230

    231

    If (Combo1.Text = "Negro") Then 232

    Shape1.BackColor = &H0& 233

    var1 = 0 234

    End If 235

    236

    If (Combo1.Text = "Plomo") Then 237

    Shape1.BackColor = &H808080 238

    var1 = 8 239

    End If 240

    241

    If (Combo1.Text = "Rojo") Then 242

    Shape1.BackColor = &HFF& 243

    var1 = 2 244

    End If 245

    246

    If (Combo1.Text = "Verde") Then 247

    Shape1.BackColor = &H8000& 248

    var1 = 5 249

    End If 250

    251

    If (Combo1.Text = "Violeta") Then 252

    Shape1.BackColor = &H800080 253

    var1 = 7 254

  • Est. C.M. LIMBER C.

    4

    End If 255

    256

    vt = ((var1 * 10) + var2) * (10 ^ var3) 257

    Label1.Caption = vt 258

    Label2.Caption = vt / 1000 259

    Label3.Caption = vt / 1000000 260

    261

    End Sub 262

    ....................................... 263

    Private Sub combo2_Click() 264

    If (Combo2.Text = "Amarillo") Then 265

    Shape2.BackColor = &HFFFF& 266

    var2 = 4 267

    End If 268

    269

    If (Combo2.Text = "Azul") Then 270

    Shape2.BackColor = &HFF0000 271

    var2 = 6 272

    End If 273

    274

    If (Combo2.Text = "Blanco") Then 275

    Shape2.BackColor = &HFFFFFF 276

    var2 = 9 277

    End If 278

    279

    If (Combo2.Text = "Marron") Then 280

    Shape2.BackColor = &H4080& 281

    var2 = 1 282

    End If 283

    284

    If (Combo2.Text = "Naranja") Then 285

    Shape2.BackColor = &H80FF& 286

    var2 = 3 287

    End If 288

    289

    If (Combo2.Text = "Negro") Then 290

    Shape2.BackColor = &H0& 291

    292

    var2 = 0 293

    End If 294

    295

    If (Combo2.Text = "Plomo") Then 296

    Shape2.BackColor = &H808080 297

    298

    var2 = 8 299

    End If 300

    301

    If (Combo2.Text = "Rojo") Then 302

    Shape2.BackColor = &HFF& 303

    var2 = 2 304

    End If 305

    306

    If (Combo2.Text = "Verde") Then 307

    Shape2.BackColor = &HC000& 308

    var2 = 5 309

    End If 310

    311

    If (Combo2.Text = "Violeta") Then 312

    Shape2.BackColor = &HC000C0 313

    var2 = 7 314

    End If 315

    316

    vt = ((var1 * 10) + var2) * (10 ^ var3) 317

    Label1.Caption = vt 318

    Label2.Caption = vt / 1000 319

    Label3.Caption = vt / 1000000 320

    321

    End Sub 322

    ...................................... 323

    Private Sub combo3_Click() 324

    325

    If (Combo3.Text = "Dorado") Then 326

    Shape3.BackColor = &HC0C0& 327

    var3 = -1 328

    End If 329

    330

    If (Combo3.Text = "Marron") Then 331

    Shape3.BackColor = &H4080& 332

    var3 = 1 333

    End If 334

    335

    If (Combo3.Text = "Naranja") Then 336

    Shape3.BackColor = &H80FF& 337

    var3 = 3 338

    End If 339

    340

    If (Combo3.Text = "Negro") Then 341

    Shape3.BackColor = &H0& 342

    var3 = 0 343

    End If 344

    345

    If (Combo3.Text = "Rojo") Then 346

  • Est. C.M. LIMBER C.

    5

    Shape3.BackColor = &HFF& 347

    var3 = 2 348

    End If 349

    350

    vt = ((var1 * 10) + var2) * (10 ^ var3) 351

    Label1.Caption = vt 352

    Label2.Caption = vt / 1000 353

    Label3.Caption = vt / 1000000 354

    355

    End Sub 356

    ........................................ 357

    Private Sub Form_Load() 358

    Combo1.AddItem ("Amarillo") 359

    Combo1.AddItem ("Azul") 360

    Combo1.AddItem ("Blanco") 361

    Combo1.AddItem ("Marron") 362

    Combo1.AddItem ("Naranja") 363

    Combo1.AddItem ("Negro") 364

    Combo1.AddItem ("Plomo") 365

    Combo1.AddItem ("Rojo") 366

    Combo1.AddItem ("Verde") 367

    Combo1.AddItem ("Violeta") 368

    369

    Combo2.AddItem ("Amarillo") 370

    Combo2.AddItem ("Azul") 371

    Combo2.AddItem ("Blanco") 372

    Combo2.AddItem ("Marron") 373

    Combo2.AddItem ("Naranja") 374

    Combo2.AddItem ("Negro") 375

    Combo2.AddItem ("Plomo") 376

    Combo2.AddItem ("Rojo") 377

    Combo2.AddItem ("Verde") 378

    Combo2.AddItem ("Violeta") 379

    380

    Combo3.AddItem ("Dorado") 381

    Combo3.AddItem ("Marron") 382

    Combo3.AddItem ("Naranja") 383

    Combo3.AddItem ("Negro") 384

    Combo3.AddItem ("Rojo") 385

    386

    End Sub 387

    ./././././././././././././././.././ 388

    CONDENSADR 389

    390 Dim var1, exp As Double 391

    Dim num As Integer 392

    ........................... 393

    Private Sub Combo1_Click() 394

    If (Combo1.Text = "F (Faradio)") Then 395

    exp = -12 396

    End If 397

    398

    If (Combo1.Text = "mF (mili Faradio)") Then 399

    exp = -9 400

    End If 401

    402

    If (Combo1.Text = "uF (micro Faradio)") Then 403

    exp = -6 404

    End If 405

    406

    If (Combo1.Text = "nF (nano Faradio)") Then 407

    exp = -3 408

    End If 409

    410

    If (Combo1.Text = "pF (pico Faradio)") Then 411

    exp = -3 412

    End If 413

    Label1.Caption = var1 * (10 ^ exp) 414

    End Sub 415

    ................................................... 416

    Private Sub Command1_Click() 417

    exp = Val(Text1.Text) 418

    var1 = exp Mod 10 419

    num = exp / 10 420

    var1 = num * (10 ^ var1) 421

    422

  • Est. C.M. LIMBER C.

    6

    If (Combo1.Text = "F (Faradio)") Then 423

    Label1.Caption = var1 * (10 ^ -12) 424

    End If 425

    426

    427

    If (Combo1.Text = "mF (mili Faradio) (10^-3 F)") Then 428

    Label1.Caption = var1 * (10 ^ -9) 429

    End If 430

    431

    If (Combo1.Text = "uF (micro Faradio)(10^-6 F)") Then 432

    Label1.Caption = var1 * (10 ^ -6) 433

    End If 434

    435

    If (Combo1.Text = "nf (nano Faradio)(10 ^ -9 F)") Then 436

    Label1.Caption = var1 * (10 ^ -3) 437

    End If 438

    439

    If (Combo1.Text = "pF (pico Faradio) (10^-12 F)") Then 440

    Label1.Caption = var1 441

    End If 442

    End Sub 443

    ........................................ 444

    Private Sub Form_Load() 445

    Combo1.AddItem ("F (Faradio)") 446

    Combo1.AddItem ("mF (mili Faradio) (10^-3 F)") 447

    Combo1.AddItem ("uF (micro Faradio)(10^-6 F)") 448

    Combo1.AddItem ("nf (nano Faradio)(10 ^ -9 F)") 449

    Combo1.AddItem ("pF (pico Faradio) (10^-12 F)") 450

    End Sub 451

    ./././././././././././.././. 452

    MAPA K d 3var 453

    454 Dim s As Integer 455

    Dim v(64) As Integer 456

    ............................................. 457

    Private Sub c2_Click(Index As Integer) 458

    If c2(Index).Caption = "0" Then 459

    c2(Index).Caption = "1" 460

    v(Index) = 1 461

    Else 462

    c2(Index).Caption = 0 463

    v(Index) = 0 464

    End If 465

    End Sub 466

    ............................................. 467

    Private Sub Command1_Click() 468

    s = 0 469

    For i = 0 To 64 470

    s = s + 2 ^ i * v(i) 471

    Next i 472

    Select Case (s) 473

    Case 0: Text1.Text = "0" 474

    Case 1: Text1.Text = "A'B'C'" 475

    Case 2: Text1.Text = "A'B'C" 476

    Case 3: Text1.Text = "A'B'" 477

    Case 4: Text1.Text = "A'BC" 478

    Case 5: Text1.Text = "A'B'C'+A'BC" 479

    Case 6: Text1.Text = "A'C" 480

    Case 7: Text1.Text = "A'B'+A'C" 481

    Case 8: Text1.Text = "A'BC'" 482

    Case 9: Text1.Text = "A'C'" 483

    Case 10: Text1.Text = "A'B'C+A'BC'" 484

    Case 11: Text1.Text = "A'B'+A'C'" 485

    Case 12: Text1.Text = "A'B" 486

    Case 13: Text1.Text = "A'B+A'C'" 487

    Case 14: Text1.Text = "A'B+A'C" 488

    Case 15: Text1.Text = "A'" 489

    Case 16: Text1.Text = "AB'C'" 490

    Case 17: Text1.Text = "B'C'" 491

    Case 18: Text1.Text = "A'B'C+AB'C'" 492

    Case 19: Text1.Text = "A'B'+B'C'" 493

    Case 20: Text1.Text = "A'BC+AB'C'" 494

    Case 21: Text1.Text = "A'BC+B'C'" 495

    Case 22: Text1.Text = "A'C+AB'C'" 496

    Case 23: Text1.Text = "A'C+B'C'" 497

    Case 24: Text1.Text = "A'BC'+AB'C'" 498

    Case 25: Text1.Text = "A'C'+B'C'" 499

    Case 26: Text1.Text = "A'B'C+A'BC'+AB'C'" 500

    Case 27: Text1.Text = "A'B'+A'C'+B'C'" 501

    Case 28: Text1.Text = "A'B+AB'C'" 502

    Case 29: Text1.Text = "A'B+B'C'" 503

    Case 30: Text1.Text = "A'B+A'C+AB'C'" 504

    Case 31: Text1.Text = "A'+B'C'" 505

  • Est. C.M. LIMBER C.

    7

    Case 32: Text1.Text = "AB'C" 506

    Case 33: Text1.Text = "A'B'C'+AB'C" 507

    Case 34: Text1.Text = "B'C" 508

    Case 35: Text1.Text = "A'B'+B'C" 509

    Case 36: Text1.Text = "A'BC+AB'C" 510

    Case 37: Text1.Text = "A'B'C'+A'BC+AB'C" 511

    Case 38: Text1.Text = "A'C+B'C" 512

    Case 39: Text1.Text = "A'B'+A'C+B'C" 513

    Case 40: Text1.Text = "A'BC'+AB'C" 514

    Case 41: Text1.Text = "A'C'+AB'C" 515

    Case 42: Text1.Text = "A'BC'+B'C" 516

    Case 43: Text1.Text = "A'C'+B'C" 517

    Case 44: Text1.Text = "A'B+AB'C" 518

    Case 45: Text1.Text = "A'B+A'C'+AB'C" 519

    Case 46: Text1.Text = "A'B+B'C" 520

    Case 47: Text1.Text = "A'+B'C" 521

    Case 48: Text1.Text = "AB'" 522

    Case 49: Text1.Text = "AB'+B'C'" 523

    Case 50: Text1.Text = "AB'+B'C" 524

    Case 51: Text1.Text = "B'" 525

    Case 52: Text1.Text = "A'BC+AB'" 526

    Case 53: Text1.Text = "A'BC+AB'+B'C'" 527

    Case 54: Text1.Text = "A'C+AB'" 528

    Case 55: Text1.Text = "A'C+B'" 529

    Case 56: Text1.Text = "A'BC'+AB'" 530

    Case 57: Text1.Text = "A'C'+AB'" 531

    Case 58: Text1.Text = "A'BC'+AB'+B'C" 532

    Case 59: Text1.Text = "A'C'+B'" 533

    Case 60: Text1.Text = "A'B+AB'" 534

    Case 61: Text1.Text = "A'B+A'C'+AB'" 535

    Case 62: Text1.Text = "A'B+A'C+AB'" 536

    Case 63: Text1.Text = "A'B'" 537

    Case 64: Text1.Text = "ABC" 538

    Case 65: Text1.Text = "A'B'C'+ABC" 539

    Case 66: Text1.Text = "A'B'C+ABC" 540

    Case 67: Text1.Text = "A'B'+ABC" 541

    Case 68: Text1.Text = "BC" 542

    Case 69: Text1.Text = "A'B'C'+BC" 543

    Case 70: Text1.Text = "A'C+BC" 544

    Case 71: Text1.Text = "A'B'+BC" 545

    Case 72: Text1.Text = "A'BC'+ABC" 546

    Case 73: Text1.Text = "A'C'+ABC" 547

    Case 74: Text1.Text = "A'B'C+A'BC'+ABC" 548

    Case 75: Text1.Text = "A'B'+A'C'+ABC" 549

    Case 76: Text1.Text = "A'B+BC" 550

    Case 77: Text1.Text = "A'C'+BC" 551

    Case 78: Text1.Text = "A'B+A'C+BC" 552

    Case 79: Text1.Text = "A'+BC" 553

    Case 80: Text1.Text = "AB'C'+ABC" 554

    Case 81: Text1.Text = "ABC+B'C'" 555

    Case 82: Text1.Text = "A'B'C+AB'C'+ABC" 556

    Case 83: Text1.Text = "A'B'+ABC+B'C'" 557

    Case 84: Text1.Text = "AB'C'+BC" 558

    Case 85: Text1.Text = "B'C'+BC" 559

    Case 86: Text1.Text = "A'C+AB'C'+BC" 560

    Case 87: Text1.Text = "A'C+B'C'+BC" 561

    Case 88: Text1.Text = "A'BC'+AB'C'+ABC" 562

    Case 89: Text1.Text = "A'C'+ABC+B'C'" 563

    Case 90: Text1.Text = "A'B'C+A'BC'+AB'C'+ABC" 564

    Case 91: Text1.Text = "A'B'+A'C'+ABC+B'C'" 565

    Case 92: Text1.Text = "A'B+AB'C'+BC" 566

    Case 93: Text1.Text = "A'B+B'C'+BC" 567

    Case 94: Text1.Text = "A'B+A'C+AB'C'+BC" 568

    Case 95: Text1.Text = "A'+B'C'+BC" 569

    Case 96: Text1.Text = "AC" 570

    Case 97: Text1.Text = "A'B'C'+AC" 571

    Case 98: Text1.Text = "AC+B'C" 572

    Case 99: Text1.Text = "A'B'+AC" 573

    Case 100: Text1.Text = "AC+BC" 574

    Case 101: Text1.Text = "A'B'C'+AC+BC" 575

    Case 102: Text1.Text = "C" 576

    Case 103: Text1.Text = "A'B'+C" 577

    Case 104: Text1.Text = "A'BC'+AC" 578

    Case 105: Text1.Text = "A'C'+AC" 579

    Case 106: Text1.Text = "A'BC'+AC+B'C" 580

    Case 107: Text1.Text = "A'C'+AC+B'C" 581

    Case 108: Text1.Text = "A'B+AC" 582

    Case 109: Text1.Text = "A'C'+AC+BC" 583

    Case 110: Text1.Text = "A'B+C" 584

    Case 111: Text1.Text = "A'B+C" 585

    Case 112: Text1.Text = "AB'+AC" 586

    Case 113: Text1.Text = "AC+B'C'" 587

    Case 114: Text1.Text = "AB'+AC+B'C" 588

    Case 115: Text1.Text = "AC+B'" 589

    Case 116: Text1.Text = "AB'+BC" 590

    Case 117: Text1.Text = "AC+B'C'+BC" 591

    Case 118: Text1.Text = "AB'+C" 592

    Case 119: Text1.Text = "B'+C" 593

    Case 120: Text1.Text = "A'BC'+AB'+AC" 594

    Case 121: Text1.Text = "A'C'+AB'+AC" 595

    Case 122: Text1.Text = "A'BC'+AB'+AC+B'C" 596

    Case 123: Text1.Text = "A'C'+AC+B'" 597

  • Est. C.M. LIMBER C.

    8

    Case 124: Text1.Text = "A'B+AB'+BC" 598

    Case 125: Text1.Text = "A'B+AC+B'C'" 599

    Case 126: Text1.Text = "A'B+AB'+C" 600

    Case 127: Text1.Text = "A'+B'+C" 601

    Case 128: Text1.Text = "ABC'" 602

    Case 129: Text1.Text = "A'B'C'+ABC'" 603

    Case 130: Text1.Text = "A'B'C+ABC'" 604

    Case 131: Text1.Text = "A'B'+ABC'" 605

    Case 132: Text1.Text = "A'BC+ABC'" 606

    Case 133: Text1.Text = "A'B'C'+A'BC+ABC'" 607

    Case 134: Text1.Text = "A'C+ABC'" 608

    Case 135: Text1.Text = "A'B'+A'C+ABC'" 609

    Case 136: Text1.Text = "BC'" 610

    Case 137: Text1.Text = "A'C'+BC'" 611

    Case 138: Text1.Text = "A'B'C+BC'" 612

    Case 139: Text1.Text = "A'B'+BC'" 613

    Case 140: Text1.Text = "A'B+BC'" 614

    Case 141: Text1.Text = "A'B+A'C'+BC'" 615

    Case 142: Text1.Text = "A'C+BC'" 616

    Case 143: Text1.Text = "A'+BC'" 617

    Case 144: Text1.Text = "A'+BC'" 618

    Case 145: Text1.Text = "AC'+B'C'" 619

    Case 146: Text1.Text = "A'B'C+AC'" 620

    Case 147: Text1.Text = "A'B'AC'" 621

    Case 148: Text1.Text = "A'BC+AC'" 622

    Case 149: Text1.Text = "A'BC+AC'+B'C'" 623

    Case 150: Text1.Text = "A'C+AC'" 624

    Case 151: Text1.Text = "A'B'+A'C+AC'" 625

    Case 152: Text1.Text = "AC'+BC'" 626

    Case 153: Text1.Text = "C'" 627

    Case 154: Text1.Text = "A'B'C+AC'+BC'" 628

    Case 155: Text1.Text = "A'B'+C'" 629

    Case 156: Text1.Text = "A'B+AC'" 630

    Case 157: Text1.Text = "A'B+C'" 631

    Case 158: Text1.Text = "A'B+A'C+AC'" 632

    Case 159: Text1.Text = "A'+C'" 633

    Case 160: Text1.Text = "AB'C+ABC'" 634

    Case 161: Text1.Text = "A'B'C'+AB'C+ABC'" 635

    Case 162: Text1.Text = "ABC'+B'C" 636

    Case 163: Text1.Text = "A'B'+ABC'+B'C" 637

    Case 164: Text1.Text = "A'BC+AB'C+ABC'" 638

    Case 165: Text1.Text = "A'B'C'+A'BC+AB'C+ABC'" 639

    Case 166: Text1.Text = "A'C+ABC'+B'C" 640

    Case 167: Text1.Text = "A'B'+A'C+ABC'+B'C" 641

    Case 168: Text1.Text = "AB'C+BC'" 642

    Case 169: Text1.Text = "A'C'+AB'C+BC'" 643

    Case 170: Text1.Text = "B'C+BC'" 644

    Case 171: Text1.Text = "A'B'+B'C+BC'" 645

    Case 172: Text1.Text = "A'B+AB'C+BC'" 646

    Case 173: Text1.Text = "A'B+A'C'+AB'C+BC'" 647

    Case 174: Text1.Text = "A'C+B'C+BC'" 648

    Case 175: Text1.Text = "A'+B'C+BC'" 649

    Case 176: Text1.Text = "AB'+AC'" 650

    Case 177: Text1.Text = "AB'+AC'+B'C'" 651

    Case 178: Text1.Text = "AC'+B'C" 652

    Case 179: Text1.Text = "AC'+B'" 653

    Case 180: Text1.Text = "A'BC+AB'+AC'" 654

    Case 181: Text1.Text = "A'BC+AB'+AC'+B'C'" 655

    Case 182: Text1.Text = "A'C+AC'+B'C" 656

    Case 183: Text1.Text = "A'C+AC'+B'" 657

    Case 184: Text1.Text = "AB'+BC'" 658

    Case 185: Text1.Text = "AB'+C'" 659

    Case 186: Text1.Text = "AB'+B'C+BC'" 660

    Case 187: Text1.Text = "B'+C'" 661

    Case 188: Text1.Text = "A'B+AB'+BC'" 662

    Case 189: Text1.Text = "A'B+AB'+C'" 663

    Case 190: Text1.Text = "A'C+AB'+BC'" 664

    Case 191: Text1.Text = "A'+B'+C'" 665

    Case 192: Text1.Text = "AB" 666

    Case 193: Text1.Text = "A'B'C'+AB" 667

    Case 194: Text1.Text = "A'B'C+AB" 668

    Case 195: Text1.Text = "A'B'+AB" 669

    Case 196: Text1.Text = "AB+BC" 670

    Case 197: Text1.Text = "A'B'C'+AB+BC" 671

    Case 198: Text1.Text = "A'C+AB" 672

    Case 199: Text1.Text = "A'B'+AB+BC" 673

    Case 200: Text1.Text = "AB+BC'" 674

    Case 201: Text1.Text = "A'C'+AB" 675

    Case 202: Text1.Text = "A'B'C+AB+BC'" 676

    Case 203: Text1.Text = "A'B'+AB+BC'" 677

    Case 204: Text1.Text = "B" 678

    Case 205: Text1.Text = "A'C'+B" 679

    Case 206: Text1.Text = "A'C+B" 680

    Case 207: Text1.Text = "A'+B" 681

    Case 208: Text1.Text = "AB+AC'" 682

    Case 209: Text1.Text = "AB+B'C'" 683

    Case 210: Text1.Text = "A'B'C+AB+AC'" 684

    Case 211: Text1.Text = "A'B'+AB+AC'" 685

    Case 212: Text1.Text = "AC'+BC" 686

    Case 213: Text1.Text = "AB+B'C'+BC" 687

    Case 214: Text1.Text = "A'C+AC'+BC" 688

    Case 215: Text1.Text = "A'B'+AC'+BC" 689

  • Est. C.M. LIMBER C.

    9

    Case 216: Text1.Text = "AB+AC'+BC'" 690

    Case 217: Text1.Text = "AB+C'" 691

    Case 218: Text1.Text = "A'B'C+AB+AC'+BC'" 692

    Case 219: Text1.Text = "A'B'+AB+C'" 693

    Case 220: Text1.Text = "AC'+B" 694

    Case 221: Text1.Text = "B+C'" 695

    Case 222: Text1.Text = "A'C+AC'+B" 696

    Case 223: Text1.Text = "A'+B+C'" 697

    Case 224: Text1.Text = "AB+BC" 698

    Case 225: Text1.Text = "A'B'C'+AB+AC" 699

    Case 226: Text1.Text = "AB+B'C" 700

    Case 227: Text1.Text = "A'B'+AB+AC" 701

    Case 228: Text1.Text = "AB+AC+BC" 702

    Case 229: Text1.Text = "A'B'C'+AB+AC+BC" 703

    Case 230: Text1.Text = "AB+C" 704

    Case 231: Text1.Text = "A'B'+AB+C" 705

    Case 232: Text1.Text = "AC+BC'" 706

    Case 233: Text1.Text = "A'C'+AB+AC" 707

    Case 234: Text1.Text = "AC+B'C+BC'" 708

    Case 235: Text1.Text = "A'B'+AC+BC'" 709

    Case 236: Text1.Text = "AC+B" 710

    Case 237: Text1.Text = "A'C'+AC+B" 711

    Case 238: Text1.Text = "B+C" 712

    Case 239: Text1.Text = "A'+B+C" 713

    Case 240: Text1.Text = "A" 714

    Case 241: Text1.Text = "A+B'C'" 715

    Case 242: Text1.Text = "A+B'C" 716

    Case 243: Text1.Text = "A+B'" 717

    Case 244: Text1.Text = "A+BC" 718

    Case 245: Text1.Text = "A+B'C'+BC" 719

    Case 246: Text1.Text = "A+C" 720

    Case 247: Text1.Text = "A+B'+C" 721

    Case 248: Text1.Text = "A+BC'" 722

    Case 249: Text1.Text = "A+C'" 723

    Case 250: Text1.Text = "A+B'C+BC'" 724

    Case 251: Text1.Text = "A+B'+C'" 725

    Case 252: Text1.Text = "A+B" 726

    Case 253: Text1.Text = "A+B+C'" 727

    Case 254: Text1.Text = "A+B+C" 728

    Case 255: Text1.Text = "1" 729

    730

    End Select 731

    End Sub 732

    733

    Private Sub Command2_Click() 734

    Select Case (s) 735

    Case 0: Image1.Picture = 736

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 737

    imagenes\cir0.jpg") 738

    Case 1: Image1.Picture = LoadPicture("C:\Users\ger\Desktop\mapak\logic 739

    minimizer 3 imagenes\cir1.jpg") 740

    Case 2: Image1.Picture = 741

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 742

    imagenes\cir2.jpg") 743

    Case 3: Image1.Picture = 744

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 745

    imagenescir3.jpg") 746

    Case 4: Image1.Picture = 747

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 748

    imagenes\cir4.jpg") 749

    Case 5: Image1.Picture = 750

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 751

    imagenes\cir5.jpg") 752

    Case 6: Image1.Picture = 753

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 754

    imagenes\cir6.jpg") 755

    Case 7: Image1.Picture = 756

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 757

    imagenes\cir7.jpg") 758

    Case 8: Image1.Picture = 759

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 760

    imagenes\cir8.jpg") 761

    Case 9: Image1.Picture = 762

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 763

    imagenes\cir9.jpg") 764

    Case 10: Image1.Picture = 765

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 766

    imagenes\cir10.jpg") 767

    Case 16: Image1.Picture = 768

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 769

    imagenes\cir16.jpg") 770

    Case 32: Image1.Picture = 771

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 772

    imagenes\cir32.jpg") 773

    Case 64: Image1.Picture = 774

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 775

    imagenes\cir64.jpg") 776

    Case 128: Image1.Picture = 777

    LoadPicture("C:\Users\ger\Desktop\mapak\logic minimizer 3 778

    imagenes\cir128.jpg") 779

    End Select 780

    End Sub 781

  • Est. C.M. LIMBER C.

    10

    ................................................. 782

    Private Sub Form_Load() 783

    Combo1.AddItem ("3") 784

    For i = 0 To 63 785

    v(i) = 0 786

    Next i 787

    End Sub 788

    ././././././././././././././././ 789

    MAPAS K pra 1,2y3var 790

    791 Dim v(64) As Integer 792

    Dim s As Integer 793

    ......................................................... 794

    Private Sub C1_Click(Index As Integer) 795

    If C1(Index).Caption = "1" Then 796

    C1(Index).Caption = "0" 797

    v(Index) = 0 798

    Else 799

    C1(Index).Caption = "1" 800

    v(Index) = 1 801

    End If 802

    End Sub 803

    ........................................................ 804

    Private Sub C2_Click(Index As Integer) 805

    If C2(Index).Caption = "0" Then 806

    C2(Index).Caption = "1" 807

    v(Index) = 1 808

    Else 809

    810

    C2(Index).Caption = "0" 811

    v(Index) = 0 812

    End If 813

    End Sub 814

    ................................................... 815

    Private Sub C3_Click(Index As Integer) 816

    If C3(Index).Caption = "1" Then 817

    C3(Index).Caption = "0" 818

    v(Index) = 0 819

    Else 820

    821

    C3(Index).Caption = "1" 822

    v(Index) = 1 823

    End If 824

    End Sub 825

    ............................................ 826

    Private Sub Combo1_Click() 827

    If Combo1.Text = 2 Then 828

    For i = 0 To 3 829

    C1(i).Visible = True 830

    Next i 831

    For i = 0 To 7 832

    C2(i).Visible = False 833

    Next i 834

    For i = 0 To 15 835

    C3(i).Visible = False 836

    Next i 837

    End If 838

    839

    If Combo1.Text = 3 Then 840

    For i = 0 To 3 841

    C1(i).Visible = False 842

    Next i 843

    For i = 0 To 7 844

    C2(i).Visible = True 845

    Next i 846

    For i = 0 To 15 847

    C3(i).Visible = False 848

    Next i 849

    End If 850

    851

    If Combo1.Text = 4 Then 852

    For i = 0 To 3 853

    C1(i).Visible = False 854

    Next i 855

    For i = 0 To 7 856

    C2(i).Visible = False 857

    Next i 858

    For i = 0 To 15 859

    C3(i).Visible = True 860

    Next i 861

    End If 862

  • Est. C.M. LIMBER C.

    11

    End Sub 863

    ............................................. 864

    Private Sub Command1_Click() 865

    s = 0 866

    For i = 0 To 64 867

    s = s + 2 ^ i * v(i) 868

    Next i 869

    Select Case (s) 870

    Case 0: Text1.Text = "0" 871

    Case 1: Text1.Text = "A'B'C'" 872

    Case 2: Text1.Text = "A'B'C" 873

    Case 3: Text1.Text = "A'B'" 874

    Case 4: Text1.Text = "A'BC" 875

    Case 5: Text1.Text = "A'B'C'+A'BC" 876

    Case 6: Text1.Text = "A'C" 877

    Case 7: Text1.Text = "A'B'+A'C" 878

    Case 8: Text1.Text = "A'BC'" 879

    Case 9: Text1.Text = "A'C'" 880

    Case 10: Text1.Text = "A'B'C+A'BC'" 881

    Case 11: Text1.Text = "A'B'+A'C'" 882

    Case 12: Text1.Text = "A'B" 883

    Case 13: Text1.Text = "A'B+A'C'" 884

    Case 14: Text1.Text = "A'B+A'C" 885

    Case 15: Text1.Text = "A'" 886

    Case 16: Text1.Text = "AB'C'" 887

    Case 17: Text1.Text = "B'C'" 888

    Case 18: Text1.Text = "A'B'C+AB'C'" 889

    Case 19: Text1.Text = "A'B'+B'C'" 890

    Case 20: Text1.Text = "A'BC+AB'C'" 891

    Case 21: Text1.Text = "A'BC+B'C'" 892

    Case 22: Text1.Text = "A'C+AB'C'" 893

    Case 23: Text1.Text = "A'C+B'C'" 894

    Case 24: Text1.Text = "A'BC'+AB'C'" 895

    Case 25: Text1.Text = "A'C'+B'C'" 896

    Case 26: Text1.Text = "A'B'C+A'BC'+AB'C'" 897

    Case 27: Text1.Text = "A'B'+A'C'+B'C'" 898

    Case 28: Text1.Text = "A'B+AB'C'" 899

    Case 29: Text1.Text = "A'B+B'C'" 900

    Case 30: Text1.Text = "A'B+A'C+AB'C'" 901

    Case 31: Text1.Text = "A'+B'C'" 902

    Case 32: Text1.Text = "AB'C" 903

    Case 33: Text1.Text = "A'B'C'+AB'C" 904

    Case 34: Text1.Text = "B'C" 905

    Case 35: Text1.Text = "A'B'+B'C" 906

    Case 36: Text1.Text = "A'BC+AB'C" 907

    Case 37: Text1.Text = "A'B'C'+A'BC+AB'C" 908

    Case 38: Text1.Text = "A'C+B'C" 909

    Case 39: Text1.Text = "A'B'+A'C+B'C" 910

    Case 40: Text1.Text = "A'BC'+AB'C" 911

    Case 41: Text1.Text = "A'C'+AB'C" 912

    Case 42: Text1.Text = "A'BC'+B'C" 913

    Case 43: Text1.Text = "A'C'+B'C" 914

    Case 44: Text1.Text = "A'B+AB'C" 915

    Case 45: Text1.Text = "A'B+A'C'+AB'C" 916

    Case 46: Text1.Text = "A'B+B'C" 917

    Case 47: Text1.Text = "A'+B'C" 918

    Case 48: Text1.Text = "AB'" 919

    Case 49: Text1.Text = "AB'+B'C'" 920

    Case 50: Text1.Text = "AB'+B'C" 921

    Case 51: Text1.Text = "B'" 922

    Case 52: Text1.Text = "A'BC+AB'" 923

    Case 53: Text1.Text = "A'BC+AB'+B'C'" 924

    Case 54: Text1.Text = "A'C+AB'" 925

    Case 55: Text1.Text = "A'C+B'" 926

    Case 56: Text1.Text = "A'BC'+AB'" 927

    Case 57: Text1.Text = "A'C'+AB'" 928

    Case 58: Text1.Text = "A'BC'+AB'+B'C" 929

    Case 59: Text1.Text = "A'C'+B'" 930

    Case 60: Text1.Text = "A'B+AB'" 931

    Case 61: Text1.Text = "A'B+A'C'+AB'" 932

    Case 62: Text1.Text = "A'B+A'C+AB'" 933

    Case 63: Text1.Text = "A'B'" 934

    Case 64: Text1.Text = "ABC" 935

    Case 65: Text1.Text = "A'B'C'+ABC" 936

    Case 66: Text1.Text = "A'B'C+ABC" 937

    Case 67: Text1.Text = "A'B'+ABC" 938

    Case 68: Text1.Text = "BC" 939

    Case 69: Text1.Text = "A'B'C'+BC" 940

    Case 70: Text1.Text = "A'C+BC" 941

    Case 71: Text1.Text = "A'B'+BC" 942

    Case 72: Text1.Text = "A'BC'+ABC" 943

    Case 73: Text1.Text = "A'C'+ABC" 944

    Case 74: Text1.Text = "A'B'C+A'BC'+ABC" 945

    Case 75: Text1.Text = "A'B'+A'C'+ABC" 946

    Case 76: Text1.Text = "A'B+BC" 947

    Case 77: Text1.Text = "A'C'+BC" 948

    Case 78: Text1.Text = "A'B+A'C+BC" 949

    Case 79: Text1.Text = "A'+BC" 950

    Case 80: Text1.Text = "AB'C'+ABC" 951

    Case 81: Text1.Text = "ABC+B'C'" 952

    Case 82: Text1.Text = "A'B'C+AB'C'+ABC" 953

    Case 83: Text1.Text = "A'B'+ABC+B'C'" 954

  • Est. C.M. LIMBER C.

    12

    Case 84: Text1.Text = "AB'C'+BC" 955

    Case 85: Text1.Text = "B'C'+BC" 956

    Case 86: Text1.Text = "A'C+AB'C'+BC" 957

    Case 87: Text1.Text = "A'C+B'C'+BC" 958

    Case 88: Text1.Text = "A'BC'+AB'C'+ABC" 959

    Case 89: Text1.Text = "A'C'+ABC+B'C'" 960

    Case 90: Text1.Text = "A'B'C+A'BC'+AB'C'+ABC" 961

    Case 91: Text1.Text = "A'B'+A'C'+ABC+B'C'" 962

    Case 92: Text1.Text = "A'B+AB'C'+BC" 963

    Case 93: Text1.Text = "A'B+B'C'+BC" 964

    Case 94: Text1.Text = "A'B+A'C+AB'C'+BC" 965

    Case 95: Text1.Text = "A'+B'C'+BC" 966

    Case 96: Text1.Text = "AC" 967

    Case 97: Text1.Text = "A'B'C'+AC" 968

    Case 98: Text1.Text = "AC+B'C" 969

    Case 99: Text1.Text = "A'B'+AC" 970

    Case 100: Text1.Text = "AC+BC" 971

    Case 101: Text1.Text = "A'B'C'+AC+BC" 972

    Case 102: Text1.Text = "C" 973

    Case 103: Text1.Text = "A'B'+C" 974

    Case 104: Text1.Text = "A'BC'+AC" 975

    Case 105: Text1.Text = "A'C'+AC" 976

    Case 106: Text1.Text = "A'BC'+AC+B'C" 977

    Case 107: Text1.Text = "A'C'+AC+B'C" 978

    Case 108: Text1.Text = "A'B+AC" 979

    Case 109: Text1.Text = "A'C'+AC+BC" 980

    Case 110: Text1.Text = "A'B+C" 981

    Case 111: Text1.Text = "A'B+C" 982

    Case 112: Text1.Text = "AB'+AC" 983

    Case 113: Text1.Text = "AC+B'C'" 984

    Case 114: Text1.Text = "AB'+AC+B'C" 985

    Case 115: Text1.Text = "AC+B'" 986

    Case 116: Text1.Text = "AB'+BC" 987

    Case 117: Text1.Text = "AC+B'C'+BC" 988

    Case 118: Text1.Text = "AB'+C" 989

    Case 119: Text1.Text = "B'+C" 990

    Case 120: Text1.Text = "A'BC'+AB'+AC" 991

    Case 121: Text1.Text = "A'C'+AB'+AC" 992

    Case 122: Text1.Text = "A'BC'+AB'+AC+B'C" 993

    Case 123: Text1.Text = "A'C'+AC+B'" 994

    Case 124: Text1.Text = "A'B+AB'+BC" 995

    Case 125: Text1.Text = "A'B+AC+B'C'" 996

    Case 126: Text1.Text = "A'B+AB'+C" 997

    Case 127: Text1.Text = "A'+B'+C" 998

    Case 128: Text1.Text = "ABC'" 999

    Case 129: Text1.Text = "A'B'C'+ABC'" 1000

    Case 130: Text1.Text = "A'B'C+ABC'" 1001

    Case 131: Text1.Text = "A'B'+ABC'" 1002

    Case 132: Text1.Text = "A'BC+ABC'" 1003

    Case 133: Text1.Text = "A'B'C'+A'BC+ABC'" 1004

    Case 134: Text1.Text = "A'C+ABC'" 1005

    Case 135: Text1.Text = "A'B'+A'C+ABC'" 1006

    Case 136: Text1.Text = "BC'" 1007

    Case 137: Text1.Text = "A'C'+BC'" 1008

    Case 138: Text1.Text = "A'B'C+BC'" 1009

    Case 139: Text1.Text = "A'B'+BC'" 1010

    Case 140: Text1.Text = "A'B+BC'" 1011

    Case 141: Text1.Text = "A'B+A'C'+BC'" 1012

    Case 142: Text1.Text = "A'C+BC'" 1013

    Case 143: Text1.Text = "A'+BC'" 1014

    Case 144: Text1.Text = "A'+BC'" 1015

    Case 145: Text1.Text = "AC'+B'C'" 1016

    Case 146: Text1.Text = "A'B'C+AC'" 1017

    Case 147: Text1.Text = "A'B'AC'" 1018

    Case 148: Text1.Text = "A'BC+AC'" 1019

    Case 149: Text1.Text = "A'BC+AC'+B'C'" 1020

    Case 150: Text1.Text = "A'C+AC'" 1021

    Case 151: Text1.Text = "A'B'+A'C+AC'" 1022

    Case 152: Text1.Text = "AC'+BC'" 1023

    Case 153: Text1.Text = "C'" 1024

    Case 154: Text1.Text = "A'B'C+AC'+BC'" 1025

    Case 155: Text1.Text = "A'B'+C'" 1026

    Case 156: Text1.Text = "A'B+AC'" 1027

    Case 157: Text1.Text = "A'B+C'" 1028

    Case 158: Text1.Text = "A'B+A'C+AC'" 1029

    Case 159: Text1.Text = "A'+C'" 1030

    Case 160: Text1.Text = "AB'C+ABC'" 1031

    Case 161: Text1.Text = "A'B'C'+AB'C+ABC'" 1032

    Case 162: Text1.Text = "ABC'+B'C" 1033

    Case 163: Text1.Text = "A'B'+ABC'+B'C" 1034

    Case 164: Text1.Text = "A'BC+AB'C+ABC'" 1035

    Case 165: Text1.Text = "A'B'C'+A'BC+AB'C+ABC'" 1036

    Case 166: Text1.Text = "A'C+ABC'+B'C" 1037

    Case 167: Text1.Text = "A'B'+A'C+ABC'+B'C" 1038

    Case 168: Text1.Text = "AB'C+BC'" 1039

    Case 169: Text1.Text = "A'C'+AB'C+BC'" 1040

    Case 170: Text1.Text = "B'C+BC'" 1041

    Case 171: Text1.Text = "A'B'+B'C+BC'" 1042

    Case 172: Text1.Text = "A'B+AB'C+BC'" 1043

    Case 173: Text1.Text = "A'B+A'C'+AB'C+BC'" 1044

    Case 174: Text1.Text = "A'C+B'C+BC'" 1045

    Case 175: Text1.Text = "A'+B'C+BC'" 1046

  • Est. C.M. LIMBER C.

    13

    Case 176: Text1.Text = "AB'+AC'" 1047

    Case 177: Text1.Text = "AB'+AC'+B'C'" 1048

    Case 178: Text1.Text = "AC'+B'C" 1049

    Case 179: Text1.Text = "AC'+B'" 1050

    Case 180: Text1.Text = "A'BC+AB'+AC'" 1051

    Case 181: Text1.Text = "A'BC+AB'+AC'+B'C'" 1052

    Case 182: Text1.Text = "A'C+AC'+B'C" 1053

    Case 183: Text1.Text = "A'C+AC'+B'" 1054

    Case 184: Text1.Text = "AB'+BC'" 1055

    Case 185: Text1.Text = "AB'+C'" 1056

    Case 186: Text1.Text = "AB'+B'C+BC'" 1057

    Case 187: Text1.Text = "B'+C'" 1058

    Case 188: Text1.Text = "A'B+AB'+BC'" 1059

    Case 189: Text1.Text = "A'B+AB'+C'" 1060

    Case 190: Text1.Text = "A'C+AB'+BC'" 1061

    Case 191: Text1.Text = "A'+B'+C'" 1062

    Case 192: Text1.Text = "AB" 1063

    Case 193: Text1.Text = "A'B'C'+AB" 1064

    Case 194: Text1.Text = "A'B'C+AB" 1065

    Case 195: Text1.Text = "A'B'+AB" 1066

    Case 196: Text1.Text = "AB+BC" 1067

    Case 197: Text1.Text = "A'B'C'+AB+BC" 1068

    Case 198: Text1.Text = "A'C+AB" 1069

    Case 199: Text1.Text = "A'B'+AB+BC" 1070

    Case 200: Text1.Text = "AB+BC'" 1071

    Case 201: Text1.Text = "A'C'+AB" 1072

    Case 202: Text1.Text = "A'B'C+AB+BC'" 1073

    Case 203: Text1.Text = "A'B'+AB+BC'" 1074

    Case 204: Text1.Text = "B" 1075

    Case 205: Text1.Text = "A'C'+B" 1076

    Case 206: Text1.Text = "A'C+B" 1077

    Case 207: Text1.Text = "A'+B" 1078

    Case 208: Text1.Text = "AB+AC'" 1079

    Case 209: Text1.Text = "AB+B'C'" 1080

    Case 210: Text1.Text = "A'B'C+AB+AC'" 1081

    Case 211: Text1.Text = "A'B'+AB+AC'" 1082

    Case 212: Text1.Text = "AC'+BC" 1083

    Case 213: Text1.Text = "AB+B'C'+BC" 1084

    Case 214: Text1.Text = "A'C+AC'+BC" 1085

    Case 215: Text1.Text = "A'B'+AC'+BC" 1086

    Case 216: Text1.Text = "AB+AC'+BC'" 1087

    Case 217: Text1.Text = "AB+C'" 1088

    Case 218: Text1.Text = "A'B'C+AB+AC'+BC'" 1089

    Case 219: Text1.Text = "A'B'+AB+C'" 1090

    Case 220: Text1.Text = "AC'+B" 1091

    Case 221: Text1.Text = "B+C'" 1092

    Case 222: Text1.Text = "A'C+AC'+B" 1093

    Case 223: Text1.Text = "A'+B+C'" 1094

    Case 224: Text1.Text = "AB+BC" 1095

    Case 225: Text1.Text = "A'B'C'+AB+AC" 1096

    Case 226: Text1.Text = "AB+B'C" 1097

    Case 227: Text1.Text = "A'B'+AB+AC" 1098

    Case 228: Text1.Text = "AB+AC+BC" 1099

    Case 229: Text1.Text = "A'B'C'+AB+AC+BC" 1100

    Case 230: Text1.Text = "AB+C" 1101

    Case 231: Text1.Text = "A'B'+AB+C" 1102

    Case 232: Text1.Text = "AC+BC'" 1103

    Case 233: Text1.Text = "A'C'+AB+AC" 1104

    Case 234: Text1.Text = "AC+B'C+BC'" 1105

    Case 235: Text1.Text = "A'B'+AC+BC'" 1106

    Case 236: Text1.Text = "AC+B" 1107

    Case 237: Text1.Text = "A'C'+AC+B" 1108

    Case 238: Text1.Text = "B+C" 1109

    Case 239: Text1.Text = "A'+B+C" 1110

    Case 240: Text1.Text = "A" 1111

    Case 241: Text1.Text = "A+B'C'" 1112

    Case 242: Text1.Text = "A+B'C" 1113

    Case 243: Text1.Text = "A+B'" 1114

    Case 244: Text1.Text = "A+BC" 1115

    Case 245: Text1.Text = "A+B'C'+BC" 1116

    Case 246: Text1.Text = "A+C" 1117

    Case 247: Text1.Text = "A+B'+C" 1118

    Case 248: Text1.Text = "A+BC'" 1119

    Case 249: Text1.Text = "A+C'" 1120

    Case 250: Text1.Text = "A+B'C+BC'" 1121

    Case 251: Text1.Text = "A+B'+C'" 1122

    Case 252: Text1.Text = "A+B" 1123

    Case 253: Text1.Text = "A+B+C'" 1124

    Case 254: Text1.Text = "A+B+C" 1125

    Case 255: Text1.Text = "1" 1126

    End Select 1127

    End Sub 1128

    ...................................................... 1129

    Private Sub Command2_Click() 1130

    Select Case (s) 1131

    Case 0: 1132

    Case 1: Picture1.Picture = ("C:\Documents and Settings\PC - 1133

    17\Escritorio\0001.jpeg") 1134

    Case 2: Picture1.Picture = ("C:\Documents and Settings\PC - 1135

    17\Escritorio\0010.jpeg") 1136

    End Select 1137

    End Sub 1138

  • Est. C.M. LIMBER C.

    14

    .............................................. 1139

    Private Sub Form_Load() 1140

    Combo1.AddItem ("1") 1141

    Combo1.AddItem ("2") 1142

    Combo1.AddItem ("3") 1143

    Combo1.AddItem ("4") 1144

    End Sub 1145

    ./././/././././././.././././././//././././././ 1146

    3 RESIST ENPARALELO 1147

    1148

    1149 Dim var1, var2, var3 As Double 1150

    ................................... 1151

    Private Sub Combo1_Click() 1152

    var1 = (Combo1.Text) 1153

    var2 = (Combo2.Text) 1154

    var3 = (Combo3.Text) 1155

    1156

    Text1.Text = 1 / ((1 / var1) + (1 / var2) + (1 / var3)) 1157

    End Sub 1158

    ...................................... 1159

    Private Sub Combo2_Click() 1160

    var1 = (Combo1.Text) 1161

    var2 = (Combo2.Text) 1162

    var3 = (Combo3.Text) 1163

    1164

    Text1.Text = 1 / ((1 / var1) + (1 / var2) + (1 / var3)) 1165

    1166

    End Sub 1167

    ............................................. 1168

    Private Sub Combo3_Click() 1169

    var1 = (Combo1.Text) 1170

    var2 = (Combo2.Text) 1171

    var3 = (Combo3.Text) 1172

    1173

    Text1.Text = 1 / ((1 / var1) + (1 / var2) + (1 / var3)) 1174

    End Sub 1175

    ................................................ 1176

    Private Sub Form_Load() 1177

    var1 = 1 1178

    var2 = 1 1179

    var3 = 1 1180

    Combo1.AddItem (1) 1181

    Combo1.AddItem (1.2) 1182

    Combo1.AddItem (2.2) 1183

    Combo1.AddItem (3.3) 1184

    Combo1.AddItem (4.7) 1185

    Combo1.AddItem (5.6) 1186

    Combo1.AddItem (6.8) 1187

    Combo1.AddItem (10) 1188

    Combo1.AddItem (56) 1189

    Combo1.AddItem (100) 1190

    Combo2.AddItem (1) 1191

    Combo2.AddItem (1.2) 1192

    Combo2.AddItem (2.2) 1193

    Combo2.AddItem (3.3) 1194

    Combo2.AddItem (4.7) 1195

    Combo2.AddItem (5.6) 1196

    Combo2.AddItem (6.8) 1197

    Combo2.AddItem (10) 1198

    Combo2.AddItem (56) 1199

    Combo2.AddItem (100) 1200

    Combo3.AddItem (1) 1201

    Combo3.AddItem (1.2) 1202

    Combo3.AddItem (2.2) 1203

    Combo3.AddItem (3.3) 1204

    Combo3.AddItem (4.7) 1205

    Combo3.AddItem (5.6) 1206

    Combo3.AddItem (6.8) 1207

    Combo3.AddItem (10) 1208

    Combo3.AddItem (56) 1209

    Combo3.AddItem (100) 1210

    End Sub 1211

    ././././././../././././././././././/. 1212

    CAIDA D V n 3RESIST N SERIE 1213

  • Est. C.M. LIMBER C.

    15 1214

    Private Sub Command1_Click() 1215

    Text5.Text = Val(Text2.Text) + Val(Text3.Text) + Val(Text4.Text) 1216

    Text6.Text = "OHMIOS" 1217

    End Sub 1218

    ................. 1219

    Private Sub Command2_Click() 1220

    Text5.Text = Val(Text1.Text) * (Val(Text2.Text) / (Val(Text2.Text) + 1221

    Val(Text3.Text) + Val(Text4.Text))) 1222

    Text6.Text = "VOLTIOS" 1223

    End Sub 1224

    ..................... 1225

    Private Sub Command3_Click() 1226

    Text5.Text = Val(Text1.Text) * (Val(Text3.Text) / (Val(Text2.Text) + 1227

    Val(Text3.Text) + Val(Text4.Text))) 1228

    Text6.Text = "VOLTIOS" 1229

    End Sub 1230

    ................................ 1231

    Private Sub Command4_Click() 1232

    Text5.Text = Val(Text1.Text) * (Val(Text4.Text) / (Val(Text2.Text) + 1233

    Val(Text3.Text) + Val(Text4.Text))) 1234

    Text6.Text = "VOLTIOS" 1235

    End Sub 1236