blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d32fb3874b18821f13c15b5107aff3ec876b455e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH21/EX21.10/ex21_10.sce | 24d0eb30b55df95561e32b4ff7f4034816cee9c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | ex21_10.sce | clc;
clear all;
er=1.0024;//relative permittivity
N=2.7e25;//no of atoms
e0=8.85e-12;//permittivity of vacume
xe=e0*(er-1)/N;//polarisability of argon atom
disp('F m^2',xe,'polarisability of argon atom is:')
|
32377dce829560375d687c2456612174a298854c | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH12/EX12.5/ch12_5.sce | d24df03f03659645c4349958431f913662c0cf14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,289 | sce | ch12_5.sce | clc
disp("Example 12.5")
printf("\n")
printf("Given")
disp("The system ABC is DELTA connected")
disp("Maximum line voltage is 339.4V")
disp("The three impedances are 10(0 deg),10(30 deg),15(-30 deg)")
ZABmag=10;ZABph=0;
ZBCmag=10;ZBCph=30;
ZCAmag=15;ZCAph=-30;
//Let maximum line voltage is Vmax
Vmax=339.... |
0eff400311e863d660bde1404fc833f6b3d845e2 | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP7/diffDiv.sci | 502fd2c83771ed91484e0d2dcdbdc1f7f3ce063e | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 902 | sci | diffDiv.sci | function [a] = diffDiv(t, y)
// diffDiv([1, 3, 4.5,5, 6], [1, 5, 3, 7, -1])
// calcule a, les différences divisées. On a :
// - t est un vecteur de taille n+1 contenant les t_i.
// - y est un vecteur de taille n+1 contenant les valeurs aux t_i.
// Le polynôme p s'écrit :
// p(t) =... |
e6e64b21c9cdb95093809d1b0926c1c25f6152ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH2/EX2.13/Ex2_13.sce | 515671e8ab170343494280cdc45395ca615440ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex2_13.sce | //Chapter 02:Basic Structures: Sets, Functions, Sequences, Sums and Matrices
clc;
clear;
j=[]
s=[]
i=0
upj=input("Enter the upper limit for the inner summation:");
lowj=input("Enter the lower limit for the inner summation:");
upi=input("Enter the upper limit for the outer summation:");
lowi=input("Enter the lower lim... |
0ad49a8f1319cec6a08fd68b5b49a763da0231cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH27/EX27.12/EX27_12.sce | d10d7ae52155ee73272ec8b97aceedb096a57a71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sce | EX27_12.sce | //EXAMPLE 27.12
//ARMATURE
clc;
funcprot(0);
//Variable Initialisation
P=4;.....//Total number of poles
N=1500;...//Speed in rpm
Ia=150;.........//Current in Amperes
Cs=64;.........//Total number of commutator segments
Wb=1.2;.......//Brush span in segments
L=0.05;........//Inductance of each armature in ... |
dc48dc80ac36a054eee8720d29a39da78fe3a591 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH4/EX4.4/Ex4_4.sce | 98c9013e2eed1a7b853fa022bb417fac3ce8a683 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | Ex4_4.sce | //Ex:4.4
clc;
clear;
close;
V_rms=240;//in Volts
V_pk=1.414*V_rms;
printf("Peak voltage of %d V RMS voltage = %f V",V_rms,V_pk); |
4816ab2fee8e80393d17923c54b364d8e14961cd | 68bc9ed8216a93c9b0bc0a6dbde62a7bb8328383 | /param/test_examples.tst | fae2fd432b1548917f9e407eba2007ada5f55682 | [] | no_license | michaelhuang14/AutonomousAgentsGreenhouse | 5e305e522c95dfaaebd7e4f148de87572d4185ce | 83e4aad142c9ca72ba4ababf58c25bed53428f0c | refs/heads/main | 2022-12-20T01:59:27.773408 | 2020-10-08T03:02:55 | 2020-10-08T03:02:55 | 300,742,055 | 1 | 0 | null | 2020-10-08T02:41:49 | 2020-10-02T21:40:36 | Python | UTF-8 | Scilab | false | false | 1,305 | tst | test_examples.tst | # Wait a minute before starting, to give agent a chance to initialize
DELAY FOR 60
#DELAY UNTIL 1-07:00:00 # Wait until 7am before starting to test
BASELINE = smoist_up.bsl
#INTERFERENCE = smoist_up.inf
WHENEVER smoist[0] < 450
WAIT wpump FOR 60 # Wait one minute for water pump to be on
WAIT not wpump F... |
ab66beb56d20b0be382100654f9768d488399234 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH11/EX11.5/ex11_5.sce | 25490e521addef49b9aed4cd265851666f259665 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | ex11_5.sce | clc;
clear all;
T = 300; // Temperature in kelvin
c = 3e8;// Velocity of air
h = 6.626e-34; // Plancks constant
k = 1.38e-23; // Boltzmanns constant
e = 1.602e-19; // Charge of an electron
lambda = 5000e-10; // Wavelength of light in meters
r = exp(((h*c)/(k*T*lambda))); // Temporary variable
t = (1/(r-1)); //... |
f03e18450086fbc854300c64e0b4a8ecf80ce0c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH14/EX14.5/Ex14_5.sce | ee66b7473e79089e2981348983cbb5406a301c74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex14_5.sce | //Chapter 14: Water Treatment
//Problem: 5
clc;
//Initialisation of Variables
wt1 = 32.4 //in mg/L for Ca(HCO3)2
wt2 = 29.29 //in mg/L for Mg(HCO3)2
wt3 = 13.5 //in mg/L for CaSO4
//Solution
wt1_eq = wt1 * 100 / 162.
wt2_eq = wt2 * 100 / 146.
wt3_eq = wt3 * 100 / 136.
temp_h = wt1_eq + wt2_eq /... |
b2057a497d7f8cd8b8348204856fccb4f1ced871 | efe59cd4cca137aba9af447e8040b1eac3738006 | /examples/functions/exemplo4_funcao_soma_argumentos_entrada_saida_variaveis.sce | 47e3c03598c29127e7eb6b6acce0a159bec642f4 | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,187 | sce | exemplo4_funcao_soma_argumentos_entrada_saida_variaveis.sce | /*Este programa especifica um exemplo de declaração e invocação de uma função de soma com argumentos de entrada e de saída variáveis,
a qual recebe argumentos de entrada, realiza a soma desses argumentos e devolve o valor do resultado. Nota-se que os argumentos de
saída variáveis são especificados por uma lista.
*... |
586ff40a19ad8224a8bab9d8149deb9612ffa7bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH2/EX2.7.9/ex_2_7_9.sce | 2f8062dfbee923f4386354e9bc7f0892ea2b0b9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | ex_2_7_9.sce | //Example 2.7.9;//series resistance and power dissipation
clc;
clear;
close;
//given data :
format('v',7)
vr=12;//in volts
t=50;//in micro seconds
d=0.2;//duty cycle
pd=5;//power dissipation in watts
Ig=poly(0,"Ig");
p=-5+1.5*Ig+8*Ig^2;//
x=roots(p);//
rg=(vr-(1.5+8*x(2,1)))/(x(2,1));//resistance in ohms
pg=d*pd;//aver... |
63f1e5d957fc47882ea57e169147670814b4baa5 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/helperHarmonicDistortion.sci | 35378692c14058277bb53ff67f14292d1f996d7a | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,326 | sci | helperHarmonicDistortion.sci | function outputVoltage = helperHarmonicDistortion(inputVoltage)
//helperHarmonicDistortionADC Helper function for HarmonicDistortionExample.m
//Calling Sequence
// outputVoltage=helperHarmonicDistortionAmplifier(inputVoltage)
//Description
//Analizing the harmonic distortion of a weakly non-linear system in the prese... |
d0e2d91bd8345fc2a817c8c3c7552b34ea7f55b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.25/ex10_25.sce | ff65dd70cf28ede2b11f5f17ccacbb8ba4546cfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | ex10_25.sce | // Example 10.25, page no-285
clear
clc
sig=6.22*10^7//per ohm-m
n=5.9*10^28//m^3
e=1.6*10^-19//C
mu=sig/(n*e)
printf("The mobility of electrons in Si is %.2f*10^-3 m^2/V-s",mu*10^3)
|
8aa69272392e888831a3b8146b08c6027a30e104 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.13/Ex7_13.sce | 6690b3ca8b073051a1be97263526ddd5b91ecc5a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 424 | sce | Ex7_13.sce | // Variable declaration
n = 16 // sample size
Mean = 3.42 // sample mean
std_dev = 0.68 // standard deviation
// Calculation
// t(0.025) = 2.131
t = 2.131
y1 = Mean - t*(std_dev / sqrt(n)) // lower limit of range
y2 = Mean + t*(std_dev / sqrt(n)) /... |
93530da7403cb751d12b6e285017c38ffd39c798 | 2cb695d20f412a4611ee5c53edf9eeeadd1654ee | /Tests - image processing toolbox/object_analysis.sce | 885997b6bceff23ccd6af93df211e477077d4401 | [] | no_license | szymonMolinski/Scilab-ImageProcessing | dfa6ea799b371353dee168076522cb7355b3b638 | 87f4d30ea19c4985dd834bf9eee1658a5830d0ea | refs/heads/master | 2021-01-17T11:31:59.456211 | 2017-07-10T19:51:52 | 2017-07-10T19:51:52 | 62,706,467 | 1 | 1 | null | 2017-07-10T19:51:52 | 2016-07-06T08:56:16 | Scilab | UTF-8 | Scilab | false | false | 8,687 | sce | object_analysis.sce | clc
clear
xdel(winsid()) // Close all existing figures
// Scilab Computer Vision tutorial: drawing objects, geometrical analysis
scicv_Init();
function plot_mat(img, desc)
figure()
matplot(img)
title(desc)
endfunction
// ----------> DRAWING OBJECTS <----------
// Canvas for drawing: use... |
03b42db52331025baebd4de62eb9c81030df8225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.21/2_21.sci | e9ca7ee10126a456f77a4d4e02f4533fe58b1d23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sci | 2_21.sci | // 2.21
clc;
th1=30;
th2=60;
th0=th1+th2/2;
Rth1=4.8;
Rth2=6.2;
Rth0=5.5;
ath0=(1/Rth0)*(Rth2-Rth1)/(th2-th1);
printf("\n alpha at o degree= %.4f /degree C ",ath0)
disp('5.5[1+0.0085(th-45)]') |
b1a024580d4f650b796038947e0de3adfd2bbc93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH1/EX1.3/Example1_3.sce | 0502dc7acea940ae199ed37163d7703c15f5e7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | Example1_3.sce | close();
clear;
clc;
//Three resistances in parallel 'R1', 'R2', 'R3', Voltage source 'V'
R1 = 5; //ohm
R2 = 10; //ohm
R3 = 20; //ohm
V = 100; //V
//(a)
//current through R1 'I1'
I1 = V/R1; //A
//current through R2 'I2'
I2 = V/R2; //A
//current through R3 'I3'
I3 = V/R3; //A
mprintf("Current through ... |
36344a9a952eac2123a7f126972ffe8dd4cbd2ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH3/EX3.11/3_11.sce | 0867352f1d5d25fc1474da3a0919b78beab65e0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | 3_11.sce | //3.11
clc;
R=10;
RL=R+R/2;
i1=400/15;
i2=i1;
i3=i1;
Irms_load=(1/(2*%pi)*(i1^2*2*%pi/3+(i1/2)^2*4*%pi/3))^0.5;
printf("RMS value of the load current = %.3f A", Irms_load)
Po=i1^2*R*3;
printf("\nOutput power = %.2f W", Po)
Iavg_thy=1/(2*%pi)*(i1*%pi/3+(i1/2*2*%pi/3));
printf("\nAverage thyristor current = %... |
af5533b91b4bb7e5ea7a1a9ab73355cec1a9ae7f | 5523237709a6b6082f723934030bd36314a3b267 | /frontend/textinput.sce | b257364fb00b09185da92cfdecda7f37b1db236c | [] | no_license | mode777/retrolove | 54d8bd852ed67f4b6c27cdee63f35a5195fadc8c | 4626062c98797f3d4b3c7510ce4d5de1cf3b66e2 | refs/heads/master | 2021-06-01T22:36:42.600874 | 2017-12-18T09:40:50 | 2017-12-18T09:40:50 | 19,409,879 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,566 | sce | textinput.sce | local input = require("frontend/input")
local scene = {}
local currentIndex = {1,1}
local previousIndex = {}
local grid
local cfg = cine.serialize.load("frontend/config.lua")
local sw,sh = love.window.getDimensions()
local font = cine.sourceFont.new("frontend/Roboto-Bold.ttf",cfg.fontSize[3]*(sh/100))
local layer = ci... |
d29560e5cf5a20978b9fed5e3d55de18fea7f047 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /axiom/tprolass.tst | 8b95448a778c7651407e76c0be96faa7471fb5b4 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 1,607 | tst | tprolass.tst | COMMENT | ************************************************************* |
COMMENT | * AUTHOR: R.W. Weyhrauch DATE: around 1978 |
COMMENT | * |
COMMENT | * SUBJECT: Peano/ Robinson arithmetic (with SS) |
COMMENT | * |
COMMENT | * NOTES: See Prolegomena paper in AI Journal 1980 (ap... |
edfa6872b6616d5a89f6c7237636d709db03907d | f492a134695f6d4b2ec01d572569f961a169ef38 | /reversi/tests/horiz_right.tst | 5e88aa82ec5e5a2fbb1f60ce988b5b552193d1cc | [] | no_license | rileythomp/cpp-games | a51b06964a2466268aff733fb5d2a4ec1ce2752f | 1b98e9b33ba5ae7aadb6d7a2e9c45cb266727f0c | refs/heads/master | 2022-06-10T16:09:02.322242 | 2022-05-24T19:10:45 | 2022-05-24T19:10:45 | 157,655,018 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35 | tst | horiz_right.tst | p
asdf
fdsa
3
2
0
0
3
1
3
0
quit
q
|
79e7718d88bfe3b79d2d5ea9b108f27f954beff6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.39/4Ex39.sce | 8de543128b06d515640174168c71ea88bb4bb1a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 4Ex39.sce | //chapter 4 Ex 39
clc;
clear;
close;
hens=50; goats=45; camels=8; numFeet=224;
numKeepers=numFeet-((goats*4+camels*4+hens*2)-(hens+goats+camels));
mprintf("The total number of keepers are %d",numKeepers);
|
8a02f29c53d5400d679829fbbb9c8bb91e222e07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH13/EX13.14/Ex13_14.sce | 9c874a53cb096121d4b4a3368bbf4407d25feb03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | Ex13_14.sce | //Variable declaration:
//From example 13.4:
h1 = 548.0 //Steam enthalpy at the entry and exit to the boiler (kJ/kg)
h2 = 3989.0 //Steam enthalpy at the entry and exit to the turbine (kJ/kg)
h3 = 2491.0 //Steam enthalpy at the entry and exit to th... |
ada3953ff2fbffadfdd949e4a23627835daff72b | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH10/EX10.8/Ch10Ex10.sci | e0600ddc72cf0d1d5371f41ebbe89c83da88c9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,042 | sci | Ch10Ex10.sci | // Scilab Code Ex 10.10 Electron mobility inside conductors : Page-346 (2010)
e = 1.6D-19; // Electronic charge, in C
m = 9.1D-31; // Eelctronic mass, in kg
res = 1.54D-8; // Electrical resistivity of silver, in ohm metre
E = 100; // Electric field applied along the length of the wire, V/m
n ... |
275111b3ce6a6c9c469cb9b8a4ac9fc3a326d5df | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/R03.prev.tst | b8f68628e959fdf60288bf35b60c11d2aa0b29fc | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,335 | tst | R03.prev.tst | 3^3 + 4^3 + 5^3 = 6^3
6^3 + 8^3 + 10^3 = 12^3
9^3 + 12^3 + 15^3 = 18^3
7^3 + 14^3 + 17^3 = 20^3
12^3 + 16^3 + 20^3 = 24^3
18^3 + 19^3 + 21^3 = 28^3
15^3 + 20^3 + 25^3 = 30^3
18^3 + 24^3 + 30^3 = 36^3
14^3 + 28^3 + 34^3 = 40^3
6^3 + 32^3 + 33^3 = 41^3
21^3 + 28^3 + 35^3 = 42^3
3^3 + 36^3 + 37^3 = 46^3
27^3 + 30^3 + 37^3... |
9ae49ea1890d87620567e986e36559af022c8c7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH25/EX25.13/Ex25_13.sce | 2352b370ac4801ab24d72b50f7acc5ccfb135c07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | Ex25_13.sce | clc;
RL=8;
VP=16;
P=(VP^2)/(2*RL);
disp('W',P,"P=");
|
6edfcfef505620750ca4bf97df366971d76b0de6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH2/EX2.12.b/ex_2_12_b.sce | 89d3b95e7a0e4dc105b607a135bbac83ae196fdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | ex_2_12_b.sce | //example 2.1(b)//
clc
//clears the screen//
clear
//clears all existing variables//
a=hex2dec('1E')
b=hex2dec('F3')
c=a+b;
d=dec2bin(c);
e=dec2hex(c);
disp(c, ' addition of given numbers in decimal form = ')
disp(d, ' addition of given numbers in binary form = ')
disp(e, ' addition of given numbers in hexa... |
6c91c7ac2906b53ea4484929ff1cab0dd29e9fea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.3/exa_1_3.sce | 25fffe63420b89887a578143ae0d5294c33d078f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,429 | sce | exa_1_3.sce | // Exa 1.3
clc;
clear;
close;
// Given data
format('v',9)
V_CC= 12;// in volt
V_EE= 12;// in volt
V_BE= 0.7;// in volt
R_C= 10;// in k ohm
R_C= R_C*10^3;// in ohm
R_E= 10;// in k ohm
R_E= R_E*10^3;// in ohm
R_B= 20;// in k ohm
R_B= R_B*10^3;// in ohm
Bita_dc= 75;
// Part (i)
//Ignoring V_BE
I_T= V_EE/... |
83fc2e85102ca629a759d4418193584b4e1b7721 | ab34993146ea6a54f29fa5da0311aa2d0e8bfa6e | /circle_resh/test_circle.sce | bb0593d68e437dd1c53064065c00c451f89741fb | [] | no_license | Lavitha/Imageprocessing_Nov26 | 576e0980836ce39832403a03f26b39cbdc71142b | 9939837f7a0badea463c0db8353b3d25afa9c091 | refs/heads/master | 2021-01-10T16:54:47.481208 | 2015-11-26T11:13:52 | 2015-11-26T11:13:52 | 46,921,766 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,027 | sce | test_circle.sce | aaa=imread("cat.jpeg")
bbb=imread("lenaj.jpeg")
ccc=imread("lenab.bmp")
ddd=imread("lenat.tif")
eee=imread("rect.jpg")
aa=circle(aaa,100, 200, 50, 10, 10, 10, 1, 0, 0)
bb=circle(bbb, 100, 200, 50, 10, 10, 10, 8, 0, 0)
cc=circle(ccc, 100, 200, 50, 10, 10, 10, 4, 0, 0)
dd=circle(ddd, 100, 200, 50, 10, 10, 10, 6, 0, 0)
e... |
0135140968d4270e78b7f8458b3476e90802bef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH15/EX15.1/ex1.sce | d9fe3d80b4b4788b1050ff83b815898489d55459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | ex1.sce | //example 1
//Balancing the Combustion Equation
clear
clc
Mair=28.97 //Molar mass of air in kg/kmol
x=8 //no. of moles of CO2 in products
y=9 //no. of moles of H2O in products
z=7.5 //no. of moles of O2 in products
w=75.2 // no. of moles of N2 in products
NMair=20*4.76*29 //mass of air in kg
NMc=8*12 //mass o... |
ba8dba1c1cf05ddc7293da8a3266a57a6ef0c519 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH5/EX5.1/ex_5_1.sce | e23363db509cba6c6883505b986dd0b3f6445756 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | ex_5_1.sce | //Example 5.1 // frequency
clc;
clear;
close;
//given data :
N=45; // count
t=10; // gate period in ms
f=(N/(t*10^-3))*10^-3;
disp(f,"frequency,f(k-Hz) = ")
|
333d82944c9add6cc3b39a00afd52d5f939483da | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elements_Of_Chemical_Reaction_Engineering_H._S._Fogler_800.zip/Elements_Of_Chemical_Reaction_Engineering_H._S._Fogler_800/CH1/EX1.3/1_3.sce | 9bb22ccc76af86c05446eecd99bcd37de5e3e4b1 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | 1_3.sce | errcatch(-1,"stop");mode(2);////
exec("1.3data.sci");
//CA = 0.1*CA0;
V = (v0/k)*log(1/0.1);
disp("V =")
disp(V)
disp ("dm^3")
exit();
|
63b524881d2d2e00e30215a8903d3d0b7986818b | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch11_II.sce | 992d82fbd51181951c7f4f93d0ae705263f94e1c | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ch11_II.sce | /* Sa se calculeze jacobianul si hessianul functiilor in punctul indicat:
f(x,y)= x^2+y^2-1
x^3-y
(x,y)=(1,2)
*/
deff('q=fct(p)', ['x=p(1)','y=p(2)','q(1)=x.^2+y.^2-1','q(2)=x.^3-y'])
p=[1,2]
[J,H]=numderivative(fct,p)
|
dee3a5529c38da4db033393ce8ba1e95eb8e10b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH6/EX6.3/Ex6_3.sce | d27f6f2fc7bd780dcfc57d1d7d6180585d78bc4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,029 | sce | Ex6_3.sce |
clear//
//Variable Declaration
P=300 //Point Load in N
R_a=100 //Reaction at A in N
R_c=200 //Reaction at C in N
E=12 //Youngs Modulus in GPa
L1=2 //Length of the load from A in m
L2=1 //Length of the load from C in m
b=0.04 //Width of the CS of the beam in m
h=0.08 //Depth of the CS of the beam in m
//C... |
919aedcdfc1cddaf087909bc6c12c03bb2b58ee1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.08/6_08.sce | e9733c6080f998e9d0b3dcb1295b00cfa3460ef0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | 6_08.sce | //pathname=get_absolute_file_path('6.08.sce')
//filename=pathname+filesep()+'6.08-data.sci'
//exec(filename)
//Dryness fraction:
x=0.10
//Pressure(in MPa):
p=0.15
//From steam tables:(at 0.15 MPa):
hf = 467.11
hg = 2693.6
vf = 0.001053
vg = 1.1593
sf = 1.4336
sg = 7.2233
//Enthalpy(in kJ/kg):
h=hf+x*(h... |
b52f2c54b7c918490421718218b3f964779a1e32 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.10/Ex2_10.sce | 047306f2b28e80cc497f4e0f2a0b16ec92a8969b | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | Ex2_10.sce | errcatch(-1,"stop");mode(2);//Ex:2.10
;
;
printf("Resistance = 330 ohms with 2%% tolerance");
exit();
|
0088bbdcd2bcd241a8bd5a2d8e6ae080737efb87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH4/EX4.10/c4_10.sce | 7140f61b95814bf855ecf0b7308bad50b91191da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,778 | sce | c4_10.sce | //(4.10) An industrial process discharges gaseous combustion products at 478K, 1 bar with a mass flow rate of 69.78 kg/s. As shown in Fig. E 4.10, a proposed system for utilizing the combustion products combines a heat-recovery steam generator with a turbine. At steady state, combustion products exit the steam gener... |
f60b23b93d903859c2c2b24f8c3fdd60fe5c90e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.01/16_01.sce | 5522255aeaaa0acf8e45d5c17f09c274d881fd60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sce | 16_01.sce | //pathname=get_absolute_file_path('16.01.sce')
//filename=pathname+filesep()+'16.01-data.sci'
//exec(filename)
//Bore diameter(in m):
d=0.24
//Stroke length(in m):
l=0.36
//Compression ratio:
r=6
//Speed(in rpm):
N=120
//Index of polytropic process:
n=1.3
//Index for adiabatic process:
n1=1.4
//Pressure ... |
22f4bd830202b9ae1bf9007e802a79cb4a1c61aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH4/EX4.2/Ex4_2.sce | d5a114db6168535c49a94ce5470581ec48f75a73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex4_2.sce | //EX4_2 Pg-4.14
clc
printf("When beta_dc=50 ")
beta_dc=50;
alpha_dc=beta_dc/(1+beta_dc);
printf("\n alpha_dc=%.4f \n\n",alpha_dc)
printf(" When beta_dc=190 ")
beta_dc=190;
alpha_dc=beta_dc/(1+beta_dc);
printf("\n alpha_dc=%.4f \n\n",alpha_dc)
printf(" When alpha_dc=0.995 ")
alpha_dc=0.995;
beta_dc=alpha_dc/... |
355ddb862c604a25828278ef9f2b2111eafe6e5d | dc1d4188dde04f37ab742ea41096ef8c2696f393 | /hw1.sci | d53bb82fc4b3f51ac9744a00dba221b2762dc4b9 | [] | no_license | reservoirman/QC | 0253b184a2f75e5e5b7e83187b49b0e9c0bcf376 | 3e6c2ac1b6e47ffbbc2638afa3bf86f925182272 | refs/heads/master | 2021-01-23T00:06:27.731537 | 2015-03-03T17:22:13 | 2015-03-03T17:22:13 | 31,513,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,822 | sci | hw1.sci | //Ten-Seng Guh tg2458
//COMS 4281 Intro to Quantum Computing
//Homework 1 Programming Part
args = sciargs()
numargs = size(args, 2)
if (numargs == 8) then
j = strtod(args(6))
k = strtod(args(7))
m = strtod(args(8))
else
//default values for j,k, and m
disp("Incor... |
9eba1650614867c0e2a075195e3a95c3efd45377 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.6/Ex17_6.sce | 9f2fb91feff5f364165a8a53a96ceec143e22894 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | Ex17_6.sce | clear
//Given
uw=1.33
uo=1.20
//Calculation
//
uow=uw/uo
sinr=(sin(30*3.14/180.0))/uow
r=asin(sinr)*180/3.14
//Result
printf("\n Angle of refraction in water is %0.1f degree",r)
|
d83521ccfb92c9cbc54f9332f6052705ad378fd9 | a8e711a952e9a65995712a54f0f7dfe35ea1d462 | /steganography/steganography.sci | 3739060dd91c752114f3031426b9ecf83801785b | [] | no_license | MulderWhite/muldersLab | c22e890488188c3400e41bab3722c4911ab211d4 | a5ca1823652e76c0a67c697040d93eb02a7ef0f3 | refs/heads/master | 2022-12-20T15:24:13.542598 | 2019-11-29T18:24:17 | 2019-11-29T18:24:17 | 43,511,017 | 0 | 0 | null | 2020-10-13T06:43:01 | 2015-10-01T17:41:38 | Java | UTF-8 | Scilab | false | false | 2,183 | sci | steganography.sci | close;
clear ;
clc;
//% Read in original RGB image.
srcRgbImage = imread('steg_s.png');
//% Extract color channels.
srcRedChannel = srcRgbImage(:,:,1); //% Red channel
srcGreenChannel = srcRgbImage(:,:,2); //% Green channel
srcBlueChannel = srcRgbImage(:,:,3); //% Blue channel
//% Create an all black channel.
allBlack ... |
2778106532d578a668c24715d3f0cbffb4f939b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.28/Ex25_28.sce | e98c4bfe7be18bd582ae5460ed9820e1965d7a43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | Ex25_28.sce | clear
//Given
a=10**6 //J/s
E=200*10**6*1.6*10**-19
//Calculation
N=a/E
//Result
printf("\n Number of fission per second is %0.2f *10**16 ",N*10**-16)
|
dae42ea8d28249d4c815dc3e586cdf1f7a7388a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH4/EX4.14/ex_14.sce | 67075dbc24733023374954943fb83d66d3cce2e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | ex_14.sce | //example(3.14)
c=[-3 1 0 1]
p3=poly(c,'y','coeff')
roots(p3)
|
9e9158b298656810d15ba452df1fd8506496bb7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.6/ex18_6.sce | 011ee45bc8439e6b84b992883d1c4f8372654d88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | ex18_6.sce | // Example 18.6, page no-463
clear
clc
N=2.7*10^25//m^-3
d=0.384*10^-9//m
eps=8.854*10^-12
alfe=4*%pi*eps*d^3
epsr=(1+(2*N*alfe)/(3*eps))/(1-(N*alfe)/(3*eps))
printf("The dielectric constant of Ar is %.8f",epsr)
|
71d776e2c11d4d9fa3ea2840ccfdb2da7af449f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH26/EX26.1/Ex26_1.sce | 8dab47c9fee20a86e4208d83d4eba3100a456435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | Ex26_1.sce |
//To calculate the increase in Internal Energy in the process
//Example 26.1
clear;
clc;
delQ=418;//Heat given to the gas in Joules
delW=40;//Work done by the gas in Joules
delU=delQ-delW;//formula for finding increase the internal energy
printf("Increase in Internal Energy=%.f joule",delU);
|
c3051bd6fbc8210f1ead3b8b20882b3cdd23947e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%sor.sci | 919b17a5f989fbfad619703e01ba648e135242a7 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sci | %sor.sci | function [r]=%sor(l1,l2)
//%sor(l1,l2) constant==rational
//!
r=degree(l2(2))==0°ree(l2(3))==0
if r then r=coeff(l2(2))./coeff(l2(3))==l1,end
|
a99cbed1fb57c04871b4a9b36f53e8ced48f3d7a | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/52.tst | 9dfae25f8f46053c3853f7418c9dd81d9b9fd731 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,116 | tst | 52.tst | 1000 1000
100
950 950 1
948 948 1
951 946 1
948 944 1
951 942 1
948 940 1
951 938 1
948 936 1
951 934 1
948 932 1
951 930 1
948 928 1
951 926 1
948 924 1
951 922 1
948 920 1
951 918 1
948 916 1
951 914 1
948 912 1
951 910 1
948 908 1
951 906 1
948 904 1
951 902 1
948 900 1
951 898 1
948 896... |
d3822d1b77ea7839a392c1f0688e03922313c06c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH7/EX7.1/7_1.sce | b3ebd8aabfc8457ed798646e7940626d2f20f173 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | 7_1.sce | clc
//Intitalisation of variables
clear
v= 1 //cc
p= 1.013*10^6 //dyne cm^-2
r= 4.184*10^7 //ergs
//CALCULATIONS
W= v*p/r
//RESULTS
printf ('Work done = %.4f cal',W)
|
accc6166ad6a3c52eef206ebbe3e5bffa382dd29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH5/EX5.2/Ex5_2.sce | dba5798597dea9f3e003c478dbddfde18ece96d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex5_2.sce | // Exa 5.2
// To calculate reuse factor for AMP and GSM systems.
clc;
clear all;
S_IAMP=18;// S/I ratio in dB
S_IGSM=12;// S/I ratio in dB
PPL=4; // propogation path loss coefficient
//solution
// Using Equation 5.16 on page no 132, we get
N_AMP=(1/3)*((6*10^(0.1*S_IAMP))^(2/PPL));//reuse factor for AMPS... |
e294c0b86dbc4d3a9b9c74028130f6abfefe5412 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH1/EX1.7/EX1_7.sce | d29a1e4a99e8bb576c11850e154915c18fb5e677 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | EX1_7.sce | //Finding of Cappilary rise
//Given
d=0.03*10^-2; //Diameter in meter
st=0.0735; //Surface Tension in N/m
x=0; //contact angle in degree
w=1000*9.81;
//To Find
h=(4*st)*cos(x)/(w*d);
h1=h*10^2;
disp(h);
disp("Capillary rise ="+string(h)+" meter");
disp("Ca... |
1097d36946731cf318a9435858ea6e03d303b3a1 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_9.tst | f088da402dd3a3ad92c6ef68ac9ebb526b2f37b3 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 514,440 | tst | 5.20_9.tst | 20 17:1 256:1 1013:1 1149:1 1160:1 1269:1 1309:1 1621:1 1779:1 1895:1 1912:1 2127:1 2733:1 3551:1 4193:1 4513:2 4589:1 4639:1 4755:1 4833:1 4850:2 4896:1 4944:2 5113:1 5649:2 5788:1 5813:1 5911:1 6080:1 6717:1 6979:1 7004:1 7012:1 7049:1 7196:1 7248:1 7473:1 7526:1 7657:1 7693:1 7796:1 8038:1 8091:1 8144:1 8217:1 8255:... |
e55ef7617a4354c87cb17f64bce71f5bc709f814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH3/EX3.1/ex1.sce | 0d3b3ea61406317b227ef2d30ca79a6af2a8a885 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | ex1.sce | //ex1
//Pressure of Saturated Liquid in a Tank
clc
Psat=70.183;//saturated pressure @90C using steam table A-4 in kPa
printf('From steam table Psat @ 90 C = %.3f kPa',Psat);
vsat=0.001036;//saturated specific volume @90C in m^3/Kg
m=50;//mass in kg
V=m*vsat;//Volume of tank in m^3
printf('\n Total Volume of Tan... |
b7ffeeb020e851e922ce90dfacbc7c5e99e57bef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2378/CH1/EX1.11/Exa_1_11.sce | a61918dfef6a6f981c154827c62dd5b20fbab2fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Exa_1_11.sce | //addition of harmonic motion
//Exa_2_11
clc;
clear;
close;
A=sqrt((10+15*cos(2))^2 + (15*sin(2))^2);
alpha=atand((15*sin(2))/(10+15*cos(2)));
disp("x(t)=R*%e^(i*(omega*t+alpha))");
disp("where ");
disp(A,"A =");
disp(alpha,"alpha ="); |
d277d8ae6c2b37f6f954be8a7ad3960958d8e5df | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/binomial/binoinv.tst | 6e462d1d58bce2fc6afce4b3b2a396c33fa762eb | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,020 | tst | binoinv.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCI... |
208addf6a2c802bd619059dd094b07b03e2616f7 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnBa/enba.0-7.tst | 4da55171433460ac1c81c4e027b91e3af8ba3511 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 429,684 | tst | enba.0-7.tst | a b b a s আ ব ্ ব া স
a b d u l r a p h i k আ ব দ ু ল র ফ ি ক
a b e r d a r e আ ব ে র ড ে য় া র
a b e r d e e n আ ব ে র দ ি ন
a b h a i p u r অ ভ য় প ু র
a b u k a l a m আ ব ু ক া ল া ম
a c h a l p u r অ চ ল প ু র
a c t u n অ ্ য া ক ট ু ন
a d a i r আ দ ে র
a d e c c o অ ্ য া ড ে ক ো
a d i r o n d a c k আ দ ি র ো ন ্ ... |
080caf7df40573b0e210e83db3c342e00aa03e7d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_B._S._Narang_3622.zip/Material_Science_B._S._Narang_3622/CH6/EX6.3/Ex6_3.sce | b5c97871d32cd7460eebe8bc511520cc65e1a34e | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | Ex6_3.sce | errcatch(-1,"stop");mode(2);//Initialisation of variables
c=3e10
//eauating m=2*mo and cancelling we get
v=sqrt(.75*c^2)// cm per s
printf('required velocity is %e cm per sec \n',v)
exit();
|
a18f5729c7a18f84292da0fb753b2ec803bd9642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.4/Exa4.sce | b01159e9bf7977bbe898e4f8c6755e130782a3f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,277 | sce | Exa4.sce | //Exa 4
clc;
clear;
close;
//given data :
inINV=100000;//initial investment in Rs. and equal for all projects
//Project A : cash in flows of 1st,2nd,3rd,4th and 5th years
CIF1=30000;//in Rs.
CIF2=30000;//in Rs.
CIF3=30000;//in Rs.
CIF4=30000;//in Rs.
CIF5=30000;//in Rs.
//Project A : Cummulative cash in flo... |
fa642a985ee668fbe704aaa1e09f57ec842a12a5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/util/g_tril.sci | 9cb3916d5b21a20c7a9112c76211c6173b0ccb2f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sci | g_tril.sci | function d=g_tril(a,k)
// g_tril - implement tril function for sparse matrix, rationnal matrix ,..
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
select type(a)
case 1 then
d=tril(a,k)
case 2 then
d=tril(a,k)
case 4 then
[m,n]=size(a)
i=find(tril(ones(a),k))
a=matrix(a,m*n,1)
d=emptystr(m*n,1)
d(i)=a(i)
d=mat... |
1d74329d545590fb5b154419902972ca268e5b94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH3/EX3.4/Chap3_Ex4_R1.sce | a71a1f73aa52fd0d013efcc484dc7de529b60434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Chap3_Ex4_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-3,Example 4,Page 49
//Title:Mass ratio
//================================================================================================================
clear
clc
//INPUT
U=2000;//specific internal energy o... |
7f983cf04ee3ad6a44bff23558c2bce157126bab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.33/Ex2_33.sce | 132e1b1b04ae12c774728239f122a2f0752276ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | Ex2_33.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 33 // read it as example 32 in the book on page 2.86
clc;
disp("CHAPTER 2");
disp("EXAMPLE 33");
//VARIABLE INITIALIZATION
r1=20; //in Ω
r2=30; //
r3=40; //
l1=0.5; ... |
723f71b159ad0a020eed3a67c7cf87cc078d7164 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH3/EX3.11/EX_3_11.sce | 40072643a8d1eb0bf0046cf45746c6f19805a9f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | EX_3_11.sce | //Ex 3.11
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
clear;
clc ;
close ;
syms n;
a=0.5; //assume constant value
x =(a)^n;
X1= symsum (x,n ,0, %inf );
a=2; //assume constant value
X2= symsum (x,n ,0, %inf );
if (X1<=%inf)
disp('Hence Summation < infinity. Given System is Stable f... |
8629d27851d57325e9ddb3c01151d57d194511f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH5/EX5.9/Ex5_9.sce | b07c2aaaf284b1f17342a9567176ca9ac457900f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex5_9.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=(round(sd*100)/100)
dms=[d m sd]
endfunction
a=26.0/60+51.0/3600;//angle in degrees
p=56.0/60+5.1/3600//polar distance
//calculation
H=aco... |
3f4cb3d932ea78492638d0999423f8de0c4fb120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.9/i_9.sce | 749b5aabfbf602609f8e8f7f67ad8e657ae86644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | i_9.sce | //Determine the output of the motor.
clc;
clear;
eff=80/100;
V=220;
I=8;
// Power Equation P=V*I
P=V*I;// Input Power
Pout=eff*P;// Output Power
disp('watts',Pout,'The output power of the motor =')
|
c756470b4dbfd12f0b0998b7a9495ff9f0597168 | b61214213da59c049ec1a018e815f4feb95bccca | /lexers/Scilab/estimate_lincoeff.sce | 72c26c915cba4428bf670b28101918b72e39e329 | [] | no_license | Alexey-T/lexer_tests | 25ab893f928fe2ac073c153e349c140fd3bd8678 | 3d26a98a4f9a2ae12c4074ea90b9416d75736b83 | refs/heads/master | 2023-08-17T13:07:10.432096 | 2023-08-13T06:51:15 | 2023-08-13T06:51:15 | 74,854,492 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,411 | sce | estimate_lincoeff.sce | // Copyright 2012 Manolo Venturin, EnginSoft S.P.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
258fb7b83118f416d5b77c9b31a4ed562def355c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.24/Ex18_24.sce | 097fe2599f0a2c4b356d0e4088bc31c7b549d4f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex18_24.sce | // scilab Code Exa 18.24 Calculation on an axial compressor cascade
beta1=51;
beta2=9;
alpha_1=7; // air angle at rotor and stator exit
u=100; // test section velocity of air in m/s
cx=u/(tand(alpha_1)+tand(beta1));
w1=cx/cosd(beta1);
alpha2=atand(tand(alpha_1)+tand(beta1)-tand(beta2))
c2=cx/cosd(alpha2);
... |
d9194e85c80254005e8d031b33566f187a3bd4cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.7/4_7.sce | b8ace995154f3c3be708dc1ad1c7fb3c7996462b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | 4_7.sce | clc,clear
printf('Example 4.7\n\n')
P=400 //power absorbed in watts
phi=acos(0.05) //power factor angle
f=40*10^6 //frequency in hertz
k_0=8.854*10^-12 //permittivity of free space
k=5 //relative permittivity of wood
A=200*10^-4 //area of cross section of plate in m^2
t=0.02 //thickness in m
C=k_0*k*A/t //... |
8351de5a3dff027b992892810f0a78600ec1af48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.32/ex_1_32.sce | 62571dd3c3931eaa07c27e9971b819625407f093 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | ex_1_32.sce | //Example 1.32// expression of output
clc;
clear;
close;
//I1=2*sin(2*t)+0.2*cos(8*t);//
//I1=2*sin(2*t)-0.2*sin(8*t+%pi);//
w=2;//
t=0.15;//secomds
r=1/(sqrt(1+(w*t)^2));//
mo=w*r;//magnitude
pf=atand(w*t);//degree
//Io=mo*sin(2*t-16.7);//output
x=0.2
w1=8;//
t=0.15;//secomds
r1=1/(sqrt(1+(w1*t)^2));//
mo1=x*r;//magni... |
43210ccafaea42a24145c92ef43ed93dea13ded2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.14_18.tst | c353df1922008a1db63c9c23e6a8a8cf4df57c93 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 644,760 | tst | 5.14_18.tst | 14 175:1 227:1 855:1 1194:1 1595:1 1974:1 2218:1 2854:1 3049:1 3391:1 4905:1 5020:1 5722:1 5822:1 5928:1 6465:1 6492:1 6606:1 6958:1 7255:1 7820:1 7831:1 7853:1 8164:1 8252:1 8701:1 8820:1 8954:2 9021:1 9065:1 9379:1 10032:1 10744:1 11602:1 11928:1 11987:1 12412:1 12697:1 12728:1 13186:1 13211:1 13301:1 13315:1 13384:1... |
00218eb05439243fdd11cd73fc889d6fbc6fd777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH15/EX15.3/ex15_3.sce | 8398696a6c149c7a03c8280d808ab679e2b14d26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | ex15_3.sce | clc;clear;
//Example 15.3
//calculation of binding energy
//given values
Mp=1.00758;//mass of proton in amu
Mn=1.00897;//mass of nucleon in amu
M=4.0028;//mass of Helium nucleus in amu
amu=931.4;//amu in MeV
//calculation
E1=(2*Mp+2*Mn-M)*amu;//total binding energy
disp(E1,'Binding energy in MeV is');
E... |
d0e6b0614e1dc909b30f066993a5e61b79435448 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/CylinderSubsonic_WeakDG_Implicit.tst | c231da0599e824d4cf20d832f47274eb2d414a44 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,056 | tst | CylinderSubsonic_WeakDG_Implicit.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler, Subsonic Cylinder, WeakDG advection, Implicit solver</description>
<executable>CompressibleFlowSolver</executable>
<parameters>CylinderSubsonic_WeakDG_Implicit.xml</parameters>
<files>
<file description="Session File">CylinderSubs... |
2ab28d3a8a3ced8ba4f5aa78754404c679598c3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.18.a/20_18a.sce | 97d369ca439150eace4e83f22a629e82c7963988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | 20_18a.sce | clear;
clc;
r1=3e6;
x=10;
r=150e6;
rb=9e6;
x1=x*rb/r1;
xc=inv(2*inv(x1));
xt=rb*100/r;
x=(inv(inv(xt)-inv(xc)))-5;
printf("the reactance that should be added= %d percent",x);
|
23451f1564ecf7c32e71a0b7bae8d1d10b718eac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.26/Ex24_26.sce | 07ffe9cd453cb4b0f02206d853789a0bfe58d54d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Ex24_26.sce | // Example 24_26
clc;funcprot(0);
//Given data
T_1=303;// K
p_1=0.9;// bar
p_2=4.5;// bar
T_3=1000+273;// K
p_3=1.1;// bar
e=0.8;// Effectiveness of heat exchanger
n_c=0.85;// Isentropic efficiency of compressor
n_t=0.80;// Isentropic efficiency of turbine
m_a=5;// kg/sec
C_p=1.005;// kJ/kg.K
r=1.4;// Sp... |
f5b0421c5b8d54a346d961249a781ff4d5c3e44c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.1/ex_9_1.sce | d78d05755ca219f79f850fc77371b1b869e69084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | ex_9_1.sce | //Example 9.1 // current
clc;
clear;
close;
//given data :
n=20; // dry cells of emf
E=1.5; // emf in volts
R=5; // external resistance in ohm
r=0.5; // internal resistance in ohm
I=(n*E)/(R+(n*r));
disp(I,"current flowing,I(A) = ")
|
a2ca479cf45a18b8f695f712f00596d6a9d5a69a | 0778f91e335afef58ae45c5a33184587cee76088 | /Integração.sce | fdf492660a4925b0eede4010022d6796a4e025d8 | [] | no_license | LtavaresII/CN | b38e6f5531a3597f8705bdf163f4cec49f49d51e | 0dcfb182692dee3ecf71d62162f986f816b3d687 | refs/heads/master | 2020-03-25T23:35:53.410172 | 2018-12-05T14:17:32 | 2018-12-05T14:17:32 | 144,282,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Integração.sce | function y=f(x)
y=2./(x+8)
endfunction
function integral=Trapezio(a,b,n)
h=(b-a)/n
x=a:h:b
y=f(x)
I=y(1)
for i=2:n
I=I + 2*y(i)
end
integral=(h/2)*(I+y(n+1))
endfunction
integral=Trapezio(1.8,3.2,10)
n=((10^5)*(4./(1.8+8)^3)*((b-a)^2))/12
n=70 |
3d3a631369db6ce04f9957aa7c43129569ec50f6 | 27c8131743b503e49c4a4c184b396e4576d47b31 | /Week4/code.sce | ee36442745ed1574ebe54f7e509d9517796a819e | [] | no_license | tienanh-1999/DigitalSignalProcessing-Scilab | c4f9e506bd1877a915646d1f35b4b93bbcbdd09c | 7f91b44b74f31e690f301bdc04efcc3076ed37df | refs/heads/master | 2020-08-03T16:44:15.659180 | 2019-10-22T08:54:04 | 2019-10-22T08:54:04 | 211,817,238 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,953 | sce | code.sce | function draw_system (an, bm, opt)
loadXcosLibs();
scs_m = scicos_diagram();
scs_m.props.title = "Diagram";
if (opt == 0) then
index = 0
// x(n)
index = index + 1
scs_m.objs(index) = CONST("define");
scs_m.objs(index).graphics.exprs = "x(n)";
scs... |
586b85d9d8c2c4187fc205ebec88983e67454e8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.2/ex5_2.sce | 3612372a813908b2548b56126a47ee7eb1a097d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | ex5_2.sce |
clc;
clear all;
t = 0.5e-2; // Thickness in meters
r = 2650; // Density in Kg per cubic meters
p=1;//for fundamental vibration
Y = 7.9e10; // Youngs modulus in Newton per square meter
f = (p/(2*t))*sqrt(Y/r);//The fundamental frquency
disp('Hz',f,'The fundalmental frquency is ')
|
c51c33e309291760a562c71d1dade588ede19cd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH2/EX2.18/Ex2_18.sce | 39779419befa987f75e98abbca92120b9f96508c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Ex2_18.sce | //Keyword matrix for the example Fig 2.18
// Move scilab to current file directory
[u,t,n] = file()
n = strcat(n)
file_name = basename(n)+fileext(n)
file_name = strcat(file_name)
ind=strindex(n,file_name)
path = part(n,1:ind-1)
chdir(path)
exec("Chapter_2.sci",-1)
key = "PLAYFAIREXAMPLE"
mat = playfa... |
07c3f843cc62ae62b790a967ae7814635af9b955 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH22/EX22.11/Ex22_11.sce | be437519c33548fa1351348396ce2cdc38f323e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | Ex22_11.sce | //example-22.11
//page no-674
//given
//depth of penetration at 3K is 39.8 nm and at 7.1 K is 1730 A
T1=3 //K
T2=7.1 //K
dp1=39.6*10^-9 //m
dp2=1730*10^-10 //m
//as we know that depth of penetration and temp are related as
//(dp(T)/dp(T0))=1/(1-t^4/Tc^4)
//so we get
//at 3K
//let dp(T0)=dp0
//dp0=sqrt(... |
5d3bc091c4131f24ddfe392f2008b840f4ba90ad | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/IncNavierStokesSolver/Tests/bfs_tg.tst | f4efd0335981138d4e5d4fdf50a0676c24086ad1 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | tst | bfs_tg.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Transient Growth (Modified Arnoldi): Backward-facing step</description>
<executable>IncNavierStokesSolver</executable>
<parameters>bfs_tg.xml</parameters>
<files>
<file description="Session File">bfs_tg.xml</file>
<file description="Ses... |
4cf05daa237ec212b9ef6ab372cf2b823f304b8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH3/EX3.5/ex3_5.sce | 81c094609983b1373b440b7f9adb42b24244af87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | ex3_5.sce | // Exa 3.5
clc;
clear;
close;
format('v',5)
// Given data
R_L = 1.2;// in k ohm
R_L = R_L * 10^3;// in ohm
Vi = 16;// in V
R = 1;// in k ohm
R = R * 10^3;// in ohm
// The value of V_L
V_L = (R_L*Vi)/(R+R_L);// in V
disp(V_L,"The value of V_L in V is");
V_Z = 10;// in V
// The value of V_R
V_R = Vi-V_L... |
f88cbaa7b0acb41a2442b8e939e2e21076457b62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3417/CH3/EX3.6.1/Ex3_6_1.sce | 69aacdf539233b80c0354c86759fe25b3bcf7d5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,904 | sce | Ex3_6_1.sce | //Ex3.6.1.;calculate: solar altitude anglr,Incident angle,Collector efficiency
//Solar declination :delta
n=1
delta=23.45*sin((360/365)*(284+n));
printf(" Solar declination delta=%f degree",delta);
fie=22;//degree
//solar hour angle ws=0,(at mean of 11:30 and 12:30)
ws=0;
//Solar altitude anglr alpha is given... |
73c779ffe74d8f24098752bdbf2115be0b10c684 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.7/Ex_1_7.sce | 0917d8fa0bd50dbb27a164b96bfb73334a163a38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Ex_1_7.sce | //Example 1_7
clc;
clear;close;
//Given data
i_latch=40*10^-3;//A
t=40*10^-6;//s
Vdc=90;//V
R=25;//ohm
L=0.5;//H
//Solution :
i=Vdc/R*(1-exp(-R*t/L));//A
disp("Current in the circuit is "+string(i)+" A, it is less than latchig current, the thyristor will not turn on.");
R=Vdc/(i_latch-i);//ohm
disp("Ma... |
7d25a2406844d99596fa56eb7610bc3655254d56 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/util/g_round.sci | 4921d3981c239a072641075ce9258c6edf1e38b7 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sci | g_round.sci | function sp=g_round(a)
[ij,v,mn]=spget(a)
sp=sparse(ij,round(v),mn)
|
5ae187d56a88d82fb8d202122a9d580a14177c11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.35/Ex4_35.sce | d3e35916775ff830b2f2cfa8db24301ea9619386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,148 | sce | Ex4_35.sce | clc;
V=230;//supply current
Pout=15000;//output voltage
Ra=0.2;//armature circuit resistance
Rse=0.1;//resistance of series field winding
Nf=1000;//shunt field turns per pole
//Data for magnetization curve at 1500 rpm
If_=[0 0.2 0.4 0.6 0.8 1.02 1.15 1.32 1.56 1.92 2.4];//field current at 1500 rpm
Ea=[6 40 80 1... |
438ae7450069b59f279b25a0f35206b5732dd30c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Dravidian/kan.tst | 5d8c9a885d0d939929bfe7d1c7462595e010db4d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29,384 | tst | kan.tst | ಹೋಗು V;MASC;PL;3;FUT
ಆಗು V;PL;1;FUT
ಸಾಯಿಸು V;NEUT;PL;3;FUT
ಕೊಡು V;FEM;POT;SG;3
ನಡೆ V;POT;PL;2
ಆಗು V;SG;1;POS
ಆಗಮಿಸು V;IMP;PL;1
ಘೂಕ N;NOM;PL
ಕರೆ V;MASC;SG;3;FUT
ತೊಳೆ V;NEUT;PL;3;FUT
ಕೆಮ್ಮು V;NEUT;PL;3;FUT
ಕೇಳು V;PL;2;PRS
ಸಾಯಿಸು V;FEM;PL;3;PST
ಕಾಪಾಡು V;NEUT;SG;3;FUT
ಕೆಮ್ಮು V;SG;2;POS
ಪುಷ್ಕರಿಣಿ N;GEN;SG
ಹಾಡು V;NEUT;PL;3
ಆ... |
b10ce7554065a9867dc128a566cfaebe244d22bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.6/6_6.sce | 3bbc8e794b84ac90ffb100582b799d4395b1f3e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 6_6.sce | clc
//initialisation
m=2//kg
T=273//k
r=8314.3//j/mol/k
//CALCULATIONS
c=sqrt(3*r*T/m)
Ti=(4*c*c*m/(3*r))
C=Ti-273
//results
printf(' temperature at which rms speed will double is= % 1f c',C)
|
b1419f663af94459b49a227809a4fca251ad6653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.22/Ex12_22.sce | 898a0dce77dd603ba292cfc744455e69d9cdfdb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Ex12_22.sce | //=====================================================================================
//Chapter 12 example 22
clc;clear all;
//variable declaration
f1 = 2*10^6; //frequency from second data in Hz
f2 = 1*10^6; //frequency from first data in Hz
C1 = 230*10^-12; //capacitance in F
C2 =... |
c4119fc9cb7feed478ef35ee4c0e5e7587fb45c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH14/EX14.8/14_8.sce | 695003f27d5a1ae6741cf79f0cac1a64265807a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 14_8.sce | //Example 14.8
//Gauss Legendre Two Point Rule
//Page no. 472
clc;close;clear;
deff('y=f(x)','y=1/(x+3)')
s=integrate('f(x)','x',-1,1)
printf('By Direct Method, I = %g',s)
s=f(-1/sqrt(3))+f(1/sqrt(3))
printf('\n\n By Gauss-Legendre 2 point rule, I = %g',s) |
c648b0600c547696d12f7d7789dbc29be7706107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.16/Example11_16.sce | 3c161203aba2f7b08cd3ceca961abd161c5b99b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,212 | sce | Example11_16.sce | ///Chapter No 11 Steam Boilers
////Example 11.16 Page No 247
///Find Theoretical draught produced in water
//Input data
clc;
clear;
hw=1.9; //Drauhgt water in cm
Tg=290+273; //Temp of flue gases in degree celsius
Ta=20+273; //Ambient temp in degree celsius
ma=22; //Flue gases... |
e3360d874b11f25d8c76d774056831ef13ab0a56 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.6/EX8_6.sce | 96765d36090fcdd96ed96f2dda9697e60fc4c46a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,213 | sce | EX8_6.sce | clc;funcprot(0);//Example 8.6
//Initilisation of Variables
Th=120;.....//saturation temparature of vapour in degrees celcius
Tci=30;......//Initial temparature of cooling liquid in degrees celcius
mc=1;....//Mass flow rate of liquid in kg/s
Tco=65;......//Outer temparature of cooling liquid in degrees celcius
hfg... |
a730954febb6683f1d8c4b5bdb9e68bf4e917b9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.5/EX26_5.sce | 7002d7116b97d4511557787cfe18f4cf3b49b68e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sce | EX26_5.sce | //EXAMPLE 26.5
//SHORT SHUNT COMPOUND GENERATOR
clc;
funcprot(0);
//Variable Initialisation
I=30;.............//Load current in Amperes
V=220;.............//Terminal voltage in Volts
Rsh=200;............//Resistance of shunt field in Ohms
Ra=0.05;...........//Resistance of armature in Ohms
Rse=0.30;.......... |
340e4665981b100d5d5a99ee7e0f4113a00b1b9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX4.14/EX3_14.sce | cac8e21587688db0c3b6a323bfeb720d26ee9a3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | EX3_14.sce | //EXAMPLE 3-14 PG NO 182-183
X=[400+%i*0 -6+%i*0,-200-%i*346.410 6-%i*0];
Y=[12+%i*0 -6+%i*0,-6+%i*0 6-%i*8];
I1=52.31-%i*7.120;
I2=37.957-%i*14.23;
Ia=I1;
disp('i) CURRENT (Ia) is in rectangular form = '+string (Ia) +' A ');
Ib=I2-I1;
disp('i) CURRENT (Ib) is in rectangular form ... |
36a5fba676e47c136f0f44c125844d6961945e90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH6/EX6.1/Example6_1.sce | 5fb3f21eb441c29deeff1752d1b76917c3cc8c79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Example6_1.sce | //Example 6.1
clc;
clear;
close;
format('v',5);
//Given data :
Do=25;//mm
Dc=20;//mm
H=85;//mm
x=335;//mm
y=350;//mm
a=%pi/4*Do^2;//m^2
ac=%pi/4*Dc^2;//m^2
Cc=ac/a;
disp(Cc,"Coefficient of contraction : ");
Cv=sqrt(x^2/4/H/y);
disp(Cv,"Coefficient of velocity : ");
Cd=Cc*Cv;
disp(Cd,"Coefficient of di... |
cdf4504d6cae661a3a4514ae76f6986b7354fa05 | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/runfoxrabbit.sce | 001cc0926d7797bfaf70be0455ba7059997afbcc | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | runfoxrabbit.sce | getf('fox_rabbit.sce');
x=ode([22;500],0,[0:.01:10],fox_rabbit);
//set("figure_style","new") //create a figure
subplot(211)
plot2d([0:.01:10],x')
xtitle('Fox and Rabbit History','Years','Population');
subplot(212)
plot2d(x(1,:),x(2,:))
xtitle('Fox and Rabbit Interaction','Foxes','Rabbits');
|
671d9da76c44a1661d44724ad8b511d01ea787c5 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/armcov/armcov4.sce | 55fb568138e740eaf69aa21db99008653fd190f1 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | armcov4.sce | //check o/p when i/p is of type char
y=['a' 'a' 'b' 'a'];
f=armcov(y,3);
disp(f);
//output
//!--error 10000
//length of input vector should be greater than 3/2 times of the input order of the model
//at line 7 of function armcov called by :
//f=armcov(y,3);
//corresponding MATLAB o/p
//Error using arpest
//... |
77fd67c0a0999ae712b8f93196f401ea70c8db0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH5/EX5.1/Example_5_1.sci | 9f465edd039c1598b59a3ad1491708da9deacf49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sci | Example_5_1.sci | clear;
clc;
printf("\n Example 5.1");
//Basis 1 kg of solids
feed_rate_solid = 1.33; //Mass rate of feed of solids in kg/sec
U = 1.5; //Mass rate of solids in the underflow in kg/sec
Y = [5.0 ; 4.2; 3.7 ; 3.1; 2.5];
printf("\n concentration(Y) (kg water/kg solids):\n");
printf("%.1f\n",Y);
pri... |
3e4a288f50b2e7a05a30d8620cf8e9118025fb14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.11.b/solution10_11.sce | ab354e252240138f7e8655174fdc18316d24fc12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,149 | sce | solution10_11.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution10_11.sce')
//Obtain path of data file
datapath = path + filesep() + 'data10_11.sci'
//Obtain path of function file
funcpath = path + filesep() + 'functions10_11.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
exec(funcpath,[-1])
//Calcu... |
df218732ed00715d081a8eda8e5c28fb58b64fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH20/EX20.8/Ex20_8.sce | cbc43f9e35e77e296e9c9f4d557f1b6d8ed2fcd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Ex20_8.sce |
clc;
RC=12*10**3;
RL=4.7*10**3;
R1=33*10**3;
R2=4.7*10**3;
IC=1*10**-3;
hiemin=1*10**3;
hiemax=5*10**3;
hfemin=70;
hfemax=350;
hie=sqrt(hiemin*hiemax);
disp('kOhm',hie*10**-3,"hie=");
hfe=sqrt(hfemin*hfemax);
disp('Ohm',hfe*1,"hfe=");//answer printed in the book is wrong
Ri=hie;
a=(R1*R2)/(R1+R2);
Ris=(Ri*a)/(Ri+a);
d... |
c2f20703acc916d0871321f8b20b046d4f5ba8f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH5/EX5.5/5_5.sce | 1bb97e14b74216390170579d0bdd76f613225d21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | 5_5.sce |
clc
//initialisation of variables
clear
t1=593 //temparature in k
p2=1.05 //pressure in bar
p1=7 //pressure in bar
cp=1.005
p3=3.696 //pressure in bar
r=0.287 //kj/kgk
a=6.25*10^-4
g= 32.2 //ft/sec^2
R= 8.314
//CALCULATIONS
t2=t1*(p2/p1)^((g-1)/g)
c2=44.72*(cp*(t1-t2))^(0.5)
rho2=p2*100/(r*t2)
m2=rho2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.