deostroll
IT diaries...
Entry for October 03, 2006
Scripting...

I wish I was a guru at telling you my revelations. But my revelations are not complete in any sense. They just tell that "something is called 'that'". One experience was when I had been working with C++ graphics. I made a small program to plot equations. It was more of a plotting mechanism rather than an equation plotter. Because you cannot plot for any equation you wanted; you had to edit the code such that it plotted the equation you wanted.

But this thought itself later presented a new problem. How do you make your program plot an equation of your choice? I am talking about a simple C++ program doing the above mentioned task. The program is no way simple; atleast I believe so at present because I don't know what it takes. But it was later that I had understood that such a technology was available; it exists. I learnt it when I was learning Visual Basic. It is called scripting. The ordinary C++ language (i.e. my compiler version - turbo c++ v3.0) has no support for scripting, I guess. If you want to design a scripting application you have to design it from scratch (which is what I don't know).

Visual Basic had a scripting object. This object allows for the user to type in vb code segments at run time, and it executes that segment. Now where would you use scripting? Hmm, even I don't know that much, but you can use it in cases such as the one I was thinking about...plotting graphs of user input equations. Such applications would find use in the research industry.

To learn more about scripting click here.

2006-10-03 09:54:56 GMT
Comments (3 total)
Author:anelagnifirering9
Good to hear from you.
2006-10-06 06:27:14 GMT
Author:deostroll
Great to hear from u2 dude. :)
2006-10-07 12:41:23 GMT
Author:deostroll
Yes, the reason behind doing the graph program in the 1st place was to study how a cubic equation would look like. My ultimate aim was to solve a cubic equation "analytically". However, the program I created didn't lead me to a solution. I searched for it online. And later, after many months, I found how you could solve fourth degree equations too; and then after that I learnt that it is impossible to solve degree five or above equations. This was interesting to know. But however didn't understand the exact logic. Something to do with the Abel's Impossibility theorem...But solving the cubic and biquadratic equations was clever application of some substitution and manipulation. I suggest if you have time try researching this...
2006-10-07 12:41:41 GMT
Hosted by www.Geocities.ws

1