need help with code I wrote. This code is a maze gui, and i need hel.pdfarcotstarsports
need help with code I wrote. This code is a maze gui, and i need help with the method
shorterstpath(); here is my code:
******mazeApp*******
package mazepackage;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.TextInputDialog;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public class MazeApp extends Application
{
// default canvas size is DEFAULT_SIZE-by-DEFAULT_SIZE
private static final int DEFAULT_SIZE = 768;
private int width = DEFAULT_SIZE;
private int height = DEFAULT_SIZE;
// The graphics context is needed to enable drawing on the canvas
private GraphicsContext gc;
// boundary of drawing canvas, 0% border
// private static final double BORDER = 0.05;
private static final double BORDER = 0.00;
private double xmin, ymin, xmax, ymax;
public static void main(String[] args)
{
launch(args);
}
@Override
public void start(Stage primaryStage)
{
Group root = new Group();
Canvas canvas = new Canvas(width, height);
gc = canvas.getGraphicsContext2D();
gc.setLineWidth(2);
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
root.getChildren().add(canvas);
TextInputDialog tid = new TextInputDialog();
tid.setTitle(\"Maze Size\");
tid.setHeaderText(\"Enter maze size between 10 and 50\");
tid.showAndWait();
int size = Integer.parseInt(tid.getResult());
if (size > 50)
size = 50;
if (size < 10)
size = 10;
primaryStage.setTitle(\"Maze Application\");
primaryStage.setScene(new Scene(root));
primaryStage.setResizable(false);
// Make sure that the application goes away when then window is closed
primaryStage.setOnCloseRequest(e -> System.exit(0));
primaryStage.show();
Maze maze = new Maze(this, size);
// Must solve the maze in a separate thread or else
// the GUI wont update until the end.....
Thread solver = new Thread(
new Runnable () {
public void run()
{
while(true)
{
maze.buildAndDrawMaze();
maze.findShortestPath();
try
{
Thread.sleep(5000);
}
catch(Exception e) { }
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
}
}
});
solver.start();
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setPenColor(Color color) {
gc.setStroke(color);
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setFillColor(Color color) {
gc.setFill(color);
}
/**
* Sets the x-scale to the specified range.
*
* @param min the minimum value of the x-scale
* @param max the maximum value of the x-scale
* @throws IllegalArgumentException if {@code (max == min)}
*/
public void setXscale(double min, double max) {
double size = max - min;
if (size == 0.0) {
throw new IllegalArgumentException(\"the min and max are the same\");
}
xmin = min - BORDER * size;
xmax = max + BORDER * size;
}
/**
* Sets the y-scale to the specified range.
*
* @param min the minimum valu.
Please follow the code and comments for description and outputs C.pdfproloyankur01
Erythrocyte Protoporphyrin
Erythrocyte Protoporphyrin ( hemoglobin precursor) begin to accumulate as hemoglobin as
hematocrit declineduring the 3rd stage of iron deficiency occurs when their is lack of iron limits
hemoglobin production.
World wide,how many people are estimated to have iron deficiency anemia
Ans; 2.0 to 2.5billion ( over 30% 0f world population according to WHO)
Solution
Erythrocyte Protoporphyrin
Erythrocyte Protoporphyrin ( hemoglobin precursor) begin to accumulate as hemoglobin as
hematocrit declineduring the 3rd stage of iron deficiency occurs when their is lack of iron limits
hemoglobin production.
World wide,how many people are estimated to have iron deficiency anemia
Ans; 2.0 to 2.5billion ( over 30% 0f world population according to WHO).
ppt of class and methods in java,recursion in java,nested class,java,command line argument,method overloading,call by value,call by reference,constructor overloading core java ppt
JavaScript Iteration Protocols - Workshop NodeConf EU 2022Luciano Mammino
How many ways do you know to do iteration with JavaScript and Node.js? While, for loop, for...in, for..of, .map(), .forEach(), streams, iterators, etc! Yes, there are a lot of ways! But did you know that JavaScript has iteration protocols to standardise synchronous and even asynchronous iteration? In this workshop we will learn about these protocols and discover how to build iterators and iterable objects, both synchronous and asynchronous. We will learn about some common use cases for these protocols, explore generators and async generators (great tools for iteration) and finally discuss some hot tips, common pitfalls, and some (more or less successful) wild ideas!
Current Score – 0 Due Wednesday, November 19 2014 0400 .docxfaithxdunce63732
Current Score : – / 0 Due : Wednesday, November 19 2014 04:00 PM CST
1. –/0 pointsSEssCalcET2 13.2.002.
Evaluate the line integral, where C is the given curve.
2. –/0 pointsSEssCalcET2 13.2.003.MI.SA.
This question has several parts that must be completed sequentially. If you skip a part of the
question, you will not receive any points for the skipped part, and you will not be able to come
back to the skipped part.
Tutorial Exercise
Evaluate the line integral, where C is the given curve.
is the right half of the circle x2 + y2 = 25 oriented counterclockwise
3. –/0 pointsSEssCalcET2 13.2.007.
Evaluate the line integral, where C is the given curve.
C consists of line segments from (0, 0) to (5, 1) and from (5, 1)
to (6, 0)
Review Problems for Test #2 (Homework)
Rustom Hamouri
Math 344, section 11795, Fall 2014
Instructor: Buma Fridman
WebAssign
xy ds, C: x = t2, y = 2t, 0 ≤ t ≤ 1
C
xy4 ds, C
C
(x + 5y) dx + x2 dy,
C
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
4. –/0 pointsSEssCalcET2 13.2.010.
Evaluate the line integral, where C is the given curve.
is the line segment from
5. –/0 pointsSEssCalcET2 13.2.020.
Evaluate the line integral where C is given by the vector function r(t).
6. –/0 pointsSEssCalcET2 13.3.004.
Determine whether or not F is a conservative vector field. If it is, find a function f such that F =
∇f. If it is not, enter NONE.
f(x, y) = + K
xyz2 ds, C
C
(−2, 6, 0) to (0, 7, 1)
F · dr,
C
F(x, y, z) = (x + y)i + (y − z)j + z3k
r(t) = t2 i + t3 j + t2 k, 0 ≤ t ≤ 1
F(x, y) = ex sin y i + ex cos y j
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('watch_it_player', '/bc_enhanced/sesscalcet2_w_player/scalcet6_16_03_005.html', 0)
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
7. –/0 pointsSEssCalcET2 13.3.005.
Determine whether or not F is a conservative vector field. If it is, find a function f such that F =
∇f. If it is not, enter NONE.
f(x, y) = + K
8. –/0 pointsSEssCalcET2 13.3.011.
Consider F and C below.
(a) Find a function f such that F = ∇f.
(b) Use part (a) to evaluate along the given curve C.
F(x, y) = ex cos y i + ex sin y j
F(x, y) = 4xy2 i + 4x2y j
C: r(t) = t + sin πt, t + cos πt , 0 ≤ t ≤ 11
2
1
2
f(x, y) =
∇f · dr
C
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('watch_it_player', '/bc_enhanced/sesscalcet2_w_player/scalcet6_16_03_013.html', 0)
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
9. –/0 pointsSEssCalcET2 13.3.015.
Consider F and C below.
(a) Find a function f such that F = ∇f.
(b) Use part (a) to evaluate along the given curve C.
10.–/0 pointsSEssCalcET2 13.3.020.
Find the wor.
C# I need assitance on my code.. Im getting an error message Us.pdfeyezoneamritsar
C#: I need assitance on my code.. I\'m getting an error message \"Use of unassigned local
variable for \"rectangle1 ==2, Square2 == 2, Triangle3 == 3\" on the ShapeDemo Application.
Can you please help me? Here my code:
namespace Lab7ShapeDemo
{
class Triangle : GeometricFigure
{
public Triangle() { }
public Triangle (double height, double width)
{
}
public override double ComputeArea()
{
return ((1 / 2.0) * (width * height));
}
}
}// end on Triangle class
class Square : Triangle
{
public Square() { }
public Square(double height, double width) : base (height, height) { }
public Square (double heightWidth) : base (heightWidth, heightWidth) { }
public override double ComputeArea()
{
return base.ComputeArea();
}
}
} // end of Square class
class Rectangle : GeometricFigure
{
public Rectangle() { }
public Rectangle(double height, double width)
{
}
public override double ComputeArea()
{
return (height * width);
}
}
} //End of REctangle class
public GeometricFigure()
{
height = 0;
width = 0;
area = 0;
}
public GeometricFigure(double height, double width)
{
this.height = height;
this.width = width;
this.area = ComputeArea();
}
public abstract double ComputeArea();
}
} //End of GeometircFigure class
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab7ShapeDemo
{
class ShapesDemo
{
static void Main(string[] args)
{
string Rectangle_HeightString;
string Rectangle_WidthString;
string Square_HeightString;
string Triangle_HeightString;
string Triangle_WidthString;
string Enter_NumberString;
double Rectangle_height;
double Rectangle_Width;
double Square_height;
double Triangle_Height;
double Triangle_Width;
double Enter_Number;
Console.Write(\"Choose a shape from the following options:\");
Console.WriteLine(\"[1] Rectangle\");
Console.WriteLine(\"[2] Square\");
Console.WriteLine(\"[3} Triangle\");
Console.Write(\"Enter the option number (or zero to terminate this program): \");
Enter_NumberString = Console.ReadLine();
Enter_Number = Convert.ToDouble(Enter_NumberString);
Console.WriteLine();
int rectangle1, Square2, Triangle3;
while (Enter_Number != 0)
{
if (rectangle1 == 1)
{
Console.Write(\"Enter the hight of the rectangle: \");
Rectangle_HeightString = Console.ReadLine();
Rectangle_height = Convert.ToDouble(Rectangle_HeightString);
Console.Write(\"Enter the width of the rectanlge: \");
Rectangle_WidthString = Console.ReadLine();
Rectangle_Width = Convert.ToDouble(Rectangle_WidthString);
Rectangle r1 = new Rectangle(Rectangle_height, Rectangle_Width);
displayGeometricFigure(r1);
}
else if (Square2 == 2)
{
Console.Write(\"Enter the height of the Square\");
Square_HeightString = Console.ReadLine();
Square_height = Convert.ToDouble(Square_HeightString);
Square sq1 = new Square(Square_height);
displayGeometricFigure(sq1);
}
else if (Triangle3 == 3)
{
Console.Write(\"Enter the hight of the Triangle\");
Triangle_HeightString = Console.ReadLine();
Triangle_Height = Convert.ToDouble(Tria.
I dont know what is wrong with this roulette program I cant seem.pdfarchanaemporium
I don\'t know what is wrong with this roulette program I can\'t seem to get it to run.
Game Class:
public class Game {
public static void main(String[] args) {
Table table = new Table();
BinBuilder bb = new BinBuilder();
Outcome black = new Outcome(\"Black\", 35);
Bet bet = new Bet(10, black);
table.placeBet(bet);
Bin bin = bb.wheel.get(8);
System.out.println(bin.toString());
System.out.println(table.bets.toString());
System.out.println(black.toString());
ListIterator i = table.bets.listIterator();
Iterator b = bin.outcomes.iterator();
while(i.hasNext()) {
System.out.println(i.next().outcome.name.toString());
while(b.hasNext()){
System.out.println(b.next().name.toString());
if(i.next().outcome.equals(b.next())){
System.out.println(\"Win!\");
}
else{
System.out.println(\"Win :/\");
}
}
}
}
}
Player Class
public class Player {
public Table table;
public Outcome black;
public Bet bet;
public Player(Table table) {
table = new Table();
black = new Outcome(\"Black\", 1);
}
void placeBets() {
Bet bet = new Bet(100, black);
table.placeBet(bet);
}
void win(Bet bet) {
System.out.println(\"You\'ve won: \" + bet.winAmount());
}
void lose(Bet bet) {
System.out.println(\"You lost!\" + bet.loseAmount() + \":/\");
}
}
Outcome class
public class Outcome implements Comparable {
public String name;
public int odds;
public Outcome(String name, int odds){
this.name = name;
this.odds = odds;
}
public int winAmount(int amount){
return amount*this.odds;
}
public boolean equals(Outcome other){
return (this.name.equals(other.name));
}
public String toString() {
Object[] values= { name, new Integer(odds) };
String msgTempl= \"{0} ({1}:1)\";
return MessageFormat.format( msgTempl, values );
}
@Override
public int compareTo(E arg0) {
if(this.equals(arg0)){
return 0;
}
return 1;
}
}
Table Class
public class Table {
public int limit = 1000;
public LinkedList bets;
public Table() {
bets = new LinkedList();
}
public boolean isValid(Bet bet) {
int sum = 0;
for(Bet bett: bets) {
sum += bett.amountBet;
}
return (sum>limit);
}
public void placeBet(Bet bet) {
bets.add(bet);
}
ListIterator iterator() {
return bets.listIterator();
}
}
Wheel Class
public class Wheel extends TreeSet {
Vector bins;
NonRandom rng;
Set all_outcomes;
Wheel(NonRandom rng){
this.rng = rng;
rng = new NonRandom();
all_outcomes = new TreeSet();
bins = new Vector(38);
for (int i=0; i<38; i++){
bins.add(i, new Bin());
}
}
Bin next(){
int rand = rng.next(38);
return bins.elementAt(rand);
}
Bin get(int bin){
return bins.elementAt(bin);
}
public Outcome getOutcome( String name ){
TreeSet result= new TreeSet();
for( Iterator i = all_outcomes.iterator(); i.hasNext(); ) {
Outcome oc= i.next();
if( oc.name.contains(name) ) {result.add( oc );}
}
return result.first();
}
public void addOutcome(int bin, Outcome outcome) {
all_outcomes.add(outcome);
this.bins.elementAt(bin).add(outcome);
}
}
Bet Class
public class Bet {
public int amountBet;
public Outcome outcome;
public Bet(int amount, Outcome outcome) {
this.outcome = o.
The Arrhenius Theory of acids and bases The theo.pdfanuradhasilks
The Arrhenius Theory of acids and bases The theory Acids are substances which
produce hydrogen ions in solution. Bases are substances which produce hydroxide ions in
solution. HBr------>H+ + Br- since HBr is capable of producing H+ it is an acid
Solution
The Arrhenius Theory of acids and bases The theory Acids are substances which
produce hydrogen ions in solution. Bases are substances which produce hydroxide ions in
solution. HBr------>H+ + Br- since HBr is capable of producing H+ it is an acid.
need help with code I wrote. This code is a maze gui, and i need hel.pdfarcotstarsports
need help with code I wrote. This code is a maze gui, and i need help with the method
shorterstpath(); here is my code:
******mazeApp*******
package mazepackage;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.TextInputDialog;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public class MazeApp extends Application
{
// default canvas size is DEFAULT_SIZE-by-DEFAULT_SIZE
private static final int DEFAULT_SIZE = 768;
private int width = DEFAULT_SIZE;
private int height = DEFAULT_SIZE;
// The graphics context is needed to enable drawing on the canvas
private GraphicsContext gc;
// boundary of drawing canvas, 0% border
// private static final double BORDER = 0.05;
private static final double BORDER = 0.00;
private double xmin, ymin, xmax, ymax;
public static void main(String[] args)
{
launch(args);
}
@Override
public void start(Stage primaryStage)
{
Group root = new Group();
Canvas canvas = new Canvas(width, height);
gc = canvas.getGraphicsContext2D();
gc.setLineWidth(2);
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
root.getChildren().add(canvas);
TextInputDialog tid = new TextInputDialog();
tid.setTitle(\"Maze Size\");
tid.setHeaderText(\"Enter maze size between 10 and 50\");
tid.showAndWait();
int size = Integer.parseInt(tid.getResult());
if (size > 50)
size = 50;
if (size < 10)
size = 10;
primaryStage.setTitle(\"Maze Application\");
primaryStage.setScene(new Scene(root));
primaryStage.setResizable(false);
// Make sure that the application goes away when then window is closed
primaryStage.setOnCloseRequest(e -> System.exit(0));
primaryStage.show();
Maze maze = new Maze(this, size);
// Must solve the maze in a separate thread or else
// the GUI wont update until the end.....
Thread solver = new Thread(
new Runnable () {
public void run()
{
while(true)
{
maze.buildAndDrawMaze();
maze.findShortestPath();
try
{
Thread.sleep(5000);
}
catch(Exception e) { }
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
}
}
});
solver.start();
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setPenColor(Color color) {
gc.setStroke(color);
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setFillColor(Color color) {
gc.setFill(color);
}
/**
* Sets the x-scale to the specified range.
*
* @param min the minimum value of the x-scale
* @param max the maximum value of the x-scale
* @throws IllegalArgumentException if {@code (max == min)}
*/
public void setXscale(double min, double max) {
double size = max - min;
if (size == 0.0) {
throw new IllegalArgumentException(\"the min and max are the same\");
}
xmin = min - BORDER * size;
xmax = max + BORDER * size;
}
/**
* Sets the y-scale to the specified range.
*
* @param min the minimum valu.
Please follow the code and comments for description and outputs C.pdfproloyankur01
Erythrocyte Protoporphyrin
Erythrocyte Protoporphyrin ( hemoglobin precursor) begin to accumulate as hemoglobin as
hematocrit declineduring the 3rd stage of iron deficiency occurs when their is lack of iron limits
hemoglobin production.
World wide,how many people are estimated to have iron deficiency anemia
Ans; 2.0 to 2.5billion ( over 30% 0f world population according to WHO)
Solution
Erythrocyte Protoporphyrin
Erythrocyte Protoporphyrin ( hemoglobin precursor) begin to accumulate as hemoglobin as
hematocrit declineduring the 3rd stage of iron deficiency occurs when their is lack of iron limits
hemoglobin production.
World wide,how many people are estimated to have iron deficiency anemia
Ans; 2.0 to 2.5billion ( over 30% 0f world population according to WHO).
ppt of class and methods in java,recursion in java,nested class,java,command line argument,method overloading,call by value,call by reference,constructor overloading core java ppt
JavaScript Iteration Protocols - Workshop NodeConf EU 2022Luciano Mammino
How many ways do you know to do iteration with JavaScript and Node.js? While, for loop, for...in, for..of, .map(), .forEach(), streams, iterators, etc! Yes, there are a lot of ways! But did you know that JavaScript has iteration protocols to standardise synchronous and even asynchronous iteration? In this workshop we will learn about these protocols and discover how to build iterators and iterable objects, both synchronous and asynchronous. We will learn about some common use cases for these protocols, explore generators and async generators (great tools for iteration) and finally discuss some hot tips, common pitfalls, and some (more or less successful) wild ideas!
Current Score – 0 Due Wednesday, November 19 2014 0400 .docxfaithxdunce63732
Current Score : – / 0 Due : Wednesday, November 19 2014 04:00 PM CST
1. –/0 pointsSEssCalcET2 13.2.002.
Evaluate the line integral, where C is the given curve.
2. –/0 pointsSEssCalcET2 13.2.003.MI.SA.
This question has several parts that must be completed sequentially. If you skip a part of the
question, you will not receive any points for the skipped part, and you will not be able to come
back to the skipped part.
Tutorial Exercise
Evaluate the line integral, where C is the given curve.
is the right half of the circle x2 + y2 = 25 oriented counterclockwise
3. –/0 pointsSEssCalcET2 13.2.007.
Evaluate the line integral, where C is the given curve.
C consists of line segments from (0, 0) to (5, 1) and from (5, 1)
to (6, 0)
Review Problems for Test #2 (Homework)
Rustom Hamouri
Math 344, section 11795, Fall 2014
Instructor: Buma Fridman
WebAssign
xy ds, C: x = t2, y = 2t, 0 ≤ t ≤ 1
C
xy4 ds, C
C
(x + 5y) dx + x2 dy,
C
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
4. –/0 pointsSEssCalcET2 13.2.010.
Evaluate the line integral, where C is the given curve.
is the line segment from
5. –/0 pointsSEssCalcET2 13.2.020.
Evaluate the line integral where C is given by the vector function r(t).
6. –/0 pointsSEssCalcET2 13.3.004.
Determine whether or not F is a conservative vector field. If it is, find a function f such that F =
∇f. If it is not, enter NONE.
f(x, y) = + K
xyz2 ds, C
C
(−2, 6, 0) to (0, 7, 1)
F · dr,
C
F(x, y, z) = (x + y)i + (y − z)j + z3k
r(t) = t2 i + t3 j + t2 k, 0 ≤ t ≤ 1
F(x, y) = ex sin y i + ex cos y j
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('watch_it_player', '/bc_enhanced/sesscalcet2_w_player/scalcet6_16_03_005.html', 0)
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
7. –/0 pointsSEssCalcET2 13.3.005.
Determine whether or not F is a conservative vector field. If it is, find a function f such that F =
∇f. If it is not, enter NONE.
f(x, y) = + K
8. –/0 pointsSEssCalcET2 13.3.011.
Consider F and C below.
(a) Find a function f such that F = ∇f.
(b) Use part (a) to evaluate along the given curve C.
F(x, y) = ex cos y i + ex sin y j
F(x, y) = 4xy2 i + 4x2y j
C: r(t) = t + sin πt, t + cos πt , 0 ≤ t ≤ 11
2
1
2
f(x, y) =
∇f · dr
C
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
javascript:open_bc_enhanced('watch_it_player', '/bc_enhanced/sesscalcet2_w_player/scalcet6_16_03_013.html', 0)
javascript:open_bc_enhanced('chat_about_it', '273494~~~396311')
9. –/0 pointsSEssCalcET2 13.3.015.
Consider F and C below.
(a) Find a function f such that F = ∇f.
(b) Use part (a) to evaluate along the given curve C.
10.–/0 pointsSEssCalcET2 13.3.020.
Find the wor.
C# I need assitance on my code.. Im getting an error message Us.pdfeyezoneamritsar
C#: I need assitance on my code.. I\'m getting an error message \"Use of unassigned local
variable for \"rectangle1 ==2, Square2 == 2, Triangle3 == 3\" on the ShapeDemo Application.
Can you please help me? Here my code:
namespace Lab7ShapeDemo
{
class Triangle : GeometricFigure
{
public Triangle() { }
public Triangle (double height, double width)
{
}
public override double ComputeArea()
{
return ((1 / 2.0) * (width * height));
}
}
}// end on Triangle class
class Square : Triangle
{
public Square() { }
public Square(double height, double width) : base (height, height) { }
public Square (double heightWidth) : base (heightWidth, heightWidth) { }
public override double ComputeArea()
{
return base.ComputeArea();
}
}
} // end of Square class
class Rectangle : GeometricFigure
{
public Rectangle() { }
public Rectangle(double height, double width)
{
}
public override double ComputeArea()
{
return (height * width);
}
}
} //End of REctangle class
public GeometricFigure()
{
height = 0;
width = 0;
area = 0;
}
public GeometricFigure(double height, double width)
{
this.height = height;
this.width = width;
this.area = ComputeArea();
}
public abstract double ComputeArea();
}
} //End of GeometircFigure class
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab7ShapeDemo
{
class ShapesDemo
{
static void Main(string[] args)
{
string Rectangle_HeightString;
string Rectangle_WidthString;
string Square_HeightString;
string Triangle_HeightString;
string Triangle_WidthString;
string Enter_NumberString;
double Rectangle_height;
double Rectangle_Width;
double Square_height;
double Triangle_Height;
double Triangle_Width;
double Enter_Number;
Console.Write(\"Choose a shape from the following options:\");
Console.WriteLine(\"[1] Rectangle\");
Console.WriteLine(\"[2] Square\");
Console.WriteLine(\"[3} Triangle\");
Console.Write(\"Enter the option number (or zero to terminate this program): \");
Enter_NumberString = Console.ReadLine();
Enter_Number = Convert.ToDouble(Enter_NumberString);
Console.WriteLine();
int rectangle1, Square2, Triangle3;
while (Enter_Number != 0)
{
if (rectangle1 == 1)
{
Console.Write(\"Enter the hight of the rectangle: \");
Rectangle_HeightString = Console.ReadLine();
Rectangle_height = Convert.ToDouble(Rectangle_HeightString);
Console.Write(\"Enter the width of the rectanlge: \");
Rectangle_WidthString = Console.ReadLine();
Rectangle_Width = Convert.ToDouble(Rectangle_WidthString);
Rectangle r1 = new Rectangle(Rectangle_height, Rectangle_Width);
displayGeometricFigure(r1);
}
else if (Square2 == 2)
{
Console.Write(\"Enter the height of the Square\");
Square_HeightString = Console.ReadLine();
Square_height = Convert.ToDouble(Square_HeightString);
Square sq1 = new Square(Square_height);
displayGeometricFigure(sq1);
}
else if (Triangle3 == 3)
{
Console.Write(\"Enter the hight of the Triangle\");
Triangle_HeightString = Console.ReadLine();
Triangle_Height = Convert.ToDouble(Tria.
I dont know what is wrong with this roulette program I cant seem.pdfarchanaemporium
I don\'t know what is wrong with this roulette program I can\'t seem to get it to run.
Game Class:
public class Game {
public static void main(String[] args) {
Table table = new Table();
BinBuilder bb = new BinBuilder();
Outcome black = new Outcome(\"Black\", 35);
Bet bet = new Bet(10, black);
table.placeBet(bet);
Bin bin = bb.wheel.get(8);
System.out.println(bin.toString());
System.out.println(table.bets.toString());
System.out.println(black.toString());
ListIterator i = table.bets.listIterator();
Iterator b = bin.outcomes.iterator();
while(i.hasNext()) {
System.out.println(i.next().outcome.name.toString());
while(b.hasNext()){
System.out.println(b.next().name.toString());
if(i.next().outcome.equals(b.next())){
System.out.println(\"Win!\");
}
else{
System.out.println(\"Win :/\");
}
}
}
}
}
Player Class
public class Player {
public Table table;
public Outcome black;
public Bet bet;
public Player(Table table) {
table = new Table();
black = new Outcome(\"Black\", 1);
}
void placeBets() {
Bet bet = new Bet(100, black);
table.placeBet(bet);
}
void win(Bet bet) {
System.out.println(\"You\'ve won: \" + bet.winAmount());
}
void lose(Bet bet) {
System.out.println(\"You lost!\" + bet.loseAmount() + \":/\");
}
}
Outcome class
public class Outcome implements Comparable {
public String name;
public int odds;
public Outcome(String name, int odds){
this.name = name;
this.odds = odds;
}
public int winAmount(int amount){
return amount*this.odds;
}
public boolean equals(Outcome other){
return (this.name.equals(other.name));
}
public String toString() {
Object[] values= { name, new Integer(odds) };
String msgTempl= \"{0} ({1}:1)\";
return MessageFormat.format( msgTempl, values );
}
@Override
public int compareTo(E arg0) {
if(this.equals(arg0)){
return 0;
}
return 1;
}
}
Table Class
public class Table {
public int limit = 1000;
public LinkedList bets;
public Table() {
bets = new LinkedList();
}
public boolean isValid(Bet bet) {
int sum = 0;
for(Bet bett: bets) {
sum += bett.amountBet;
}
return (sum>limit);
}
public void placeBet(Bet bet) {
bets.add(bet);
}
ListIterator iterator() {
return bets.listIterator();
}
}
Wheel Class
public class Wheel extends TreeSet {
Vector bins;
NonRandom rng;
Set all_outcomes;
Wheel(NonRandom rng){
this.rng = rng;
rng = new NonRandom();
all_outcomes = new TreeSet();
bins = new Vector(38);
for (int i=0; i<38; i++){
bins.add(i, new Bin());
}
}
Bin next(){
int rand = rng.next(38);
return bins.elementAt(rand);
}
Bin get(int bin){
return bins.elementAt(bin);
}
public Outcome getOutcome( String name ){
TreeSet result= new TreeSet();
for( Iterator i = all_outcomes.iterator(); i.hasNext(); ) {
Outcome oc= i.next();
if( oc.name.contains(name) ) {result.add( oc );}
}
return result.first();
}
public void addOutcome(int bin, Outcome outcome) {
all_outcomes.add(outcome);
this.bins.elementAt(bin).add(outcome);
}
}
Bet Class
public class Bet {
public int amountBet;
public Outcome outcome;
public Bet(int amount, Outcome outcome) {
this.outcome = o.
The Arrhenius Theory of acids and bases The theo.pdfanuradhasilks
The Arrhenius Theory of acids and bases The theory Acids are substances which
produce hydrogen ions in solution. Bases are substances which produce hydroxide ions in
solution. HBr------>H+ + Br- since HBr is capable of producing H+ it is an acid
Solution
The Arrhenius Theory of acids and bases The theory Acids are substances which
produce hydrogen ions in solution. Bases are substances which produce hydroxide ions in
solution. HBr------>H+ + Br- since HBr is capable of producing H+ it is an acid.
identical is the exact same, this is the top r.pdfanuradhasilks
identical: is the exact same, this is the **top right**, which has just been flipped
over so the ups are down and downs are up. enantomer: - mirror image **bottom middle**, flip
it over up and down is the same, but side-to-side is reversed - or leave it how it is and place it
directly on top of the reference and up and down are opposite but the species match exactly
diastereomer: **top left** everything is in the correct order. Not mirror image since para OCH3
and OH are trans in reference molecule structural: different bonding order **bottom left** broke
the ring adds two Hs formed double bond subtracts two Hs conformational:this is basically
identical, just rotation about single bond **top middle** where the top OH just needs to spin
around the top C What is the bottom right? Is is a mirror image with conformational. This would
be diastereomer. different compound that is not isometric: they seem to all be isomers
Solution
identical: is the exact same, this is the **top right**, which has just been flipped
over so the ups are down and downs are up. enantomer: - mirror image **bottom middle**, flip
it over up and down is the same, but side-to-side is reversed - or leave it how it is and place it
directly on top of the reference and up and down are opposite but the species match exactly
diastereomer: **top left** everything is in the correct order. Not mirror image since para OCH3
and OH are trans in reference molecule structural: different bonding order **bottom left** broke
the ring adds two Hs formed double bond subtracts two Hs conformational:this is basically
identical, just rotation about single bond **top middle** where the top OH just needs to spin
around the top C What is the bottom right? Is is a mirror image with conformational. This would
be diastereomer. different compound that is not isometric: they seem to all be isomers.
This is a nucleophilic substitution reaction that.pdfanuradhasilks
This is a nucleophilic substitution reaction that proceeds by the SN2 mechanism
since it involves a primary alkyl halide. The faster reaction is the one with the stronger
nucleophile and less protic solvent: b.CH3CH2CH2Br ----SH,RSH---> CH3CH2CH2SH + Br -
S is more polarizable than O making its lone pairs more accessible and is hence a better
nucleophile. Also the lone pairs are less solvated in RSH due to much weaker hydrogen bonding
than in H2O.
Solution
This is a nucleophilic substitution reaction that proceeds by the SN2 mechanism
since it involves a primary alkyl halide. The faster reaction is the one with the stronger
nucleophile and less protic solvent: b.CH3CH2CH2Br ----SH,RSH---> CH3CH2CH2SH + Br -
S is more polarizable than O making its lone pairs more accessible and is hence a better
nucleophile. Also the lone pairs are less solvated in RSH due to much weaker hydrogen bonding
than in H2O..
There is some data missing in the problem.The composition of the m.pdfanuradhasilks
There is some data missing in the problem.
The composition of the mixture and the reaction taking place need to be mentioned. The total
experiment might help
Moles of CaC2O4. H2O = mass/ molar mass
= 1.075 g / 146.11 g/mol
= 0.0074 moles
Solution
There is some data missing in the problem.
The composition of the mixture and the reaction taking place need to be mentioned. The total
experiment might help
Moles of CaC2O4. H2O = mass/ molar mass
= 1.075 g / 146.11 g/mol
= 0.0074 moles.
at beginning flask has only NaOH pH = 14 + log [N.pdfanuradhasilks
at beginning flask has only NaOH pH = 14 + log [NaOH] =14+log[1] = 14
{[NaOH]= conc. of naoh in Mole/liter = 1 (given)}
Solution
at beginning flask has only NaOH pH = 14 + log [NaOH] =14+log[1] = 14
{[NaOH]= conc. of naoh in Mole/liter = 1 (given)}.
Tested on Eclipse and both class should be in same packageimport.pdfanuradhasilks
//Tested on Eclipse and both class should be in same package
import java.util.Scanner;
public class P3 {
/*isInteger method implementation
* @param String type
* while parsing if it throw exception then it is not integer
* else it is integer*/
public static Boolean isDouble(String token){
try {
Double.parseDouble(token);
} catch(NumberFormatException e) {
System.out.println(\"Invalid Operand\");
return false;
} catch(NullPointerException e) {
System.out.println(\"Invalid Operand\");
return false;
}
// only got here if we didn\'t return false
return true;
}
public static String evaluate(String expression) {
// Print expression
System.out.print(expression);
// Declare variables for operands, operator, result, and return value
double operand1=0,operand2 = 0,result=0;
char operator;
Boolean flag=Boolean.FALSE;//for if operators were not listed
String returnString = \"\";
String token[]=new String[expression.length()];//for storing all token from expression
// Create Scanner object to parse expression
// create a new scanner with the specified String Object
int i=0;
Scanner scanner = new Scanner(expression);
while(scanner.hasNext()){
token[i]=scanner.next();
i++;
}
scanner.close();
// Compute a numerical result for the expression
if(isDouble(token[0])){
operand1=Double.parseDouble(token[0]);
}
if(isDouble(token[2])){
operand2=Double.parseDouble(token[2]);
}
operator=token[1].charAt(0);
if(operand1!=0&&operand2!=0){
switch(operator){
case \'+\':
result=operand1+operand2;
break;
case \'-\':
result=operand1-operand2;
break;
case \'*\':
result=operand1*operand2;
break;
case \'/\':
result=operand1/operand2;
break;
case \'%\':
result=operand1%operand2;
break;
case \'^\':
result=Math.pow(operand1, operand2);
break;
default:
System.out.println(\"Invalid Operator\");
flag=Boolean.TRUE;
break;
}
// Convert numerical result to string
returnString=Double.toString(result);
if(flag){
return null;
}
// Return result
return returnString;
}else{
return null;
}
}
}
/*********Calculator class***************/
import java.util.Scanner;
/*Calculator class start*/
public class Calculator {
public static void main(String args[]){
/*Variable declaration*/
String expression;
/*Scanner object for input*/
Scanner input=new Scanner(System.in);
/*Prompt for expression*/
System.out.println(\"Please Enter expression\");
expression=input.nextLine();
input.close();
/*Calling Evaluate method*/
String result=P3.evaluate(expression);
/*Printing result if it is not null*/
if(result!=null) {
System.out.println(result);
}
}
}
/***************output************/
Please Enter expression
11.22 + 3.456 =
11.22 + 3.456 =14.676
Please Enter expression
5.555 - 32.14 =
5.555 - 32.14 =-26.585
Please Enter expression
25634.8 * .32 =
25634.8 * .32 = 8203.136
Please Enter expression
5 ^ 4 =
5 ^ 4 =625.0
Please Enter expression
Whatever + 2 =
Whatever + 2 =Invalid Operand
Please Enter expression
4.0 - 1.2.3 =
4.0 - 1.2.3 =Invalid Operand
Please Enter expression
1.234 $ 0.5 =
1.234 $ 0.5 =Invalid Ope.
Solution A person in perfect health has a utility score of 1.0U.pdfanuradhasilks
Solution
:
A person in perfect health has a utility score of 1.0
Utility of a person having some cognitive problems and some social problems = 1 - 0.35 - 0.29
Utility of a person having some cognitive problems and some social problems = 0.36.
Resurgent infection is suggesting that it is viral infection by meas.pdfanuradhasilks
Resurgent infection is suggesting that it is viral infection by measles virus S. In this disease
patients have fever above 101 °F with diarrhea.
Possible reason would be the vaccination in 1963 didn’t work properly and some of the patients
got immuned for the virus. The remaining patients latterly increased infection by transmitting
means.
Herd immunity is termed when a large population or a community get immuned to an infection.
In this case 18, 193 cases of 1989 got herd immunity because the next year number increased
largely.
In US the vaccine, Measles, mumps, and rubella (MMR) vaccine, is administered in between 12
months to 4 years age.
Solution
Resurgent infection is suggesting that it is viral infection by measles virus S. In this disease
patients have fever above 101 °F with diarrhea.
Possible reason would be the vaccination in 1963 didn’t work properly and some of the patients
got immuned for the virus. The remaining patients latterly increased infection by transmitting
means.
Herd immunity is termed when a large population or a community get immuned to an infection.
In this case 18, 193 cases of 1989 got herd immunity because the next year number increased
largely.
In US the vaccine, Measles, mumps, and rubella (MMR) vaccine, is administered in between 12
months to 4 years age..
There are only two functional groups in the molec.pdfanuradhasilks
There are only two functional groups in the molecule: -OH (alcohol) -COO- (ester)
Any other functional group is not found in the molecule
Solution
There are only two functional groups in the molecule: -OH (alcohol) -COO- (ester)
Any other functional group is not found in the molecule.
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdfanuradhasilks
Psychoanalysis
Psychoanalysis was founded by Sigmund Freud (1856-1939). Freud believed that people could
be cured by making conscious their unconscious thoughts and motivations, thus gaining insight.
The aim of psychoanalysis therapy is to release repressed emotions and experiences, i.e. make
the unconscious conscious.
The basic tenets of psychoanalysis include:
Psychoanalysis designates concomitantly three things:
Confrontation
This is a practice often done prior to an intervention where the patient is encouraged to attend to
experiences that they have been avoiding.
Countertransference
This refers to the analyst’s feelings and attitudes towards the patient: his/her reaction to the
patient’s transference, how his/her own experiences impact his/her understanding of the patient,
and the analyst’s emotional responses to the patient.
Defense Mechanisms
Defense mechanisms are used by the ego as a way to deal with conflict of problems in life.
Operating at an unconscious level, defense mechanisms help to reduce negative feelings (e.g.
anxiety and guilt). Common defense mechanisms include repression, denial, and projection.
Dream
It is a mental event that consists of hallucinations involving imagery and emotions. Dreams
occur during the rapid-eye movement (REM) stage during sleep. According to Freud, current
concerns and unconscious childhood wishes are present during the day and require gratification
and it is dreams that allow us to respond to this demands while continuing to sleep (e.g., a person
who is thirsty dreams about drinking water which allows him to continue sleeping rather than
having to wake up and satisfy his thirst)
Ego
Sigmund Freud theorized that the mind was divided into three parts: id, ego and superego. The
function of the ego can be described as running interference between the id and the superego. It
mediates between the drives of the id and the need for self-preservation. The ego is responsible
for the development of the skills needed to function in the world, for example, impulse control,
perception, evaluation and judgment.
Id
Sigmund Freud theorized that the mind was divided into three parts: id, ego and superego. The id
is the part of the mind that contains one’s most basic and instinctive drives. It is governed by
sexual and aggressive desires and pleasure seeking. The contents of the id are entirely
unconscious; Freud stated that the goal of analysis is to uncover what is repressed in the id so
that, “where id was, there ego shall be.”
Superego
Sigmund Freud theorized that the mind was divided into three parts: id, ego and superego. The
superego can be thought of as the part of the mind that acts as the conscience. Its function is to
stop or punish behaviour that is unacceptable according the ego ideal, i.e., the standards, values,
and images of perfection that begin to develop in childhood, and which some psychoanalysts
believe to develop over a lifetime. Failure to live up to these standards results in feeling of gui.
Product of Cyclopentane + H2O(H+) gives No Reaction.It will simply F.pdfanuradhasilks
Product of Cyclopentane + H2O(H+) gives No Reaction.It will simply Float on it.
No reaction
Solution
Product of Cyclopentane + H2O(H+) gives No Reaction.It will simply Float on it.
No reaction.
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdfanuradhasilks
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon. On any given platform,
there arprobably to be differenttypes of IPC that arquicker, except for cross-platform
communication, sockets arregardingthe sole game in city.
They were fancied in Berkeley as a part of the BSD flavor of UNIX operating system. They
unfold like inferno withthe web. With sensible reason — the mixture of sockets with INET
makes reprehensionabsolute machines round the world incrediblystraightforward (at least
compared to different schemes).
Creating a Socket
Roughly speaking, once you clicked on the link that brought you to the current page, your
browser did one thingjust like the following:
#create Associate in Nursing INET, STREAMing socket
s = socket.socket(
socket.AF_INET, socket.SOCK_STREAM)
#now connect withthe net server on port eighty
# - the traditionalcommunications protocol port
s.connect((\"www.mcmillan-inc.com\", 80))
When the connect completes, the socket s may beaccustomedsend outa call for participation for
the text of the page. a similar socket canbrowse the reply, so be destroyed. That’s right,
destroyed. shopper sockets arunremarkablysolely used for one exchange (or atiny low set of
sequent exchanges).
What happens within thenet server may be a bit additionalcomplicated. First, the net server
creates a “server socket”:
#create Associate in Nursing INET, STREAMing socket
serversocket = socket.socket(
socket.AF_INET, socket.SOCK_STREAM)
#bind the socket to a public host,
# and a widely known port
serversocket.bind((socket.gethostname(), 80))
#become a server socket
serversocket.listen(5)
A couple things to notice: we tend to used socket.gethostname() in order that the socket would
be visible to the surface world. If we tend to had used s.bind((\'localhost\', 80)) or
s.bind((\'127.0.0.1\', 80)) we\'d still have a “server” socket, however one that was solely visible
insidea similar machine. s.bind((\'\', 80)) specifies that the socket isaccessible by any address the
machine happens to own.
A second issue to note: low range ports arsometimes reserved for “well known” services (HTTP,
SNMP etc). If you’re kidding, use a pleasant high range (4 digits).
Finally, the argument to pay attention tells the socket library that we wish it to queue as several
as five connect requests (the traditional max) before refusing outside connections. If the
remainder of the code is written properly,that ought to be masses.
Now that we\'ve got a “server” socket, listening on port eighty, we will enter the mainloop of the
net server:
while 1:
#accept connections from outside
(clientsocket, address) = serversocket.accept()
#now do one thing with the clientsocket
#in this case, we\'ll fakethis can be a rib server
ct = client_thread(clientsocket)
ct.run()
There’s trulythree general ways thatduring which this loop might work - dispatching a thread to
handle clientsocket, producea replacementmethod to handle clientsocket, or structure this app to
use non-blocking socke.
C2O2 is a bidendate ligand &Cl - is a mono dendat.pdfanuradhasilks
C2O2 is a bidendate ligand &Cl - is a mono dendate ligang. ---> The coordination
number of Co is 2*2 + 2 = 6 EDTA is a hexadentate ligang & Br is a mono dentate ligang. --->
The coordination number of Co is 6+1=7
Solution
C2O2 is a bidendate ligand &Cl - is a mono dendate ligang. ---> The coordination
number of Co is 2*2 + 2 = 6 EDTA is a hexadentate ligang & Br is a mono dentate ligang. --->
The coordination number of Co is 6+1=7.
Insulin receptor signaling is represented by figure DEffect of hyp.pdfanuradhasilks
Insulin receptor signaling is represented by figure D
Effect of hyper and hypo thyroidism on body temperature is represented by figure E
The effect of thyrotropin on thyroid follicular cells include iodide entrapment and organification
is represented by figure C
Hypovloemia triggers the release of vasopressin in a pulsatile fashion is represented by figure A.
Solution
Insulin receptor signaling is represented by figure D
Effect of hyper and hypo thyroidism on body temperature is represented by figure E
The effect of thyrotropin on thyroid follicular cells include iodide entrapment and organification
is represented by figure C
Hypovloemia triggers the release of vasopressin in a pulsatile fashion is represented by figure A..
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
2. }
public double getCoodX2() {
return coodX2;
}
public void setCoodX2(double coodX2) {
this.coodX2 = coodX2;
}
public double getCoodY2() {
return coodY2;
}
public void setCoodY2(double coodY2) {
this.coodY2 = coodY2;
}
public double getCoodX3() {
return coodX3;
}
public void setCoodX3(double coodX3) {
this.coodX3 = coodX3;
}
public double getCoodY3() {
return coodY3;
}
public void setCoodY3(double coodY3) {
this.coodY3 = coodY3;
}
//This method will calculate the distance between the point
public double distance(double x1,double y1,double x2,double y2)
{
return Math.sqrt(Math.pow((x2-x1),2)+Math.pow((y2-y1),2));
}
//This method will calculate the angle between the two points
public double angleOfPoints(double x1,double y1,double x2,double y2)
{
double xDiff=x2-x1;
double yDiff=y2-y1;
double angle=Math.atan2(yDiff, xDiff)*(180/Math.PI);
3. return angle;
}
//This method will calculate the area of the triangle
public double getArea()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
double S=(lengthA+lengthB+lengthC)/2;
//Calculating the area
double area=Math.sqrt(S*(S-lengthA)*(S-lengthB)*(S-lengthC));
return area;
}
//This method will calculate the Perimeter of the triangle
public double getPerimeter()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
//Calculating the perimter
double S=(lengthA+lengthB+lengthC);
return S;
}
//Displaying the triangle is isosceles triangle or not
public void Isosceles()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
if((lengthA==lengthB) || (lengthB==lengthC) || (lengthC==lengthA) )
{
System.out.println(":: The Triangle is Isosceles ::");
}
else
4. System.out.println(":: The Triangle is Not Isosceles ::");
}
//Displaying the triangle is Equilateral triangle or not
public void Equilateral()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
if((lengthA==lengthB) && (lengthB==lengthC) && (lengthC==lengthA) )
{
System.out.println(":: The Triangle is Equilateral ::");
}
else
System.out.println(":: The Triangle is Not Equilateral ::");
}
//Displaying the triangle is Scalene triangle or not
public void Scalene()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
if((lengthA!=lengthB) && (lengthB!=lengthC) && (lengthC!=lengthA) )
{
System.out.println(":: The Triangle is Scalene ::");
}
else
System.out.println(":: The Triangle is Not Scalene ::");
}
//Checking the triangle is right angled or not
public boolean RightTraingle()
{
double xDiff1=getCoodX2()-getCoodX1();
double yDiff1=getCoodY2()-getCoodY1();
double angleC=Math.atan2(yDiff1, xDiff1)*(180/Math.PI);
double xDiff2=getCoodX3()-getCoodX2();
double yDiff2=getCoodY3()-getCoodY2();
5. double angleA=Math.atan2(yDiff2, xDiff2)*(180/Math.PI);
double xDiff3=getCoodX1()-getCoodX3();
double yDiff3=getCoodY1()-getCoodY3();
double angleB=Math.atan2(yDiff3, xDiff3)*(180/Math.PI);
if(angleA==90 || angleB==90 || angleC==90)
return true;
else
return false;
}
//Checking the triangle is Acute angled or not
public boolean Acute()
{
double xDiff1=getCoodX2()-getCoodX1();
double yDiff1=getCoodY2()-getCoodY1();
double angleC=Math.atan2(yDiff1, xDiff1)*(180/Math.PI);
double xDiff2=getCoodX3()-getCoodX2();
double yDiff2=getCoodY3()-getCoodY2();
double angleA=Math.atan2(yDiff2, xDiff2)*(180/Math.PI);
double xDiff3=getCoodX1()-getCoodX3();
double yDiff3=getCoodY1()-getCoodY3();
double angleB=Math.atan2(yDiff3, xDiff3)*(180/Math.PI);
if(angleA<90 && angleB<90 && angleC<90)
return true;
else
return false;
}
}
_____________________________________________
MyMain.java
import java.text.DecimalFormat;
public class MyMain {
public static void main(String[] args) {
//DecimalFormat Object is used to format the number
DecimalFormat df=new DecimalFormat("#.##");
6. System.out.println("________Traingle#1________");
//Creating TriangleU210 class Object by passing parameters
TriangleU210 tri=new TriangleU210(2.5, 2, 4.2, 3,5, 3.5);
//Displaying the area of the triangle
System.out.println("Area of the Triangle :"+df.format(tri.getArea()));
//Displaying the perimeter of the triangle
System.out.println("Perimter of the Traingle :"+df.format(tri.getPerimeter()));
//calling the Equilateral() method on the TriangleU210 object
tri.Equilateral();
//calling the Isosceles() method on the TriangleU210 object
tri.Isosceles();
//calling the Scalene() method on the TriangleU210 object
tri.Scalene();
//calling the RightTraingle() method on the TriangleU210 object
boolean rbool=tri.RightTraingle();
if(rbool==true)
System.out.println(":: Triangle is Right Angled ::");
else
System.out.println(":: Triangle is Not Right Angled ::");
//calling the Acute() method on the TriangleU210 object
boolean abool=tri.Acute();
if(abool==true)
System.out.println(":: Triangle is Acute Angled ::");
else
System.out.println(":: Triangle is Not Acute Angled ::");
System.out.println(" ________Traingle#2________");
7. //Creating TriangleU210 class Object by passing parameters
TriangleU210 trione=new TriangleU210(-3, 2, 2, 1,-2, -3);
//Displaying the area of the triangle
System.out.println("Area of the Triangle :"+df.format(trione.getArea()));
//Displaying the perimeter of the triangle
System.out.println("Perimter of the Traingle :"+df.format(trione.getPerimeter()));
//calling the Equilateral() method on the TriangleU210 object
trione.Equilateral();
//calling the Isosceles() method on the TriangleU210 object
trione.Isosceles();
//calling the Scalene() method on the TriangleU210 object
trione.Scalene();
//calling the RightTraingle() method on the TriangleU210 object
boolean rbool1=tri.RightTraingle();
if(rbool1==true)
System.out.println(":: Triangle is Right Angled ::");
else
System.out.println(":: Triangle is Not Right Angled ::");
//calling the Acute() method on the TriangleU210 object
boolean abool1=tri.Acute();
if(abool==true)
System.out.println(":: Triangle is Acute Angled ::");
else
System.out.println(":: Triangle is Not Acute Angled ::");
System.out.println(" ________Traingle#3________");
//Creating TriangleU210 class Object by passing parameters
TriangleU210 tritwo=new TriangleU210(3, 0, 6, 0,4.5, -2.6);
8. //Displaying the area of the triangle
System.out.println("Area of the Triangle :"+df.format(tritwo.getArea()));
//Displaying the perimeter of the triangle
System.out.println("Perimter of the Traingle :"+df.format(tritwo.getPerimeter()));
//calling the Equilateral() method on the TriangleU210 object
tritwo.Equilateral();
//calling the Isosceles() method on the TriangleU210 object
tritwo.Isosceles();
//calling the Scalene() method on the TriangleU210 object
tritwo.Scalene();
//calling the RightTraingle() method on the TriangleU210 object
boolean rbool2=tri.RightTraingle();
if(rbool1==true)
System.out.println(":: Triangle is Right Angled ::");
else
System.out.println(":: Triangle is Not Right Angled ::");
//calling the Acute() method on the TriangleU210 object
boolean abool2=tri.Acute();
if(abool==true)
System.out.println(":: Triangle is Acute Angled ::");
else
System.out.println(":: Triangle is Not Acute Angled ::");
}
}
_____________________________________________
Output:
________Traingle#1________
Area of the Triangle :0.03
Perimter of the Traingle :5.83
:: The Triangle is Not Equilateral ::
9. :: The Triangle is Not Isosceles ::
:: The Triangle is Scalene ::
:: Triangle is Not Right Angled ::
:: Triangle is Acute Angled ::
________Traingle#2________
Area of the Triangle :12
Perimter of the Traingle :15.85
:: The Triangle is Not Equilateral ::
:: The Triangle is Isosceles ::
:: The Triangle is Not Scalene ::
:: Triangle is Not Right Angled ::
:: Triangle is Acute Angled ::
________Traingle#3________
Area of the Triangle :3.9
Perimter of the Traingle :9
:: The Triangle is Not Equilateral ::
:: The Triangle is Isosceles ::
:: The Triangle is Not Scalene ::
:: Triangle is Not Right Angled ::
:: Triangle is Acute Angled ::
________________________________________Thank You
Solution
TriangleU210.java
public class TriangleU210 {
//Declaring instance variables
private double coodX1,coodY1,coodX2,coodY2,coodX3,coodY3;
//Default Constructor
public TriangleU210() {
this.coodX1=0;
this.coodY1=0;
this.coodX2=0;
this.coodY2=10;
11. this.coodY2 = coodY2;
}
public double getCoodX3() {
return coodX3;
}
public void setCoodX3(double coodX3) {
this.coodX3 = coodX3;
}
public double getCoodY3() {
return coodY3;
}
public void setCoodY3(double coodY3) {
this.coodY3 = coodY3;
}
//This method will calculate the distance between the point
public double distance(double x1,double y1,double x2,double y2)
{
return Math.sqrt(Math.pow((x2-x1),2)+Math.pow((y2-y1),2));
}
//This method will calculate the angle between the two points
public double angleOfPoints(double x1,double y1,double x2,double y2)
{
double xDiff=x2-x1;
double yDiff=y2-y1;
double angle=Math.atan2(yDiff, xDiff)*(180/Math.PI);
return angle;
}
//This method will calculate the area of the triangle
public double getArea()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
double S=(lengthA+lengthB+lengthC)/2;
//Calculating the area
12. double area=Math.sqrt(S*(S-lengthA)*(S-lengthB)*(S-lengthC));
return area;
}
//This method will calculate the Perimeter of the triangle
public double getPerimeter()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
//Calculating the perimter
double S=(lengthA+lengthB+lengthC);
return S;
}
//Displaying the triangle is isosceles triangle or not
public void Isosceles()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
if((lengthA==lengthB) || (lengthB==lengthC) || (lengthC==lengthA) )
{
System.out.println(":: The Triangle is Isosceles ::");
}
else
System.out.println(":: The Triangle is Not Isosceles ::");
}
//Displaying the triangle is Equilateral triangle or not
public void Equilateral()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
if((lengthA==lengthB) && (lengthB==lengthC) && (lengthC==lengthA) )
{
System.out.println(":: The Triangle is Equilateral ::");
13. }
else
System.out.println(":: The Triangle is Not Equilateral ::");
}
//Displaying the triangle is Scalene triangle or not
public void Scalene()
{
double lengthA=distance(getCoodX1(),getCoodY1(), getCoodX2(), getCoodY2());
double lengthB=distance(getCoodX2(),getCoodY2(), getCoodX3(), getCoodY3());
double lengthC=distance(getCoodX3(),getCoodY3(), getCoodX1(), getCoodY1());
if((lengthA!=lengthB) && (lengthB!=lengthC) && (lengthC!=lengthA) )
{
System.out.println(":: The Triangle is Scalene ::");
}
else
System.out.println(":: The Triangle is Not Scalene ::");
}
//Checking the triangle is right angled or not
public boolean RightTraingle()
{
double xDiff1=getCoodX2()-getCoodX1();
double yDiff1=getCoodY2()-getCoodY1();
double angleC=Math.atan2(yDiff1, xDiff1)*(180/Math.PI);
double xDiff2=getCoodX3()-getCoodX2();
double yDiff2=getCoodY3()-getCoodY2();
double angleA=Math.atan2(yDiff2, xDiff2)*(180/Math.PI);
double xDiff3=getCoodX1()-getCoodX3();
double yDiff3=getCoodY1()-getCoodY3();
double angleB=Math.atan2(yDiff3, xDiff3)*(180/Math.PI);
if(angleA==90 || angleB==90 || angleC==90)
return true;
else
return false;
}
//Checking the triangle is Acute angled or not
public boolean Acute()
14. {
double xDiff1=getCoodX2()-getCoodX1();
double yDiff1=getCoodY2()-getCoodY1();
double angleC=Math.atan2(yDiff1, xDiff1)*(180/Math.PI);
double xDiff2=getCoodX3()-getCoodX2();
double yDiff2=getCoodY3()-getCoodY2();
double angleA=Math.atan2(yDiff2, xDiff2)*(180/Math.PI);
double xDiff3=getCoodX1()-getCoodX3();
double yDiff3=getCoodY1()-getCoodY3();
double angleB=Math.atan2(yDiff3, xDiff3)*(180/Math.PI);
if(angleA<90 && angleB<90 && angleC<90)
return true;
else
return false;
}
}
_____________________________________________
MyMain.java
import java.text.DecimalFormat;
public class MyMain {
public static void main(String[] args) {
//DecimalFormat Object is used to format the number
DecimalFormat df=new DecimalFormat("#.##");
System.out.println("________Traingle#1________");
//Creating TriangleU210 class Object by passing parameters
TriangleU210 tri=new TriangleU210(2.5, 2, 4.2, 3,5, 3.5);
//Displaying the area of the triangle
System.out.println("Area of the Triangle :"+df.format(tri.getArea()));
//Displaying the perimeter of the triangle
System.out.println("Perimter of the Traingle :"+df.format(tri.getPerimeter()));
15. //calling the Equilateral() method on the TriangleU210 object
tri.Equilateral();
//calling the Isosceles() method on the TriangleU210 object
tri.Isosceles();
//calling the Scalene() method on the TriangleU210 object
tri.Scalene();
//calling the RightTraingle() method on the TriangleU210 object
boolean rbool=tri.RightTraingle();
if(rbool==true)
System.out.println(":: Triangle is Right Angled ::");
else
System.out.println(":: Triangle is Not Right Angled ::");
//calling the Acute() method on the TriangleU210 object
boolean abool=tri.Acute();
if(abool==true)
System.out.println(":: Triangle is Acute Angled ::");
else
System.out.println(":: Triangle is Not Acute Angled ::");
System.out.println(" ________Traingle#2________");
//Creating TriangleU210 class Object by passing parameters
TriangleU210 trione=new TriangleU210(-3, 2, 2, 1,-2, -3);
//Displaying the area of the triangle
System.out.println("Area of the Triangle :"+df.format(trione.getArea()));
//Displaying the perimeter of the triangle
System.out.println("Perimter of the Traingle :"+df.format(trione.getPerimeter()));
//calling the Equilateral() method on the TriangleU210 object
trione.Equilateral();
16. //calling the Isosceles() method on the TriangleU210 object
trione.Isosceles();
//calling the Scalene() method on the TriangleU210 object
trione.Scalene();
//calling the RightTraingle() method on the TriangleU210 object
boolean rbool1=tri.RightTraingle();
if(rbool1==true)
System.out.println(":: Triangle is Right Angled ::");
else
System.out.println(":: Triangle is Not Right Angled ::");
//calling the Acute() method on the TriangleU210 object
boolean abool1=tri.Acute();
if(abool==true)
System.out.println(":: Triangle is Acute Angled ::");
else
System.out.println(":: Triangle is Not Acute Angled ::");
System.out.println(" ________Traingle#3________");
//Creating TriangleU210 class Object by passing parameters
TriangleU210 tritwo=new TriangleU210(3, 0, 6, 0,4.5, -2.6);
//Displaying the area of the triangle
System.out.println("Area of the Triangle :"+df.format(tritwo.getArea()));
//Displaying the perimeter of the triangle
System.out.println("Perimter of the Traingle :"+df.format(tritwo.getPerimeter()));
//calling the Equilateral() method on the TriangleU210 object
tritwo.Equilateral();
//calling the Isosceles() method on the TriangleU210 object
tritwo.Isosceles();
17. //calling the Scalene() method on the TriangleU210 object
tritwo.Scalene();
//calling the RightTraingle() method on the TriangleU210 object
boolean rbool2=tri.RightTraingle();
if(rbool1==true)
System.out.println(":: Triangle is Right Angled ::");
else
System.out.println(":: Triangle is Not Right Angled ::");
//calling the Acute() method on the TriangleU210 object
boolean abool2=tri.Acute();
if(abool==true)
System.out.println(":: Triangle is Acute Angled ::");
else
System.out.println(":: Triangle is Not Acute Angled ::");
}
}
_____________________________________________
Output:
________Traingle#1________
Area of the Triangle :0.03
Perimter of the Traingle :5.83
:: The Triangle is Not Equilateral ::
:: The Triangle is Not Isosceles ::
:: The Triangle is Scalene ::
:: Triangle is Not Right Angled ::
:: Triangle is Acute Angled ::
________Traingle#2________
Area of the Triangle :12
Perimter of the Traingle :15.85
:: The Triangle is Not Equilateral ::
:: The Triangle is Isosceles ::
:: The Triangle is Not Scalene ::
18. :: Triangle is Not Right Angled ::
:: Triangle is Acute Angled ::
________Traingle#3________
Area of the Triangle :3.9
Perimter of the Traingle :9
:: The Triangle is Not Equilateral ::
:: The Triangle is Isosceles ::
:: The Triangle is Not Scalene ::
:: Triangle is Not Right Angled ::
:: Triangle is Acute Angled ::
________________________________________Thank You