Jay Jain (2215810108) Ansh Khot (2215810109) Tanvi Joshi (23152460313)
Jay Jain (2215810108) Ansh Khot (2215810109) Tanvi Joshi (23152460313)
On
“Scientific calculator in VB.Net.”
Submitted by,
1
2023-24
Annexure – I A
PART A
Micro-Project Proposal
4th Semester
Scientific calculator in VB.Net
1.0 Brief Introduction
2
3.0 Action Plan
**************
3
Annexure –II A
PART B
Micro-Project Report
4th Semester
Scientific calculator in VB.Net.
To create a calculator using VB.NET, learn some basics about VB.NET, then copy
the necessary code into a text editor and save it. You can then use your calculator by
opening up the VB.NET document in your favorite browser. VB.Net is a powerful
language designed for fast development. High encapsulation and abstraction is cost
for it. You do not need to add semicolon to indicate the end of a statement, there are
no brackets, and most of the time, it auto-corrects the case of the alphabets.
Here are the top five uses for a scientific calculator and how you may be expected to use it in
your next class.
● Logarithms.
● Scientific notation.
● Binary functions.
● MOD
● 1/X
4
2.0 Aim of Micro Project
5
6.0 Outputs of the Micro-Projects:
Coding
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
6
Private Sub Button10_Click(sender As Object, e As EventArgs) Handles Button10.Click
TextBox1.Text = TextBox1.Text + "."
End Sub
Label1.Text = TextBox1.Text
Label2.Text = "X"
TextBox1.Text = ""
End Sub
Label1.Text = TextBox1.Text
Label2.Text = "MOD"
TextBox1.Text = ""
End Sub
7
Label1.Text = ""
Label2.Text = "="
End If
If Label2.Text = "-" Then
TextBox1.Text = Val(Label1.Text) - Val(TextBox1.Text)
Label1.Text = ""
Label2.Text = "="
End If
If Label2.Text = "X" Then
TextBox1.Text = Val(Label1.Text) * Val(TextBox1.Text)
Label1.Text = ""
Label2.Text = "="
End If
If Label2.Text = "/" Then
TextBox1.Text = Val(Label1.Text) / Val(TextBox1.Text)
Label1.Text = ""
Label2.Text = "="
End If
If Label2.Text = "MOD" Then
TextBox1.Text = Val(Label1.Text) Mod Val(TextBox1.Text)
Label1.Text = ""
Label2.Text = "="
End If
If Label2.Text = "%" Then
TextBox1.Text = Val(Label1.Text) * 1 / 100
Label1.Text = ""
Label2.Text = "="
End If
End Sub
Label1.Text = TextBox1.Text
Label2.Text = "^"
TextBox1.Text = ""
End Sub
8
TextBox1.Text = ""
End Sub
End Class
Outputs
9
10
11
12
13
14
15
16
17
7.0 Skill Developed / learning out of this Micro-Project
****************
18
19