Tuesday, December 11, 2018

Using bar chart to make withdrawals easy in Banks

For banks, i would like to propose a priority scale based on percentage to automate withdrawals, making cashier's work simple. There should be a bar chart available in banking software, each vertical with three bars representing each denomination. In every vertical, the first bar represents the total value of the amount available for that particular denomination, Say 4,00,000 of 500 notes. Second bar represents number of notes available for that denomination. Let's say cashier has 800 number of 500 rupees notes. Length of the bar corresponding to the 500 denomination will match 800 notes. 
The bar chart represents the withdrawal of 2,57,205 rupees.

The third bar represents the number of notes, we are taking from each denomination and the corresponding percentage will be shown. All the cashier needs to do is adjust this third bar of each denomination up and down till the total of all the percentage points will be exactly 100. The third bar in each denomination will be allowed to go up, till it reaches the maximum notes of that particular denomination or the total percentage of all denominations reaches the maximum 100%. Just drag the bars at will till the total becomes 100%. There will be percentage points which will be fractional, but matches the whole number of denomination notes. There will also be a horizontal bar at the bottom of the bar chart, which grows as we choose the notes. It will be colored at parts, each part representing the sum value of each denomination.

If the cashier wants to round the number of notes to 100 notes, we can put magnetic marks on the third bar, as you drag it, each mark will be for every 100th note. Switch on magnetic marks, when necessary, because if u go nearby, it will pull the marker towards it. Cashier can even zoom in and out of the bars, if necessary. In this example, we switch on the magnetic mark, 77. 758% will have a magnetic mark, in case u want 400 notes of 500 denomination. The option for manually entering a number in the text box of the third bar, can be allowed, which will ultimately draw the bar chart.

We can even develop a real priority scale, where the cashier just has to put priorities from the scale of 1 to 10 for each denominations. With that scale, the system fills out all the denominations. Cashier just has to dispense the cash. That definitely can't be done in few days. It needs research and more time, which is out of the scope for this blog.

Monday, November 19, 2018

Wondering about space time

Since i am not a physics major, and know nothing about space and time. I was just wondering, does time decrease where the  body is able to move faster. Ability means, if we give same thrust to an object, in two different time zones, the place where time moves slow, the object is going to move faster. I say ability, not just when they actually are moving faster. Like in moon, i guess time slows down, not just because of less gravity. But also because of the ability of a body to move faster. In a very fast moving train in the earth, with constant gravity, time slows down because if we throw a ball it travels miles in matter of seconds. Is there a general pattern in the universe, where we can predict time at any point in the universe. Is it true, that time can stop at any point. Time stops, i guess is a myth. Let's explore time and space.

Sunday, November 18, 2018

How to write a text in random positions in a page, useful in writing maths and science formulas

Come on. Just do a graph. simple. I will tell you how it will be easy to write code for the new modern Microsoft Office. Basically there will be two modes of writing. Writing simple text. Writing mathematical and scientific formulas. When you write a simple text, there should be a faint line shown, upon which u can write simple texts and that will be automatically converted to digital text, by doing handwriting recognition, which i have explained earlier. But when you write formulas,by manually choosing which mode you are using, just tap at the option on the top with a pen, the area will be converted to invisible graph. You can choose how many sizes of text you want, mostly it will be two,one normal size and one to write sub-texts. First, Programmers should choose the size of the graph boxes required for a letter or a symbol, based on study of all the required symbols.



So first let's say i want to write a chemical formula Sodium Bicarbonate. We will consider that N and a, needs six 3*3 Boxes each, whenever you write a symbol or letter, first it observes the area of the letter or symbol on the sheet and then converts the handwriting into digital letters in the particular area. What if someone's handwriting is big or small. Doesn't matter, the graph adjusts itself through your profile, and when you handwriting is big, the graph enlarges. We can set the number of sizes you allow for a project, so that all your letters converts itself to the nearest of two sizes, allowed by the administrator( in case you write exams). This may not increase your writing speed, but definitely does not reduce it. There are lot of advantages that you can erase text at will, or keep it at your clipboard,  scribble, do rough work right on top of the device, no matter at which page you are. The purpose of the whole writing device is to give a legible answer sheets( in case, you are writing your exam), no matter how you write. GO DIGITAL YAY.

