Skip to main content

AI can be suitable assitent for the R&D process.


AI like Bing and ChatGPT are ultimate tools. If the person asks then how to make a database connection or GUI with the C-language the AI answers immediately. The AI makes the code that the programmer can copypaste to the programming environment, and then they must just know the name of the connected database. 

That thing will decrease the work that must be done for working applications. And in business life is money. This means programming is easy and fun by using the AI -assistant. And that assistant can use by using own cell phone. The free-use AI assistants can give multiple pieces of advice about many things. And that makes the AI an extremely powerful tool. 

There are images of the aircraft and hypersonic aircraft concepts created by the AI. So those things might not exist in real life. The AI-based drawing tool like Dall-E can be a revolution for R&D workers. They might use the Dall-E to make outlines. That they see what they should do in their projects. 

But if the AI will get access to flow simulations, wind tunnel data, and CAD programs. There is the possibility. In the future, the user can say, "Make me the plans for a fully functioning aircraft model. The AI can select the materials, and fuel, and make the parts list that creators must use. 




The orders were: 


Draw me a hypersonic aircraft

Add some weapons to it (That was one of the model suggestions, that Bing gave). 


This is a conversation I had with Bing AI about C programming and database connection. 


The links are not working in the copypaste. But in the original Bing output, the links went to the right homepages. Below those C-codes. You can find the conversation that I had with Bing AI about the hypersonic flight.

Questions made by me. And answers are from Bing. The answers are copypaste from Bing. And that shows how powerful a tool it is. If some freeware tool can make this, what the commercial systems can make? The links are not working in the copypaste. But in the original Bing output, the links went to the right homepages. 


Q: How to make a connection between the database and C-program


A: To connect to a database with a C program, you need to use a data access library that supports the database you are using. For example, if you are using MySQL, you can use the MySQL Connector/C library1. If you are using SQL Server or Azure SQL Database, you can use the SQLAPI++ library2. If you are using Oracle, you can use the Oracle C++ Call Interface (OCCI) library3.


The general steps to connect to a database with a C program are:


Include the header files of the data access library in your code.

Declare and initialize a connection object with the database parameters (such as host, user, password, etc.).

Use the connection object to connect to the database and check for errors.

Use the connection object to execute SQL queries and retrieve results.

Use the connection object to disconnect from the database and free resources.

Here is an example of connecting to a MySQL database with C using the MySQL Connector/C library:


#include <stdio.h>

#include <mysql.h>


int main()

{

    // Declare a connection object

    MYSQL *conn;


    // Initialize the connection object

    conn = mysql_init(NULL);


    // Check if initialization succeeded

    if (conn == NULL)

    {

        printf("Error %u: %s\n", mysql_errno(conn), mysql_error(conn));

        exit(1);

    }


    // Connect to the database

    if (mysql_real_connect(conn, "localhost", "user", "password", "database", 0, NULL, 0) == NULL)

    {

        printf("Error %u: %s\n", mysql_errno(conn), mysql_error(conn));

        exit(1);

    }


    printf("Connected to MySQL\n");


    // Execute a SQL query

    if (mysql_query(conn, "SELECT * FROM table"))

    {

        printf("Error %u: %s\n", mysql_errno(conn), mysql_error(conn));

        exit(1);

    }


    // Get the result set

    MYSQL_RES *result = mysql_store_result(conn);


    // Check if result set is valid

    if (result == NULL)

    {

        printf("Error %u: %s\n", mysql_errno(conn), mysql_error(conn));

        exit(1);

    }


    // Get the number of rows and columns in the result set

    int num_rows = mysql_num_rows(result);

    int num_fields = mysql_num_fields(result);


    printf("Number of rows: %d\n", num_rows);

    printf("Number of columns: %d\n", num_fields);


    // Loop through the result set and print each row

    MYSQL_ROW row;

    while ((row = mysql_fetch_row(result)))

    {

        for (int i = 0; i < num_fields; i++)

        {

            printf("%s\t", row[i] ? row[i] : "NULL");

        }

        printf("\n");

    }


    // Free the result set

    mysql_free_result(result);


    // Disconnect from the database

    mysql_close(conn);


    printf("Disconnected from MySQL\n");


    return 0;

}

More info on

1. stackoverflow.com

2. learn.microsoft.com

3. geeksforgeeks.org


This is a conversation I had with Bing AI about hypersonic flight. 


