0 votes
How can python lambda functions be used to solve Algebraic equations? Jun 17, 2019 in Python 699 views

## 1 answer to this question.

0 votes

Python lambda functions can be used to solve algebraic expressions as follows:

Linear Equations:

As we all know, linear equations are equations with degree one. For example 2x+3y. Now let's solve the same using lambda functions

Example:

s=lambda x,y: 2*x+3*y
s(3,5)

Output: 21

Quadratic Equations:

These are equations with degree 2. For example (x+y)^2

EXAMPLE:

s=lambda x,y: (x+y)**2
s(3,5)

OUTPUT: 64 answered Jun 17, 2019 by anonymous

0 votes
1 answer

## Solve the quadratic equation using lambda functions in Python

Hello @ Ø§Ù…ÛŒØ±Ø­Ù…Ø²Ù‡ , from math import sqrt Root = lambda ...READ MORE

0 votes
2 answers

## How can I write a program to add two numbers using functions in python?

there is sum() function as a built ...READ MORE

0 votes
4 answers

## how to sort a list of numbers without using built-in functions like min, max or any other function?

I guess you are trying to do ...READ MORE

+1 vote
1 answer

## how to run list of functions using Thread?

You could import the file with function ...READ MORE

0 votes
1 answer

## Why are Python lambdas useful?

The main purpose of anonymous functions come ...READ MORE

0 votes
1 answer

## Please explain the logic of giving a name to lambda function when it is actually a nameless function?

This is done because these functions are ...READ MORE

+1 vote
0 answers

## This is the lambda function .. I want to add a new function here . delete the original file

Here I have a lmabda funtion that ...READ MORE

0 votes
1 answer

## How Lambda() is used with filter() in python?

The filter() function in Python takes in ...READ MORE

0 votes
2 answers

## How can I write code to find a palindrome in python without using string functions?

x="malayalam" y="" for i in x: ...READ MORE

0 votes
1 answer

## What is the purpose of using lambda functions in Python?

The main purpose of anonymous functions come ...READ MORE