Friday, September 28, 2018

How to find whether a news is fake or not

Actually to find the authenticity of a news. A debate should happen between, someone who posted the news and the organisation, which is in stake. We want people to vote whether the news is authentic or fake. How we are going to make that votes authentic?
We are going to allow authentic people to vote. How is that? Suppose there is a news about a chew gum brand X. If anybody who sees the debate is allowed to vote, there's a chance that, it is a fake account or he doesn't know anything about chewing gums. To make it authentic, we are gonna allow only people who has dealt in that area and experience in that field, for atleast 6 months. Everyone can choose areas of interest for maximum 3 fields, and atleast his/ her 5 friends should have acknowledged him in that field for a period of 6 months. No dormant accounts or new accounts. It's not that only experts should vote. But only their numbers will be shown. Popular vote, anybody can vote, no number of votes will be shown. Just a thin line, two colours to represent both sides. So, whoever gets maximum fake votes, everyday, we can put funny videos on them. If u r in WhatsApp, i think Facebook can connect to know areas of interest and can vote on them.

Fake news in WhatsApp

So, if u wanna stop fake news in WhatsApp, first we need to track the number of times, a same message is transferred. Suppose, we fix this as 20 times. 20 times in the hierarchy. After a message is transferred 20 times, WhatsApp will provide a small icon on the bottom of the news, " check authenticity". Only if someone who is among the 20 clicks this icon, the message will be taken to a website, lets say, fun with fake WhatsApp news. If someone clicks " check authenticity" and consortium of industries thinks it's not a personal message, only if the source of the news, participates in the debate, more forwarding will be allowed, otherwise, message will be frozen. And if the source participates, small icon under the forwarded message will be there saying " check debate". There will be debate in the fake news site. This " fun with fake news" site should be an open site, where every fake news is open in public with debate. Anyone can see, organisations can appoint people to make funny videos about these fake news. Remember, every fake news source is watched, because we have their number. If u keep on dumping fake news, WhatsApp will block the number.

There is this another issue. WhatsApp doesn't want to record who sent a message or in other words, who is the originator of the message. To solve that issue, first there are three types of messages. Short messages, private messages, public messages. Short messages, with fewer words, no need to track. If the message is long or it's a video, the user will be asked to choose the category of the message. If he chooses private messages, it will also not be tracked, with a disclaimer that if this message contains public news, it is fake. If he chooses public message, the message will be given an ID, track the ID.

Actually WhatsApp fake news prevention is better than earlier Facebook idea. Because, Facebook is not reading your news as far as fake news in my idea is concerned ( ha ha ha), unless a user asks for authenticity, for which the user has the right to know, since he received it. Coming how to find which category a news belongs. Why bother industry people, we will ask the person who asked for authenticity to put the category. Facebook will give you tags, generic and specific. Just put the tags, not necessarily one, you can put more than one. Like chewing gum, food and beverage, boomer. Then industry people will receive, verify and process.

Sunday, August 5, 2018

What is Differentiation?

I am going to explain what is differentiation. I will explain it with a real life example. Suppose you are driving a car and you are climbing a small hillock, but you have put second gear all along and constant push in the pedal. I want to know what is the acceleration of the car at any given point. Speed changes as you move along, because when you climb the hill, speed is going to decrease, because gravity pulls the vehicle. When you reach the top and climb down with the same gear, the speed is going to increase, again because gravity pulls you. We will see it in a diagram
 
Suppose the car starts at the speed of 9 Kilometres/Hour ( For convinience ) from the foot of hillock and in 3 hours it reaches the top of the hillock. Now what differentiation is doing here. Differentiation helps you to find the acceleration of the vehicle at any point in the journey. Acceleration is nothing but how rapidly the speed of vehicle changes.

