From bc719439200ddd6505feeab771b98cf9eeed9b83 Mon Sep 17 00:00:00 2001 From: mahantesh9284343 Date: Wed, 24 Jun 2020 23:06:45 +0530 Subject: [PATCH 1/2] Added python file --- pro.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 pro.py diff --git a/pro.py b/pro.py new file mode 100644 index 00000000..e69de29b From 66195ad108d7520084c31d2485f7392a7005791a Mon Sep 17 00:00:00 2001 From: mahantesh9284343 <63101068+mahantesh9284343@users.noreply.github.com> Date: Fri, 26 Jun 2020 16:41:45 +0530 Subject: [PATCH 2/2] Fixed first issue PS7_1 Exp7 introduction file --- Introduction.html | 269 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 Introduction.html diff --git a/Introduction.html b/Introduction.html new file mode 100644 index 00000000..a519b2f3 --- /dev/null +++ b/Introduction.html @@ -0,0 +1,269 @@ + + + + + + + + + + Welcome to Virtual Labs - A MHRD Govt of india Initiative + + + + + + + + + + + + + + + + + + +
+
+ + +
+ +
+
+
+
+
+
+ + + +
+

Computer Science & EngineeringProblem Solving Lab →List Of Experiments

+ +
+ + +
+ + +

Advanced Arithmatic

+
+

+Let us consider the task of representing very large numbers in C. As we know we cannot store an intger of maximum value 263-1 and minimum value -263 sing a long long data type in C. But how do we represent numbers which are not in this range, say for example 1050.In one of the problems we ask you to do this and explain how it is done usually. +

+
+

Problem 1:

+

+The task is to accomplish addition of two large positive numbers +

+

+

Input Specification


+

+There will be two positive integers (< 10^50) separated by a space. +

+

+

Output Specification


+

+Output must contain a single number representing the sum of the two integers +

+

+

Sample Input and Output


+

+Input: 323289329329392893 3283928392839283928932329
+Output:3283928716128613258325222
+Input: 10 99
+Output: 109
+

+

+

+
+

Problem 2:

+

+Find the square root of a positive integer using binary search. +

+

+

Input Specification


+

+Input will contain a single positive integer N input from keyboard, lesser than 10^9. +

+

+

Output Specification


+

+Print the square root of the number upto 4 decimal places. A difference upto 0.001 from the the judges solution will be accepted as correct. +

+

+

Sample Input and Output


+

+Input: 5
+Output: 2.2361
+Input: 25
+Output: 5.0000
+

+

+

+

+
+
+ + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file