Q: What is the best fuel for hypersonic aircraft


A:  According to some sources12, hydrogen has been the fuel of choice for hypersonic flight because of its rapid burning rate, high specific energy content, and good heat transfer properties for active cooling and recuperation. However, some researchers are also exploring the use of endothermic hydrocarbon fuels that can absorb heat via chemical reactions and double as a coolant3.


More info on


1. researchgate.net

2. arc.aiaa.org

3. cen.acs.org


Q: What is the best material for hypersonic aircraft?


There is no single best material for hypersonic aircraft, as different parts of the vehicle may require different materials and structures to withstand the high aerodynamic heating and thermal stresses. Some of the materials and structures that have been proposed or developed for hypersonic vehicles include:

Thermal protection systems (TPS): These are materials that insulate the vehicle from the high temperatures generated by air friction. They can be classified into passive or active TPS. Passive TPS are materials that either ablate (erode away) or radiate heat to the environment, such as carbon phenolic composites or ceramic tiles. Active TPS are materials that use cooling fluids or endothermic fuels to remove heat from the surface, such as metallic heat pipes or transpiration cooling1.

Hot structures: These are materials that can operate at high temperatures without insulation or cooling, such as metallic alloys or ceramic matrix composites (CMC). Hot structures can reduce the weight and complexity of the vehicle, but they also require high strength, toughness, and thermal stability2.

Ultra-high temperature ceramics (UHTC): These are materials that can withstand temperatures above 2000°C, such as zirconium diboride (ZrB2) or hafnium diboride (HfB2). UHTC can be used for leading edges, nose tips, or other critical parts of the vehicle that experience the highest heating. UHTC can also provide oxidation resistance and ablation resistance in oxygen-rich environments3.


More info on


1. ntrs.nasa.gov

2. arc.aiaa.org

3. link.springer.com


This is a very fast and quite accurate method to use AI for making texts and giving sources for that kind of thing. So AI is the next-generation tool for helping the R&D process. 


Comments

Popular posts from this blog

The LK-99 could be a fundamental advance even if it cannot reach superconductivity in 400K.

The next step in superconducting research is that LK-99 was not superconducting at room temperature. Or was it? The thing is that there is needed more research about that material. And even if it couldn't reach superconductivity in 400K that doesn't mean that material is not fundamental. And if LK-99 can maintain its superconductivity in 400K that means a fundamental breakthrough in superconducting technology.  The LK-99 can be hype or it can be the real thing. The thing is, anyway, that high-voltage cables and our electric networks are not turning superconducting before next summer. But if we can change the electric network to superconducting by using some reasonable material. That thing can be the next step in the environment. Superconductors decrease the need to produce electricity. But today cooling systems that need lots of energy are the thing that turn superconductors that need low temperatures non-practical for everyday use.  When the project begins there is lots of ent

Black holes, the speed of light, and gravitational background are things that are connecting the universe.

 Black holes, the speed of light, and gravitational background are things that are connecting the universe.  Black holes and gravitational waves: is black hole's singularity at so high energy level that energy travels in one direction in the form of a gravitational wave.  We normally say that black holes do not send radiation. And we are wrong. Black holes send gravitational waves. Gravitational waves are wave movement or radiation. And that means the black holes are bright gravitational objects.  If we can use water to illustrate the gravitational interaction we can say that gravitational waves push the surface tension out from the gravitational center. Then the other quantum fields push particles or objects into a black hole. The gravitational waves push energy out from the objects. And then the energy or quantum fields behind that object push them into the gravitational center.  The elementary particles are quantum fields or whisk-looking structures. If the gravitational wave is

The CEO of Open AI, Sam Altman said that AI development requires a similar organization as IAEA.

We know that there are many risks in AI development. And there must be something that puts people realize that these kinds of things are not jokes. The problem is how to take control of the AI development. If we think about international contracts regarding AI development. We must realize that there is a possibility that the contract that should limit AI development turns into another version of the Nuclear Non-Proliferation Treaty. That treaty didn't ever deny the escalation of nuclear weapons. And there is a big possibility that the AI-limitation contracts follow the route of the Nuclear Non-Proliferation Treaty.  The biggest problem with AI development is the new platforms that can run every complicated and effective code. That means the quantum computer-based neural networks can turn themselves more intelligent than humans. The AI has the ultimate ability to learn new things. And if it runs on the quantum-hybrid system that switches its state between binary and quantum states,