Now we will get into mathematics,
At point A, suppose the car starts at a speed of 9 kmph, which is at the bottom of the hillock. Supposing we are giving a certain push in the accelerator, speed keeps on decreasing and at point B, the car has stopped, we assume that it stops at the top of the hillock. After that, the speed starts increasing, because gravity increases its speed. If we put this graph in a mathematical equation, it would be y=(x-3)^2, where y is speed and x is time. The acceleration of the vehicle at any point is the slope of a tangent on that particular point.
Suppose, we want to calculate the acceleration of the vehicle after 2 hours, we have to draw a tangent at the intersection of x = 2 and the parabola. (Tangent is a straight line or plane that touches a curve or curved surface at a point, but if extended does not cross it at that point. Parabola is name of the curved graph.) The slope of that tangent is the acceleration of the car at that point. It is tedious to find the acceleration of the vehicle by drawing tangents and graphs. So guess, who solves it. Differentiation. If we differentiate an equation like this parabola, it will give a general formula, which will tells us the acceleration of the car( change in the speed of the car) at any point in time.
More mathematics,
We will study the graph, at Point E, the slope of the tangent to the graph is high and when it reaches the point C, the slope becomes lesser and lesser and it becomes 0 at point B. Again it starts increasing. 
Now we will try to differentiate this graph y = (x-3)^2 using graphic method, to actually understand why we get the differentiation formulas. If we differentiate this parabola, what we get is the general formula which tells about slope( acceleration) of the parabola at every point, as x ( Time) changes. We will plot three points in the parabola and find the slope at that three points.

We know that the slope of the tangent decreases slowly from point E to point B, where it becomes 0. So, there must be some point in the parabola, between point E and B, where the slope of the curve becomes 1. Plot a triangle, such that the adjacent side ( Time axis ) and opposite sides ( Speed axis ) are equal, and the hypotenuse side ( Tangent ) touches exactly at one point in the parabola. By trial and error method, we can find the point at which x and y are equal and solves the parabola curve. i.e if we substitute x and y in the equation y = ( x - 3 )^2, the equation solves. Since the opposite and adjacent sides are equal, the slope of the hypotenuse side is exactly 1. Since hypotenuse side touches at only one point in the parabola, it becomes the tangent to the curve at that point.

If we plot a line with x axis as time and y axis as slope of the tangent of the parabola at that point, we will get the following equation y = 2x - 6. [ Note : We can find that from equation y = mx + b, where m is slope. Since we know 3 points in the line, we can form the equation. ]

If we differentiate y = ( x - 3 )^2 , we get the same equation dy/dx = 2x - 6. So differentiation is nothing but rate of change. Why do i need a rate of change of speed ( acceleration ), because it will come handy in lot of places like launching a rocket. we need to know and adjust acceleration to put our satellites exactly in the orbit.

We will get into sine curve
If we plot rate of change of sine curve ( i.e slope of tangent to the curve ), naturally we get a curve and it happens to be cosine curve.
 





Thursday, July 5, 2018

Silly idea for little cents

I just thought of a silly idea solving a simple problem. How to deal with paisas or cents, when you don't have many coins. It may be applied while buying bus tickets, in giving change to petty shops or wherever you need to give change. The idea is to start a wallet or add this feature to already existing wallet. Just reduce the security checks, when we are using the wallets of change. Just load the change wallet with multiples of 100 rs, if in India. As long as there is money in change wallet, you can use it, without actually transferring any money. Suppose i load my change wallet, with 100 rupees. It goes to the common change wallet. I board a bus, conductor says 13 rupees, you give him 10 rupees in cash and 3 rupees through change wallet or 13 rupees through change wallet. To transfer money just connect the device of conductor and passenger, with whatever technique you use. Bluetooth or simple taps, whatever. Then conductor types 3 rs in his device and receives a 3 digit code. Passenger types the code in his device. 3 rs transfer. Yes or No. Press Yes. That's it. Money transferred. Conductor can also give change the same way. Actually only digital money. There is a common change wallet, which monitors all transactions, but transfers actual money, only when you need it. To ur Bank account or main wallet. So i have 100 rs while i start a day, i go to market, buy some vegetables, do 5 transactions, board a bus 2 transactions. Spend 23 rupees. Collect 13 rupees. Net value 90 rupees. No need to encash it. Use it tomorrow. No actual money transfers, only virtual money.