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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0db6e27096156ff19a0a11ece2d88dc58243f4e4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TE350.prev.tst | 15a5839f82a7224e96d4d0ae9330a673f1530422 | [
"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 | 9,718 | tst | TE350.prev.tst | TranspositionSet={[0,2,1,3],[1,0,2,3],[1,2,0,3],[2,1,0,3],[2,0,1,3]}
considerNonPrimitive
Expanding for base=5, level=1, reasons+features=base,transpose,primitive,same,similiar
Refined variables=a,b,c,d
[0+1a,0+1b,0+1c,0+1d]: unknown -> [1] [0,0,0,0] a³+b³+c³-d³
-> solution [0,0,0,0],trivial(3) [1,0,0,1],trivial(... |
255010bfce17e3f8e28a8e099511ac263af333c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH13/EX13.3/ex13_3.sce | 28bb9783aeb0d64756c3138034b2e6ccb3c81357 | [] | 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 | 717 | sce | ex13_3.sce | //Wave Propagation : example 13-3 : (pg 646)
x=(32+(44/60)+(36/3600));// N latitude
y=(106+(16/60)+(37/3600));//W longitude
D=42.1642*10^6;//distance from the satellite to the center of the earth
R=6.378*10^6;//earth's radius
a=32.74333;
B=-7.27694;
m=D^2;
n=R^2;
e=2*D*R;
q=cosd(a)*cosd(B);
d=sqrt(m+n-(e*q))... |
27af5bf016a57756382f420ce8295a4446cfd28c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH9/EX9.4/Ex9_4.sce | b0b8758b64cb8c3c5b336c520dc643c37cd872de | [] | 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 | 331 | sce | Ex9_4.sce | //Ex9_4 Pg-475
clc
funi=1*10^(6) //unity frequency in Hz
Sr=0.5/10^(-6) //slew rate in V/sec
Acl=10 //close loop gain
fcl=funi/Acl //close loop frequency in Hz
printf("(1) Close loop Bandwidth = %.0f kHz \n",fcl*10^-3)
Vp_max=Sr/(2*%pi*fcl) //output peak value
printf(" (2) Peak value of output = %.3f V \n... |
19cd33a04b5e8cc6aa14f31fbbe4f94e1f5f38d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH2/EX2.10/2_10.sce | 68dd5f63624868be9191579e7fc38282fd265f01 | [] | 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 | 234 | sce | 2_10.sce | clc
//initialisation of variables
g= 10 //gm
d= 1.038 //gm/mol
M= 100 //gm
x= 66.412
y= 0.127
z= 0.038
l= 20 //cm
//CALCULATIONS
p= g/(M/d)
X= x+y-z
ar= X*l*p/10
//RESULTS
printf (' angle ofrotation= %.2f degrees ',ar)
|
96325658d8b805e7f49a5d783d5430082d04e799 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH4/EX4.10/Ex4_10.sce | 46656e18a4788408d1e564429d1bb8ee607adda7 | [] | 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 | 957 | sce | Ex4_10.sce | // Chapter 4 Example 10
//==============================================================================
clc;
clear;
// input data
l = 0.1*10^-9; // side of cubical box
h = 6.625*10^-34 // plancks constant in Jsec
m = 9.11*10^-31 // mass of electron in Kg
Kb = 1.38*1... |
52c902fbabfd764558e8d88c5b31d9b91cb3e94e | 7ece83a3894d7610e8367eb0a19f9d50ba5e3ce5 | /mex/read_mesh_from_xml.m | 0aa101eefe5e266ee9227c5e4c6d483eb96ed8bc | [
"Apache-2.0",
"MIT"
] | permissive | alecjacobson/gptoolbox | b4d1a3cb6cd604f8dcf2527d08c9a63efc110b72 | dda5c0d3ae7773837945631463134e577990263a | refs/heads/master | 2023-08-20T05:50:46.191141 | 2023-08-08T17:38:45 | 2023-08-08T17:38:45 | 17,057,368 | 598 | 189 | MIT | 2023-05-22T23:41:52 | 2014-02-21T13:46:13 | MATLAB | UTF-8 | Scilab | false | false | 415 | m | read_mesh_from_xml.m | % READ_MESH_FROM_XML Read a mesh from an xml file written using
% igl::serialize_xml V from the <vertices> tag and F from the <faces> tag. V
% may be written using CGAL::Epeck but will be converted summarily to
% double upon reading.
%
% [V,F] = read_mesh_from_xml(filename)
%
% Inputs:
% filename path to .xml file
%... |
eb0c578bb5249490758462cbe047fab49d98317f | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH18/EX18.3/ex18_3.sce | dc9b964ea1feab181b30c45eacddf416a16a74af | [] | 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 | 272 | sce | ex18_3.sce | clc;
clear all;
x=input("What is binary counter output?")//to take input of binary counter o/p
if x==0 then
disp(10,'output frequency in khz is=');//for binary counter o/p=0
else
disp(x*10,'output frequency in khz is=');//for binary counter o/p!=0
end
|
4b672fe1e50e4c6e974ec6a870c80caa6ee24052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH4/EX4.5/Ex4_5.sce | 0da209616d43e6bb24654d70ac79c319d4160d15 | [] | 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,825 | sce | Ex4_5.sce | // Problem no 4.4.5,Page No.93
clc;clear;
close;
w1=30 //KN/m //u.d.l on L_CB
F_C=120 //KN //Pt Load at C
w2=50 //KN/m //u.d.l on L_AD
L_DC=2;L_CB=2 //m //Length of DC and CB respectively
L_AD=4 //m //Length of AD
L_AB=8;L=8 //m //Length of beam
//Calculations
//Let R_A & R_B be the reactions at A & B
//R_A+R_B=38... |
a580639a1c378886784ac0e8624154aadd51b91b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH35/EX35.6/Ex35_6.sce | 1cb01a6f55ab5e8a9d0fb1a651fbbe44d5071d14 | [] | 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 | 633 | sce | Ex35_6.sce | // Example 35_6
clc;funcprot(0);
//Given data
MD=50;// MW
md=10;// MW
n_o=60/100;// Over all efficiency of the plant
L_h=60;// MWh
// Calculation
// From Fig.Prob.35.6
// Area DEGHD=0.6*Area EFBE;
// xy-120*10^3=(24-x)*(40*10^3-y)0.6;.....(a)
// y/40000=x/24;.....(b)
// Solving (a) and (b),we get
// x^... |
861f300ea9eff0d5c7d49fc71438ee25759d8f2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH13/EX13.6.b/13_6b.sce | 6cd1dcd8adf4e0b183f625e2b1ed20d5f1b0a4c4 | [] | 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 | 254 | sce | 13_6b.sce | clc
//initialization of varaibles
disp("From steam tables,")
T2=213 //F
v2=23.9 //cu ft/lb
W=133.7 //B/lb
//results
printf("Final specific volume = %.1f cu ft/lb",v2)
printf("\n Final temperature = %d ",T2)
printf("\n Work done = %.1f B/lb",W)
|
6d28366d1585930c156e14f345ec529e6dcb1421 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.4/Example4_4.sce | d8df7f66130beebf603cbec5f64e9dfa9bac6d1a | [] | 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 | 771 | sce | Example4_4.sce | //Example 4.4
clear;
clc;
fc=100;
f01=fc/1.300;
Q1=1.341;
f02=fc/0.969;
H0dB=20;
H0=10^(H0dB/20);
C=100*10^(-9);
C1=C;
C2=C;
n=C1/C2;
m=n/(((n+1)*Q1)^2);
R=1/(2*%pi*f01*((m*n)^(1/2))*C);
R21=R;
R11=m*R;
//The second op amp is first order high pass filter with high freq... |
c4ceb2a84093dafb21104c4bfe370c74fb98a23c | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472700/OVI-Test/cv-group-114528472700-run-00.tst | fbc0d54562cd688cf10e1675e629c8f4e984b8f4 | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | tst | cv-group-114528472700-run-00.tst | Ahmad\Ahmad_003.jpg
Ahmad\Ahmad_006.jpg
Sima\Sima_011.jpg
Sima\Sima_005.jpg
SungChun\SungChun_012.jpg
SungChun\SungChun_009.jpg
Kiran\Kiran_008.jpg
Kiran\Kiran_005.jpg
Allison\Allison_002.jpg
Allison\Allison_011.jpg
Amit\Amit_002.jpg
Amit\Amit_005.jpg
Gang\Gang_006.jpg
Gang\Gang_007.jpg
Ethan\Ethan_005.jp... |
dbcccb55f6d2e1553a0cf314e1073c9c6a43f9aa | bbe484d1b8ad18373632b07b2ee24bcdc3b24254 | /shkoli/LISH 08 - Varna/day5/race/7_1.tst | 32732cd927ae22bd3ed886d9028147339eb34cf7 | [] | no_license | matemura/Competitions | 9d97a94c1e01a16b79c94fd02d0e98d3047e7548 | 7a61c65dd8666c793f30f325e65f5a91078b4b0a | refs/heads/master | 2021-05-28T05:27:20.542371 | 2013-11-26T06:16:30 | 2013-11-26T06:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | tst | 7_1.tst | 3 5
.....
.#...
.#...
1 4
R |
a40751bca2510956e335ef991d68f6e6530de81e | 83cc38e86db979610d3b07de13a13b728154de65 | /Мобильная робототехника/Lab1/Lab1-2.sce | bcfab6c2b5f5b5580e11764150e63bb31afc0400 | [] | no_license | Murad255/Sharaga_ | ffa412f0f5ae4dd4cc7f8bec2329e075026389fb | 3ba1ff62c0933b942e6fbbbb370e7e18ee49a682 | refs/heads/master | 2023-04-02T02:28:57.289478 | 2023-03-22T12:44:16 | 2023-03-22T12:44:16 | 178,941,358 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,180 | sce | Lab1-2.sce | clear; xdel(winsid());
mn = 100; //количество измерений
b_size = mn+1;
dt = 1; //период измерения
data = read('goo1.txt', 3*b_size, 1);
//показания 1 датчика высоты
x(1,:) = data(1:b_size);
//показания 2 датчика скорости
x(2,:) = data(b_size+1:2*b_size);
//вектор измерений
z = data(2*b_size+1:$);
//начальный векто... |
57ce9f1a6b3df19c1cb2d41926eb3b6f33fb59ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH5/EX5.1/Ex5_1.sce | e68ea4cc940e93f449bc5627f17f6caa32badae3 | [] | 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 | 512 | sce | Ex5_1.sce | //example-5.1
//page no-136
//given
//wavelength of X-rays beams of light
lambda=0.824*10^-10 //m
//glancing angle of the incident light
theta1=(8+35/60)*(%pi)/180 //radians
n1=1
//to find theta3 i.e at
n3=3
//as we know that
//2*d*sin(theta)=n*lambda
//so for n1 and n3 we get in the same way and solving ... |
c9928e80aedc56407b9ceb50118e5a9c9e636013 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1301.sce | d00725f041b3203348506516208e9f06672ce2fe | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,055 | sce | map1301.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1301" Width="13" Height="11" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="木箱" X="3" Y="1" />
<Cell Name="冰块" X="5" Y="1" />
<Cell Name="冰块" X="6" Y="1" />
<Cell Name="木箱" X="7" Y="1" />
<Cell Name="房子" X="8" Y="1" />
<Cell Na... |
4c7f16138e95138e4684c523b8d8172471c8ff34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.19/11_19.sce | 2ede9c58d95bcbf778d15367b863a44eb7fb6ce5 | [] | 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 | 862 | sce | 11_19.sce | //pathname=get_absolute_file_path('11.19.sce')
//filename=pathname+filesep()+'11.19-data.sci'
//exec(filename)
//Ambient temperature(in K):
Ta=20+273
//Velocity(in m/s):
V=20
//Draught lost through grate(in mm of water column):
hw1=30
//Mechanical efficiency:
nm=0.80
//Rate at which coal is burnt(in kg/hr):
... |
9a725e66a3b5427ca4102e16747d847b0c7d1bfb | c38a62ecff0567548ba8d406b273c82169a5b963 | /src/org/parquelibertad/metadata/sqlscripts/Consultas Territorios ComboBoxes.tst | a6143e4a228f2b85217c28c965aa6905d6d4b1bd | [
"MIT"
] | permissive | lapc506/proyecto-bd1-parque-la-libertad | 058334135d51285883bfc8f941f78c7bfff2c778 | b46bfb9a4638ab1a50997d67bfa27eb043889dab | refs/heads/master | 2021-01-15T08:59:50.596908 | 2016-10-01T18:17:31 | 2016-10-01T18:17:31 | 54,589,590 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | tst | Consultas Territorios ComboBoxes.tst | PL/SQL Developer Test script 3.0
30
-- Created on 22/04/2016 by libertadAdmin
DECLARE
vID CURSO.ID%TYPE;
vNombre CURSO.NOMBRE%TYPE;
vCosto CURSO.COSTO%TYPE;
vActivo CURSO.ISACTIVO%TYPE;
vEdadMin RANGOEDAD.VALORMIN%TYPE;
vLunes HORARIOSEMANAL.LUNES%TYPE;
vMartes HORARIOSEMANAL.MARTES%TYPE;
v... |
b17816059c0f413a28ca53cd60e080605a87f490 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH10/EX10.1/Ex10_1.sce | bce8fdcea3d5ed33f529dec430238805c7913269 | [] | 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 | 198 | sce | Ex10_1.sce | clc; clear; close;
mprintf('T1=(R1*C1)+(R1*C2)+(R1*C3)\n\n');//for node 1
mprintf(' T2=(R1*C1)+(R1*C3)+(R1+R2)*C2\n\n');//for node 2
mprintf(' T3=(R1*C1)+(R1*C2)+(R1+R3)*C3\n\n');//for node 3
|
79ceb8677f59c0111319b0db3c8c28528f717bb6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376.zip/Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376/CH3/EX3.8/3_8.sci | dd9201ea2b3b18adefa1498e4cdfd982fc567975 | [] | 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 | 214 | sci | 3_8.sci | errcatch(-1,"stop");mode(2);//3.8
;
Sp_constant=10.5*10^-6*%pi/180;
deflection=83;
Td=Sp_constant*deflection;
I1=10;
K=0.078;
I2=(Td/(K*I1))*10^6;
printf("Current in the voltage coil=%.2f uA",I2)
exit();
|
2b3682cb9a968253a0f9f91ab9af779a7d4fdbe7 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/05.tst | 8401d5e9e2a6a9ec076c0f5d4795be5e1e769596 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | tst | 05.tst | int x;
int y;
int z;
void main(void)
{
} |
3d745f35d9a7699c9a84254c0f1d49f68e2b6aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.8/S_2_8.sce | 7cc58eae38299969c5df2442a0a459248fe913b9 | [] | 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,293 | sce | S_2_8.sce | clc;
T_AB=4200;//N , Tension in cable AB
T_AC=6000;//N , Tension in cable AC
// Vector AB=-(5m)i+(3m)j+(4m)k
//Vector Ac= -(5m)i+(3m)j+(5m)k
ABx=-5;//m
ABy=3;//m
ABz=4;//m
ACx=-5;//m
ACy=3;//m
ACz=-5;//m
AB=sqrt((-5)^2+3^2+4^2);//m, Magnitude of vector AB
AC=sqrt((-5)^2+3^2+5^2);//m, Magnitude of vector A... |
0ad4fd9702ae9cf46b2f57b73652684dce933f4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.16/ch4ex16.sce | f13e0303e1fd69ed23391b74a0c9d59010eea244 | [] | 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 | 225 | sce | ch4ex16.sce | //signals and systems
//Unilateral Laplace Transform: transfer function
//example 4.16
s = %s;
syms t s;
y1 =laplace('24*%e^(-3*t)+48*%e^(-4*t)',t,s);
disp(y1)
y2 =laplace('16*%e^(-3*t)-12*%e^(-4*t)',t,s);
disp(y2)
|
df86201a6682c240bb2997e52adabd006abab90b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH3/EX3.14/Ex3_14.sce | 4082574bf8d5b36412cce2ebb7bac268f07f7962 | [] | 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 | 902 | sce | Ex3_14.sce | // Example 3.14
clear all;
clc;
// Fission of 1 g of Uranium-235 releases approximately 1 MW/day of energy.
// 1 MW/day = 8.64*10^(10) J
energy_uranium = 8.64*10^10;
// 1. Coal
h_coal = 3*10^7; // Heat contenet of coal in J/kg
// Calculation
amt_coal = energy_uranium/h_coal;
// Result
printf('\n Am... |
66827dc0367ce4a9a05a49a813004cdb21803233 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.25/Ch04Ex25.sce | 1f107cf89b2b4f8d77ea90aaf26e33e4915ebce3 | [] | 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 | 498 | sce | Ch04Ex25.sce | // Scilab code Ex4.25 : Pg:167 (2008)
clc;clear;
lambda = 5880e-008; // Wavelength of light, cm
mu = 1.5; // Refractive index of mica
r = 60; // Angle of reflection in the plate, degree
n = 1; // Order of fringes for the smallest thickness
t = n*lambda/(2*mu*cosd(r)); // The smallest thickness of t... |
3756e79fc96e81de79cb0639d4d25c5f20279704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.26/Exa1_26.sce | d2fa59837b055cc3614cdbb2294c3c0f8dd17a36 | [] | 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,514 | sce | Exa1_26.sce | //Exa 1.26
clc;
clear;
close;
//given data
BETAac=100;//unitless
BETAdc=100;//unitless
VT=25;//in mvolts
VEE=10;//in volts
VCC=10;//in volts
VBE=0.7;//in volts
VEB=-0.7;//in volts
RC2=2.7;//in kohm
RC1=2.7;//in kohm
RC3=1.5;//in kohm
RC4=1.5;//in kohm
RE1=5;//in kohm
RE2=10;//in kohm
RE3=10;//in kohm
... |
7534b587424bd0301303e3e6b83639bb9ea547f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH11/EX11.29/ex11_29.sce | 1d3c44592d9ee547926ac0ddcf9427110b82e5ca | [] | 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 | 755 | sce | ex11_29.sce | //Two-Port Networks : example 11.29 :(pg11.59 & 11.60)
printf("\nApplying KCL to Node 1 \nI1 = 3V1 - 2V2- - -(i)");
printf("\nApplying KCL to Node 2 \nI2 = 3V2 - V3 - - - -(ii)");
printf("\nApplying KCL to Node 3 \nV3 = (1/3)V2 - - - -(ii)");
//substituting (iii) in (i) & (ii),we get
printf("\nI1 = 3V1 - (2/3)V2 \... |
adcfb42798fb6e9af5d100698ed72240eb382bc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.20.1/Ex7_20.sce | 0154e5dd2fb3b35a3b7af265387c80a76d70935a | [] | 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 | 450 | sce | Ex7_20.sce | clc
clear
D=0.25;
L=0.4;
Pm=6.5;
N=250;
W=1080;
Ddrum=1.5;
Mf=10;
CV=44300;
A=(22/7)*(1/4)*D*D;
IP=(Pm*100*A*L*N)/(60*2);
printf('Indicated Power= %3.2f kW',IP);
printf('\n');
Reff=Ddrum/2;
W=1.08;
BP=[2*(22/7)*N*W*Reff]/60;
printf('Brake Power= %3.2f kW',BP);
printf('\n');
Em=BP/IP;
Eith=... |
3aa08ded0ce50f1f85229f66414e6dfc2abbb8a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH9/EX9.16/ex_9_16.sce | 7716e15a27a64f9dca94940583ca5fc7d5de5106 | [] | 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 | 597 | sce | ex_9_16.sce |
clc
//solution
//given
//refer fig 9.29 and 9.30
T=100//N/mm^2
n=4
d=20//mm
//Ps=P/4=0.25*P//N
e=100//mm
//T1=P*e//turning moment
//la=ld=200=100//mm
//lb=lc=100//mm
//eqauting the moments equal to each other
//P*e=(Fa/la)*[la^2+lb^2+lc^2+ld^2]
//P*e=(Fa/la)*[2*300^2+2*100^2]
//Fa=P*100*3/2000//N
//Fa=0.15*P//N
//Fb=... |
ff7edf55ec86786a36ffc8b26fff30f3c37fa5e3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/percent/%pap.sci | 3b725a1c0c5e6ab56f64b1b0138136ac4ce700c9 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 179 | sci | %pap.sci | function [z]=%pap(x,y)
//z = x + y one of which is a polynomial
// and other matrix polynomial
[m,n]=size(x)
if m*n==1 then
z=x*ones(y)+y
else
z=x+y*ones(x)
end
|
fa7a1122d9777e35ba7c0ed752cf4ac8f3b65176 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.11/example1_11.sce | 4b183b36ca3a1b3706139f94263418bcd8f3ad31 | [] | 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 | 659 | sce | example1_11.sce | clc
// Given that
alpha = %pi / 180 // angle of bi prism in radian
mu = 1.5 // refractive index of biprism
a = 0.4 // distance of bi prism from slit in meter
b = 0.6 // distance of bi prism from screen in meter
lambda = 5.893e-7 // wavelength of light in meter
// Sample Problem 11 on page no. 1.43
printf("\n ... |
a6dd5458c4b71b998a7b3984381ec0f2c34a33a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH4/EX4.3/4_3.sce | c6797805a01a29196bf87ce5a45722db74b120cb | [] | 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 | 208 | sce | 4_3.sce | clc
//initialisation of variables
d= 0.275 //in
p= 15
p1= 20
p3= 8
//CALCULATIONS
Fs= (d*p/100)+(d*p1/100)-(d*p3/100)
Fs1= Fs*100/d
//RESULTS
printf ('final available squeeze = %.2f percent',Fs1)
|
149b1f36513c20f65219b180e6d81e8933edf60a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH2/EX2.6/Ex_2_6.sce | 36f32fa8d9f78853ee02d71af21a1f819ecc312f | [] | 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 | 462 | sce | Ex_2_6.sce | //fiber optic communications by joseph c. palais
//example 2.6
//OS=Windows XP sp3
//Scilab version 5.4.1
//given
spotsize=1e-3//spot size
lambda=0.82e-6//wave length
d1=10//distance in m
d2=1e3//distance in m
d3=10e3//distance in m
//to find
div1=2*lambda/(%pi*spotsize)
wo1=lambda*d1/(%pi*spotsize)
wo2=la... |
a16c5c25c38ef16a8fdda7fafdb21cdbbb2d86d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.19/Ex4_19.sce | 1a661fe1d53210804346846f3e334274287ae3a0 | [] | 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 | 906 | sce | Ex4_19.sce | clc
clear
//DATA GIVEN
p=20; //pressure in the boilers and main is 20 bar
Tbs=350; //temperature of steam in boiler with superheater in deg. celsius
Tm=250; //temperature of steam in the main in deg. celsius
Cps=2.25; //specific he... |
3780729e2212fbe17a08bb4cf3184f4076a7b929 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /HL bootbox.sce | ff1422dd0cec0cc35908d93609707b7afb6abaf7 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68,511 | sce | HL bootbox.sce | Name=HL bootbox
PlayerCharacters=Gordon Freeman;Gordon Freeman HEV
BotCharacters=HL Bot 1.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Gordon Freeman
AddedBots=HL Bot 1.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=hl_bootbox.map
MapScale=2.0
BlockProjectilePredictors=true
Block... |
a94cf93842991e7610ff2c1e83b60153a7e0b51b | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH2/EX2.25/example225.sce | e4215c39245884976a40c3f971b00892f960eb52 | [] | 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 | 572 | sce | example225.sce | //Example 2.25
clc;
x1=[1,1,1,1]
x2=[2,2,2,2]
a=1
b=1
for n=1:length(x1)
x3(n)=a*x1(n)+b*x2(n)
end
for n=1:length(x1)
y1(n)=x1(n)^2
y2(n)=x2(n)^2
y3(n)=x3(n)^2
end
for n=1:length(y1)
z(n)=a*y1(n)+b*y2(n)
end
count=0
for n=1:length(y1)
if(y3(n)==z(n))
count... |
98cfdb811399e5c85e4abb7a440dab53732cb886 | d69d240db53a578e6b6b760893e99bd6c13a49a8 | /PR Regelungsrechnik - Versuch 2a/Scilab/Pendel2a.sce | 626b3c1fb6aac6633b4c73499d6153e99cbfaded | [] | no_license | unizeug/PR_Regelungsrechnik_-_Versuch_2a | 108c030a5827d89b741c31c9a977a541360c567d | 9439ea75680d347b935ea9f9602af80c88af1e0c | refs/heads/master | 2021-01-18T14:01:34.861516 | 2012-06-18T14:49:34 | 2012-06-18T14:49:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,446 | sce | Pendel2a.sce | //cd "U b Doc "// ############################################################################
// Scilab Script zum 2 Praktikum
//
// Reglerentwurf eines invertierten Pendels,
// Frequenzkennlinienverfahren und Simulation
// ############################################################################
// Boris... |
4300b31ed6da004e05d924c18938148e0abbf723 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH22/EX22.10/22_10.sce | f7563f3be1ef0602d4605436a5bd659a79d5a657 | [] | 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 | 422 | sce | 22_10.sce | clear//
//Variables
VCC = 5.0 //Source voltage (in volts)
RE = 100.0 //Emitter resistance (in kilo-ohm)
VBE = 0.7 //Emitter-base Voltage (in volts)
//Calculation
//Case 1 : when VBB = 0.2 V ->OFF
//Case 2: when VBB = 3 V ->ON
//Result... |
c82892b645711349a4901584c770fc853bf6d42c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.11/Ch02Ex11.sci | 6f3785c82de92055852d9ec9c52b322afa0f6d37 | [] | 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 | 590 | sci | Ch02Ex11.sci | // Scilab Code Ex2.11 Energy of photon : Pg:49 (2008)
h = 6.624e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV
L = 1800e-010; // Wavelength of incident light, m
L0 = 2300e-010; // Threshold wavelength of tungsten, m
E = h*c*(1/L... |
d915f7755b0378af3ce4f01e4741169ddb5846ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.2/1_2.sce | 412400fe67f5c880bbc273ad8c02af7bbfe84296 | [] | 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 | 323 | sce | 1_2.sce | //Chapter-1,Example 1_2,Page 1-16
clc()
//Given Data:
theta=40/3600*%pi/180 //angle of wedge in radians
B=0.12*10^-2 //fringe spacing
//Calculations:
//We know, B=lam/(2*u*theta). Here u=1
lam=2*B*theta //wavelength of light used
printf('Wavelength of light used is =%.10f m',lam... |
11535495df196eefe2c5576bbb36352eb8e43082 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH6/EX6.2/Ex6_2.sce | 1e54feacd7fc75496a4a125a139bf88da2388971 | [] | 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 | 598 | sce | Ex6_2.sce | //Variable declaration:
NPS = 3 //Nominal pipe size (inch)
SN = 40 //Schedule number
//Calculation:
//From Table 6.2, we obtain that the inside diameter of steel pipe is ID = 3.068 in, outside diameter OD = 3.5 in, wal thickness WT = 0.216 in, and pipe weight PW = 7.58 lb/ft.
ID... |
690acd71aaacf744418d679d7888218d690add6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH3/EX3.5/example35.sce | 3de031ace102cf3f7e0facffcd7e090b637a9b3c | [] | 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 | 265 | sce | example35.sce | //Example 3.5
//Find the impulse responce and output of the system
clc;
syms jw t;
H=(jw+1)/((jw+2)*(jw+3));
h=ilaplace(H,jw,t);
disp(h,'IMPULSE RESPONCE=');
x=%e^(-2*t);
X=laplace(x,t,jw);
Y=H*X;
y=ilaplace(Y,jw,t);
disp(y,'OUTPTU OF THE SYSTEM IS=');
|
49499253c1332deefa7e6f39617b29110650cf53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH17/EX16.2/EX16_2.sce | e1d5ed39786a7c57f6cbadab7487078f039b89a1 | [] | 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 | 349 | sce | EX16_2.sce | // Grob's Basic Electronics 11e
// Chapter No. 16
// Example No. 16_2
clc; clear;
// How much charge is stored in a 40 uF capacitor connected across a 50-V supply?
// Given data
V = 50; // Voltage=50 Volts
C = 40*10^-6; // Capacitor=2 uFarad
Q = C*V;
disp (Q,'The Charge Stored in Columb')
disp... |
ad158fc1029168d375f35af12fadbcd17770a079 | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/convexhull.sci | 16550b2b2b3150e6da2ac97cb99d0b98ac01f483 | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sci | convexhull.sci | //Function migration (image list to matrix) for: convexhull
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = convexhull(varargin)
select length(varargin)
case 03 then
res = raw_convexhull(varargin(01), varargin(02), varargin(03))
else
error(39)
end
endfunction |
08f5856e3ddb7db110f71717053a7d7a525f3f8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.3/Exa2_3.sce | aaefee7872a695ce54edfb08c25ed6ea391602b1 | [] | 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 | Exa2_3.sce | //Exa 2.3
clc;
clear;
close;
//Given data
alfa=0.98;//unitless
deltaIB=0.2;//in mA
Beta=alfa/(1-alfa);//unitless
deltaIC=Beta*deltaIB;//in mA
disp("Change in collector curent : "+string(deltaIC)+" milli Ampere."); |
4c476d22daf85921a449afd17c8c5022bc226ed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.11/Ex5_11.sce | 3f9316f38232af613d899b175aaf41cb4653dd08 | [] | 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 | Ex5_11.sce | clear;
clc;
b = 6;// inches
d = 12;// inches
t1 = 7/8;// inch
t2 = 1/2;// inch
I_xx = (1/12)*(b*d^3 - (b-t2)*(d-2*t1)^3);// in^4
Z1 = I_xx/b;// in ^3
A = 2*b*t1 + 0.5*(d-2*t1);// in^2
b = sqrt(A/2);// inches
d = 2*b;// inches
Z2 = (1/6)*b*d^2;// in^3
k = Z1/Z2 ;
printf('The ratio of strengths Z1/Z2 = %.2f ... |
c0c2dfbf17ee2e24e85cee37347a51d0cd36bfcb | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.6_10.tst | c3e4506b2155880f57802bd263e8725a1184b824 | [] | 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 | 39,238 | tst | bow.6_10.tst | 6 9:0.25 14:1.5 16:0.1 18:0.07142857142857142 27:1.0 29:1.0 43:0.25 44:0.3333333333333333 56:0.16666666666666666 60:0.07142857142857142 64:0.6666666666666666 70:0.06666666666666667 78:0.3333333333333333 127:1.0 129:1.0 160:0.3333333333333333 183:0.25 199:1.0 200:1.0 230:0.3333333333333333 289:1.0 301:1.0 387:0.2 398:0.... |
b377f426e70f016ef3c3cbaa883827b935702143 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.8/8.sce | 67b8f4a8e518b8662dc361961038c8a065bba896 | [] | 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 | 170 | sce | 8.sce | clc
clear
//input
R=68 //resistence
i=4.5 //current
e=17 //emf
//calculation
v=(i*R)+e//supply pd
//output
printf("the supply of pd across motor is %3.0f V",v)
|
0b18e7831b7cf286061410c95a4140dbeccf42f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH10/EX10.12/Example10_12.sce | 4482c71bd57e34a83b3f05ec9688389ca258c3ef | [] | 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 | Example10_12.sce | //Chapter-10,Example10_12,pg10_43
P=4
f=50
Pi=50*10^3
N=1440
Sl=1000
Fl=650
Ns=120*f/P
s=(Ns-N)/Ns
P2=Pi-Sl
Pc=s*P2
Pm=P2-Pc
Po=Pm-Fl
n=Po*100/Pi
printf("full load efficiency\n")
printf("n=%.2f",n)
|
8c6be6dc8acdcb6704d7f699d6719c02dcf35016 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.16/Ch11Ex16.sce | 2e9741813a8853ff9246bcdcb483824bb580e246 | [] | 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 | 569 | sce | Ch11Ex16.sce | // Scilab code Ex11.16: Pg.520-521 (2008)
clc; clear;
m_p = 1.007825; // Mass of proton, u
m_L = 7.016003; // Mass of Lithium, u
m_i = m_p + m_L; // Total mass of initial particles, u
m_He = 4.002602; // Mass of Helium, u
m_f = 2*m_He; // Total mass of final particles, u
delta_m = m_i - m_f; //... |
38fe1abe85820f17099c8e056e6657aae3eaefcc | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/MultiRegions/Tests/LinearAdvDiffReact2D_P7_Modes_GMRES.tst | 2a14a5db63f0503750274360f6bd21dfebe2ccf0 | [
"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 | 612 | tst | LinearAdvDiffReact2D_P7_Modes_GMRES.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Steady ADR 2D problem with CG P=7</description>
<executable>SteadyAdvectionDiffusionReaction2D</executable>
<parameters>LinearAdvDiffReact2D_P7_Modes_GMRES.xml</parameters>
<files>
<file description="Session File">LinearAdvDiffReact2D_P7... |
1ea7ed81bbdee5580cf635de9084aab00baa304d | 9835e6a99ef801fdd06a9193c1846cae987d740a | /Fonctions/histogramme.sci | c00c87f468bc5e22c941406bcf83f3a31ee52892 | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sci | histogramme.sci | //----------Histogramme----------
function hist(imgsrc)
intensite=[];
nbpixel=[];
counter=1;
[m,n]=size(imgsrc)
for i=0:1:255
[x,y]=find(imgsrc==i); //finds where imgsrc==i
nbpixel(counter)=i;
intensite(counter)=length(x); //find how many pixels of im have v... |
74add07270727b472d3349c5797d91aecf0be674 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH13/EX13.5/Ex13_5.sce | 308dd8fa4dc60520b6a799fece5322ccea905cf5 | [] | 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 | 3,649 | sce | Ex13_5.sce | printf("\t example 13.5 \n");
// for a Basis of one Hour
printf("\t approximate values are mentioned in the book \n");
c(1)=1544; // Flow rate of CO2, Lb/hr
h(1)=4500; // Flow rate of H20, Lb/hr
c(2)=35; //Flow rate of CO2, Mol/hr
h(2)=250;//Flow rate of H20, Mol/hr
t(1)=c(1)+h(1); //Total flow rate , Lb/hr
... |
378e342e3029df7fd2e3e93b5bed9453d66c7da2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH10/EX10.4/CH10Exa4.sce | 663ccaea9e80c22c00c43ba418a8797e4f0fd543 | [] | 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 | 559 | sce | CH10Exa4.sce | // Scilab code Exa10.4 : : Page-456 (2011)
clc; clear;
r_min = 4e-015; // Distance between two deutrons, metre
k = 1.3806504e-023; // Boltzmann's constant, Joule per kelvin
alpha = 1/137; // Fine structure constant
h_red = 1.05457168e-034; // Reduced planck's constant, Joule sec
C... |
94c0f9ec920ad1e45ff9729e4b707fec091e25d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH8/EX8.5/Ex8_5.sce | 685067b78e57c8744cb0636bede2cfaa517868e1 | [] | 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,087 | sce | Ex8_5.sce | clear
//
//Variable declaration
//Free Body. Entire Crankshaft
Vx=-30 // Force(kN)
P=50 // Force(kN)
Vz=-75 ... |
5ddc2794db0411491989905f8881d2dcb4e91c02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/DEPENDENCIES/Chi_test.sci | e5a82775c5c93d12d94bc7452624e7dc7658310b | [] | 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 | 269 | sci | Chi_test.sci | function [Chi]= Chi_test(Alpha,Test)
if Alpha ==0.05 then
if (Test==1 |Test==2) then
Chi = 19.675
else
Chi = [4.575,19.675]
end
elseif Alpha ==0.01
Chi = 1.239;
end
endfunction |
8b9413ca1991fbc0ef821996662db15b477d1cb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH38/EX38.6/Ex38_6.sce | 08fe6806dc976d8c5ed0a1543ec9d0d8dddbf4cb | [] | 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 | 172 | sce | Ex38_6.sce | //chapter 38
//Example 6
clc
//given
m_0=(4*%pi*10^-7)//in weber
e_0=(8.9*10^-12)
R=5*10^-2//meters
dEbydT=10^12
i_d=(e_0*%pi*R*R*dEbydT)
disp(" current in amp=")
disp(i_d) |
18d2c46b05f6bd37212d584b7b8c940ac541217c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH4/EX4.18/Ex4_18.sce | 2142dd44338b038407b250c7b96099e72d6c9dde | [] | 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 | 909 | sce | Ex4_18.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 4 : Circuit Theorems
// Example 4 - 18
clear; clc; close;
//
// Given data
Vs = 220.0000;
R1 = 1000.0000;
R3 = 3000.00... |
41d79cc4b5ba4903650739df699f56246762904d | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.3/example_3.sce | 780428bac7eff88d4ba92ee48edef883b324c3de | [] | 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 | 632 | sce | example_3.sce | clc
clear
printf("example 3.3 page number 91\n\n")
//to find the consumption of NaCl and H2SO4 in HCl consumption
HCl_production = 500 //required to be produced in kg
NaCl_required = (117/73)*HCl_production;
yield = 0.92;
purity_NaCl= 0.96;
actual_NaCl = NaCl_required/(purity_NaCl*yield);
printf("amou... |
229c3723152caca384dc3b29e71906657ee41193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH9/EX9.12/9_12.sce | a8ef3be00f5d6dd972ec406f639f6452912f86a5 | [] | 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,044 | sce | 9_12.sce | clear
clc
ey=1/(.05 + %i*.15)
y=[
1 2 ey
1 5 ey
2 5 ey
2 3 ey
3 4 ey
4 5 ey
]
n=5
e=6
Y=zeros(n,n)
for i=1:e
n1=real(y(i,1))
n2=real(y(i,2))
ynew=y(i,3)
if(n1==0)
Y(n2,n2)=Y(n2,n2)+ynew
else
Y(n1,n1)= Y(n1,n1)+ynew
Y(n1,n2)= Y(n1,n2)-ynew
... |
9827a1ddacd77cd1dd4d125ff9acb9bde87c8b9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.2/Ex7_2.sce | a95b83f7d65af535fca875ffeba34d7dffc7dd30 | [] | 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 | 332 | sce | Ex7_2.sce | //Exa 7.2
clc;
clear;
close;
// given :
D=2 // mouth diameter of paraboloid reflector in m
c=3*10^8 // speed of light in m/s
f=5 // frequency in GHz
f=5*10^9 // frequency in Hz
lambda=c/f // wavelength in m
G=6.4*(D/lambda)^2 // power gain of paraboloid
G_p=10*log10(G) //power gain in dB
disp(G_p,"power gai... |
6a70d60c5d5daf46235464c4a5e5ee9ca05722ff | 5c99f90e816244fbea65c73357432fb54ac25d09 | /Hata.sce | 2e11b4997ab729e2485dc6c37973891695a4b3cb | [] | no_license | varunkamble/story_book | 6301153ce6898a4275f99017facd814ea1df1633 | 0bc1f9d059b9cc718e36ea0b8da4a53dd24812d3 | refs/heads/master | 2020-03-26T05:27:21.794874 | 2018-10-21T17:15:34 | 2018-10-21T17:15:34 | 144,558,147 | 0 | 1 | null | 2018-09-18T13:33:23 | 2018-08-13T09:31:05 | Python | UTF-8 | Scilab | false | false | 1,524 | sce | Hata.sce | clc;
clear all;
hb=input("Enter the height of base station antenna:")
hm=input("Enter the height of mobile station antenna:")
Gt=input("Gain of the transmitting antenna:")
Gr=input("Gain of the receiving antenna:")
dist=input("Enter the distance between transmitting and receiving antenna:")
Amu=24
f1=input("Enter the ... |
c952fa22f402ab76c0d5f5d55afb9df8865bb951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH3/EX3.2/Ex3_2.sce | d76388239947fcbf80d5db9f560ae6905863279f | [] | 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,303 | sce | Ex3_2.sce | // scilab Code Exa 3.2 Gas Turbine Plant with an exhaust HE
T1=300; // Minimum cycle Temperature in Kelvin
funcprot(0);
pr=10; // pressure ratio of the turbine and compressor
T3=1500; // Maximum cycle Temperature in Kelvin
m=10; // mass flow rate through the turbine and compressor in kg/s
e(1)=0.8; // thermal ... |
8dc97413d9b3d576bff2f18aaaadf4b44699b657 | 3179d00cc8691c0d5ba205f11746e75a7aca22ad | /src/acquireAndDisplay.sci | a9b7758be99550763b340d7bf1687ad9e485400c | [
"MIT"
] | permissive | dadul96/Siglent_SDS1202X-E_VISA_Scilab | 64dcc838edac416abf01e77be9e7c21d13643ee1 | 62db6cc86d8dbf27827f693ffd76e02509e2f2d8 | refs/heads/master | 2022-04-16T22:27:51.428430 | 2020-04-19T08:57:10 | 2020-04-19T08:57:10 | 256,939,143 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,955 | sci | acquireAndDisplay.sci | function acquireAndDisplay(connStr, channel)
//Acquires data from the Siglent SDS1202X-E oscilloscope and plots it.
//
//Dependencies : - "acquireOscilloscopeData.m"
// - "determineAcquisitionSettings.m"
//
//acquireAndDisplay(connStr, channel)
//connStr : enter VISA USB resourcename
// (e... |
983471fac3424232a508d80e57a4c6022e004229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.31/3_31.sce | ab18e5eefbb05d63ead2f09601bc1e9a220cccd8 | [] | 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 | 579 | sce | 3_31.sce | clc;
clear;
//Example 3.31
v=18.97*10^-6 //m^2/s
k=28.96*10^-3 //W/(m.K)
Npr=0.696
D=100 //Outer diameter [mm]
D=D/1000 //[m]
Tf=333 //Film temperature in [K]
Tw=373 //[K]
T_inf=293 //[K]
dT=Tw-T_inf //[K]
Beta=1/Tf //[K^-1]
g=9.81 //[m/s^2]
L=3 //Length of pipe [m]
Ngr=(g*Beta*dT*(L^3))/... |
81f60f450130db664338c37ae44594dd8ede0c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH37/EX37.6/example6.sce | 1794036ceac57bfba8787451ca490a258bdd8996 | [] | 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 | 518 | sce | example6.sce | //chapter 37
//example6
clc
//given
n=10*10^2 //turns/m
i=2 //in amp
B=1.0 //in wb/m
u0=4*%pi*10^-7 //in wb/amp-m
//(A)
H=n*i
disp(H,"(A) Magnetic field strength in amp/m is")
//(B)
M=(B-u0*H)/u0
disp("(B) Magnetisation is Zero when core is removed")
disp(M," Magnetisation when th ecore is replaced in ... |
9b42e4ff998689e2fd380bbf8f738f43d3540068 | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /dcgain.sce | 833ba18406ec3851f890162abdaf63e71f19bbab | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | dcgain.sce | //Function:- DC gain///////////////////
//cont time transfer function SISO
s=poly(0,'s');
q=syslin('c',(s+8)/(s^2+8*s+4));
z=dcgain(q);
//MIMO//
s=poly(0,'s');
sysa=syslin('c',(s+2)/(s^2+2*s+3))
sys1=syslin('c',(s+8)/(s^8+3*s+4));
sysm=[sysa sys1];
z1=dcgain(sysm);
//SISO array//
aa=pid(rand(2,3,3),3,4,5);
... |
890f036840e27534153ba27c044c53906d5a79bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH13/EX13.9/13_9.sce | 7a0709fff0e7756a0fa88a8e60cbb624ddc64005 | [] | 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 | 13_9.sce | clc
//initialisation of variables
F= -51180 //cal
T= 25 //C
R= 1.99 //cal/mole K
//CALCULATIONS
K= 10^(-F/(R*(273+T)*2.303))
//RESULTS
printf (' equilibrium constant = %.e ',K)
|
503c19456e59a3dd1122a0e8d980239e69618d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.24/4_24.sce | 421411309ff07b11259e19b191698dce157ebda6 | [] | 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 | 494 | sce | 4_24.sce | clc
//initialisation of variables
b= 0.0386 //l^2 atm mole^-1
a= 1.348 //l mole^-1
R= 0.08205 //cal /mole K
T= 25 //C
a1= 3.61 //l^2 atm mole^-1
b1= 0.0428 //l mole^-1
P= 50 //atm
P1= 1 //atm
//CALCULATIONS
Bn= b-(a/(R*(273.2+T)))
Bc= b1-(a1/(R*(273.2+T)))
Fn= P1^(Bn*P1/(R*(273.2+T)))
Fc= P1^(Bc*P1/(R*(2... |
45435faf14050c408b457d67693428c8c7cfc5c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH8/EX8.8/Chapter8_Example8.sce | 23f0de712a77c3c7a2f921fd4faef8dae671c6d5 | [] | 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 | 312 | sce | Chapter8_Example8.sce | clc
clear
//INPUT
y=1.5;//coefficient of expansion
dp=1/8;//ratio of inital pressure to final pressure
t1=300;//inital tempreature in K
//CALCULATIONS
t2=t1*(dp)^((1-y)/y);//change in temperature in K
t3=t2-t1;//rise in temperature in K
//OUTPUT
mprintf('the rise in temperature is %3.2f K',t3)
|
bb95a515797abd1bc12378a09db656cd548953f0 | 645aafe05833e1c216391b0e5504c9f0d7f67f97 | /Presentation/Response_Priming/CIT_ShortNogo2/BehaviouralNogo2.sce | 889f95013c534f4b3f78edecf6f686397aaa1451 | [] | no_license | njo001/Experiment_Code | 0d4b0dede2dba5e6b7de6da2578fc745665a4619 | 0446a93ac73c98b4115580feb5c6dae05213030e | refs/heads/master | 2020-04-20T08:27:04.558194 | 2019-02-01T18:29:36 | 2019-02-01T18:29:36 | 168,739,220 | 0 | 0 | null | 2019-02-01T18:04:03 | 2019-02-01T18:04:03 | null | UTF-8 | Scilab | false | false | 11,623 | sce | BehaviouralNogo2.sce | scenario = "Behavioural_Nogo2_11/11/04";
default_font_size = 25;
pcl_file = "Behavioural_Nogo2_Main.pcl";
default_font = "Arial";
default_all_responses = false;
default_background_color = 0,0,0;
active_buttons = 4;
button_codes = 1,2,3,4;
response_matching = simple_matching;
write_codes = true;
pulse_width = 20;
begi... |
1874a82ab299209134549a478bb4b3be454f094d | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH6/EX6.5/6_5.sce | c8f2af0cd5f3d97424cc7de9d5d61fbd15bfdbfe | [] | 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 | 472 | sce | 6_5.sce | T1 = 873;
T2 = 313;
T3 = 253;
Q1 = 2000e03; // In joule
W = 360e03; // in joule
// Part (a)
e_max = 1-(T2/T1);
W1 = e_max*Q1;
COP = T3/(T2-T3);
W2 = W1-W;
Q4 = COP*W2;
Q3 = Q4+W2;
Q2 = Q1-W1;
disp("J",Q2+Q3,"The heat rejection to the 40 degree reservior is")
// Part (b)
e_max_ = 0.4*e_max;
W1_ = e_max_*... |
377839aa2824089d8f356c8381429b0822d44237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.17/example4_17.sce | 0c2371cb45e76a972fafce3a548dc9c82be43c33 | [] | 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 | 805 | sce | example4_17.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.17
// Page 146
printf("Example 4.17, Page 146 \n \n");
// solution
//M = mix feed rate, F = fresh feed rate , R = recycle stream
// using fig 4.3
// N2 balance
// a = 24.75M/(.25M+7.5M) (i)
... |
5e9c0edf7b29fd731a15e2ae8c57e1fe88d93235 | 5026c7cb745de3287765a2a131ea2685a360e257 | /liquidLevel/voltageDivider.sce | 20a29300b24db8a199c23a0a1578045093153a9e | [
"BSD-2-Clause-Views"
] | permissive | beta-robots/btr-ino | 3f05a70f1dca47d0222489159ae1cd8a37082f29 | 763dece51eee31f308ee4f3a8cb60bc99f8bbe34 | refs/heads/master | 2021-01-21T04:27:34.344398 | 2016-04-13T12:17:56 | 2016-04-13T12:17:56 | 13,066,893 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 964 | sce | voltageDivider.sce | // CLEAR ALL **********************************************************************
xdel(winsid());
clear;
// PARAMS **********************************************************************
remin = 300; //min eTape resistance [ohm]
remax = 1500; //max eTape resistance [ohm]
vcc = 5; //power voltage
rd = [0:10:2000]; //r... |
880aac67818768dc91f2c258ca42e04fdac73efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH2/EX2.6/ex2_6.sce | 3b859df23fe6e6317d367d022f31be36caad0087 | [] | 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 | 726 | sce | ex2_6.sce | clc;
warning('off');
printf("\n\n example2.6 - pg36");
// given
d=1.2*10^-2; //[m] - diameter of the hole
Ca1=0.083; //[kmol/m^3]
Ca2=0; //[kmol/m^3]
L=0.04; //[m] - thickness of the iron piece
Dab=1.56*10^-3; //[m^2/sec] - diffusion coefficient of CO2
A=(%pi*d^2)/4; //area
// (a)using the formula (Na/... |
89baad6c3ecb951f056641bcd2c908c49a6a7ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.6/Example9_6.sce | de53c69991f4ccbac9a699167c073bd3cd3eb5b1 | [] | 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 | 910 | sce | Example9_6.sce | //Example 9.6.refer fig.9.16.
clc
hib=24
hfb=-0.98
hob=0.49*10^-6
hrb=2.9*10^-4
RS=600
RE=6*10^3
RC=12*10^3
RL=14*10^3
disp("Current gain, AI = -hfb / 1+hob*RL''")
format(5)
RLd=(RC*RL)/(RC+RL)
x1=RLd*10^-3
disp(x1,"where, RL''(k-ohm) = RC || RL =")
format(6)
AI=-hfb / (1+hob*RLd)
disp(AI," ... |
7f446dcf6e454d7bb865e16c299b72079fb223db | fb29503eb9e57fd8763a2e860fa4ee3d932904c9 | /FEM/tensionPlana/MATfem.sci | 4057c703f3dff542d8b389d12c74af761311d1fb | [
"Apache-2.0"
] | permissive | Thejuampi/mecaComp | 4f5e993ddd9e7e2a0278fe0bcc40722c5e4d9d62 | e31313d2842644093a5b705823dd6dcb55809e87 | refs/heads/master | 2021-01-01T18:11:46.162750 | 2014-11-20T23:18:38 | 2014-11-20T23:18:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,389 | sci | MATfem.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//% MAT-fem
//
// Clear memory and variables.
clear
// The variables are readed as a MAT-fem subroutine
// pstrs = 1 indicate Plane Stress; 0 indicate Plane Strain
// young = Young Modulus
// poiss = Poission Ratio... |
6e9959fc217a271b266ab6b459ed1463805f37f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH1/EX1.7/ex1_7.sce | 283bd9b0255c887e0abd6e1fa47df3e5f08ce787 | [] | 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 | 445 | sce | ex1_7.sce | // Exa 1.7
clc;
clear;
close;
// Given data
// mass of 1 litr of water is 1 kg. so
m = 5000;// in kg
h = 10-1;// in m
g= 9.81;//
PE = m * g * h;// in N m
PE = PE*10^-3;// in kj
Eta = 0.85;
// Eta = energy output/energy input
E_input = PE/Eta;// in Kj
E_input = E_input*10^3;// in J
t = 45;// time in min
... |
af80b1c30ee30f5d07e3d5b3731569e8c5919824 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH8/EX8.12/Ex8_12.txt | c1c2efa3191c6bc7cef22fe710c0fb510356d6fa | [] | 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 | 315 | txt | Ex8_12.txt | //Caption:Calculate the gap transit angle
//Exa:8.12
clc;
clear;
close;
V_o=1000;//Anode voltage(in volts)
gap=0.002;//in m
f=5*10^9;//in Hz
L=2.463*10^-3;//length of drift region (in m)
u_o=5.93*10^5*sqrt(V_o);//in m/s
Theeta_g=2*%pi*f*2*10^-3/u_o;//radians
disp(Theeta_g,'Transit angle(in radians) ='); |
6b0322bad04a27ac496e4fbb76caefe6f6196179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH12/EX12.6/example12_6.sce | 062d777c74ef27089f9d9ee7ee56d570fad4b6df | [] | 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,002 | sce | example12_6.sce | disp('chapter 12 ex12.6')
disp('given')
disp("design feedback limit for 12.4 and max circuit o/p current=400mA when limited foldback to 200mA")
Ilmax=0.4
Isc=0.2
disp("Vr6=0.5 at short circuit")
disp("R6=0.5/Isc")
R6=0.5/Isc
disp('ohms',R6)
disp("use 2.7 ohm std value")
R6=2.7
disp("Vr6=Ilmax*R6")
Vr6=Ilmax... |
da2cf862fc8eba9685d67ac50b97fbf8bfcd491b | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.45/ex_6_45.sce | 32ee1943a30d0e5371eb6c1b459cf07dcc3b7bb4 | [] | 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 | 287 | sce | ex_6_45.sce | close;
clear;
clc;
disp("Hc(s)=s")
disp(" bilinear transformation s=2*(1-z^-1)/Ts*(1+z^-1)");
disp("Hd(z)=2*(1-z^-1)/Ts*(1+z^-1)")
//z=e^-j*w*Ts
w=-1:0.01:1;
Ts=2;
Hdw=2*(1-%e^(-%i*w*Ts))./(1+%e^(-%i*w*Ts));
//HdwTs=2*tan(w*Ts/2)/Ts;
plot(w*Ts,imag(Hdw));
xtitle('Hd(w)','w') |
df682647d101a312cec984d21eb0bc31f0541ef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH8/EX8.5/Chapter8_Example5.sce | 631b012a5ffaed7d17bcde4b52933738a0bef9a4 | [] | 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,249 | sce | Chapter8_Example5.sce | //Chapter-8, Example 8.5, Page 345
//=============================================================================
clc
clear
//INPUT DATA
L=0.8;//Height of the plate in m
W=0.08;//Width of the plate in m
Ts=170;//Surafce temperature in degree C
Tw=70;//Temperature of water in degree C
Tf=130;//Final temperat... |
785d04da95fc80372c8f86270ceb144b60155189 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.11/Ex5_11.sce | 67482857010816fdcc2489625f2ab091ca467840 | [] | 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 | 724 | sce | Ex5_11.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 5:Semiconductor Junction Diodes
clc
clear
Vs1=15
Vs2=30//Vs=supply voltage varying from 15(Vs1) to 30(Vs2) Volt
Vzo=9//Vzo=knee voltage
rZ=5//rZ=dynamic resistance in ohms
R=800//R=series resistance in ohms
Izmin=(Vs1-Vzo)/(R+rZ)//Izmin=current through ze... |
7c85b192b5615284a2dea460f99a29d75bac7d3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH6/EX6.4/Chapter6_example4.sce | 47997586b3309b78ee62e5555007c41240fb2e85 | [] | 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 | 404 | sce | Chapter6_example4.sce | clc
clear
//Input data
m=(32*1.66*10^-27)//Molecular mass of a gas in kg
d=(3.65*10^-10)//Diameter in m
k=(1.38*10^-23)//Boltzmans constant in J/K
P=1.01*10^5//Pressure at STP in N/m^2
T=273//Temperature at STP in K
//Calculations
n=((1/(3.14*d^2))*sqrt((8*k*T*m)/(9*3.14)))/10^-5//Viscosity of gas at STP in ... |
07a13fc5189865d7eb7db2c39f0938ed11500d1a | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/builder.sce | afd9a0b34d6a22cb8bf4b56119549ab2211c7907 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,743 | sce | builder.sce | mode(-1)
stacksize(5E7)
GL_SYS_DIR=get_absolute_file_path('builder.sce')
if isdef('GreenLablib')//if the lib was alerady been built
predef(0);
clear GreenLablib
end
getf(GL_SYS_DIR+'/macros/gl_main.sci');
getf(GL_SYS_DIR+'/macros/Gl_StateOccupy.sci');
getf(GL_SYS_DIR+'/macros/gl_organ_axis.sc... |
b79fc8dea99efcc28e28115006850f545aeb5402 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre4/ex4.sci | 7d6eb6fc3865b5c20f41f4ac4daa34a96faeaf24 | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sci | ex4.sci | clf
N=1000000;
x=-2+(2+2)*rand(1,N);
y=-2+(2+2)*rand(1,N);
I=find(x^2+y^2<=1);
pi_test=(length(I)/N)*16
|
6964ac3d6a933920d5bc98e088573b3d62fe2749 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/pcd2vtk.sci | 38ab88556b3eb8890361628f0f3f1836a1905bf0 | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sci | pcd2vtk.sci | function pcd2vtk()
// Converts a PCD(Point Cloud Data)file to VTK(The Visualization Toolkit) format.
//
// Syntax
// PointCloud(InputPCDFilename,OutputVTKFilename,"pcd2vtk")
//
// Parameters
// inputPCDFilename : PCD file of input pointcloud
// outputVTKFilename : VTK file where the output of the function had... |
43a1ed9052ed0d9c10b5269d96023ce5ef745d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH1/EX1.6/Ex1_6.sce | 791a14c8a4d6ac9a880dfb63f4da75742498efc1 | [] | 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 | 264 | sce | Ex1_6.sce | // exa 1.6 Pg 15
clc;clear;close;
Pmax=75;// kW
Pmin=7.5;// kW
z=5;// no. of models
//Rn=Pmax/Pmin=fi**(z-1)
fi=(Pmax/Pmin)**(1/(z-1));// common ratio
printf('The models are:')
for i=0:z-1
P1=fi**(i)*Pmin;// kW
printf('\n\t\t\tP%d = %.1f kW',i,P1)
end;
|
3d5989314f0f1ca40f4595c59521e57b96743260 | 49c7d2a0d942daa6ccf1ece4f152ed925bddb9ae | /chip/plot_separate.sce | f5c0fa36da1aaf98be5c8d8ba392de7a3322e592 | [
"CC-BY-4.0"
] | permissive | fedetft/2019-ARCS-data | 8794a79980ea16a506b600c163c4e2f7ab3a3796 | cc063cbb24259552cbbfa8fc24c835fe21ec7961 | refs/heads/master | 2020-05-24T04:58:03.524475 | 2019-07-15T09:03:37 | 2019-07-15T09:03:37 | 187,102,279 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,250 | sce | plot_separate.sce | clear;
file="one.csv";
// TTC placement
// A1 A2 A3 A4
// B1 B2 B3 B4
// C1 C2 C3 C4
// D1 D2 D3 D4
//
// One line of the file contains the the temperatures in the following order
// A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4
function index=rc2index(r,c)
index=c+4*(r-1);
endfunction
a=fscanfMat(file);
v=a... |
95ffc02578025f9a027576a4917fcd0924bf3358 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-boarden/edit-me.sce | 73534889784413db69dbea03a69b25f6909e3f3c | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | edit-me.sce | function [n] = solve(ns)
last = 0;
n = 0;
for i = 1:length(ns)
if ns(i) < last then
last = ns(i);
else
n = n + 1;
last = ns(i);
end
end
endfunction
|
833f54b33334fc829cea82beb68d05df3dc2e987 | c247bce84b3facd1a13b48e7417327c40c8b3898 | /FOPID/tf.sci | dfe8a7216fa90d04b372e34e529024a27b7bd6de | [] | no_license | AstroSayan/FuzzyFOPID | 9de9fa761301da6ae1f5dfe7b8e7e8214f3b472b | ea0e31e8fa0b36e407de9dfa466cf46b583e4103 | refs/heads/main | 2023-04-26T19:18:30.590337 | 2021-05-13T18:27:32 | 2021-05-13T18:27:32 | 367,137,779 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sci | tf.sci | function s=tf(s)
s=poly(0,'s');
s=syslin('c',s/((0*s)+1));
disp('Continuous-time transfer function');
endfunction
|
bb0cadeafbfc19cfd5e4c9051063f716cdd32fac | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/sci2for/f_sin.sci | 52fc73e16c2b57ed9824def03cf57a082f03f47d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 335 | sci | f_sin.sci | //[stk,nwrk,txt,top]=f_sin(nwrk)
//!
nam='sin'
txt=[]
s2=stk(top)
if s2(4)<>s2(5)|(s2(4)=='1'&s2(5)=='1') then
v=s2(1)
it2=prod(size(v))-1
if it2==0 then
[stk,nwrk,txt,top]=f_gener(nam,nwrk)
else
error(nam+' d''un argument complexe non traduit')
end
else
error(nam+'d''une matrice carre non traduit... |
fa3aa443d9e8afbd4d1f6832f7c1fe9d25575e01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.19/Ch8_8_19.sce | 8ff17ea547361bbe6fee99669792500a9b66b1a9 | [] | 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 | 278 | sce | Ch8_8_19.sce | clc
clear
disp("Example 8.19")
printf("\n")
disp("convert the following binary numbers to hexadecimal")
disp("a)101110 b)11010 c)1011101")
//this program, converts only integer part to decimal
bin='101110'
dec=bin2dec(bin)
Hdec=dec2hex(dec)
printf("decimal=%s",Hdec)
|
7bd668785d636d37059f4b7d00afed0127513548 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%sgb.sci | 9638dc19d5165ba81bd0e67289ac4db85a7ce894 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 41 | sci | %sgb.sci | function r=%sgb(a,b)
// r=a|b
r=(a<>0)|b
|
8d0a1cf0de41f4e95bd1098da59c8445a25e5162 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH4/EX4.15/Ex4_15.sce | 72e2c44fe8328e0b456e948613410c55c7261a18 | [] | 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 | 451 | sce | Ex4_15.sce | //Variable Declaration
U = (1.0/6)*(1+2+3+4+5+6) // Mean of probability distribution
U1 = (1.0/6)*(1*1 + 2*2 + 3*3 + 4*4 + 5*5 + 6*6) // Second moment about the origin
//Calculation
// As we know, Variance = (U1)-U*U
Variance = (U1) - U*U ... |
41689e393958746041df1d4efdfbe9918dbe8d6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH8/EX8.1/EX_8_1.sce | 8f8b3b0d98c0dc89a60b303a5054a5fdbcb6da1b | [] | 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 | 313 | sce | EX_8_1.sce | //Example 8.1 //total voltage gain
clc;
clear;
g1=100;//FIRST STAGE GAIN
g1db=20*(log10(g1));//first stage gain in db
g2=200;//second stage gain
g2db=20*(log10(g2));//second stage gain in db
g3=400;//third stage gain
g3db=20*(log10(g3));//third stage gain in db
Tdb=g1db+g2db+g3db;//
disp(Tdb,"total gain in dB")
|
1fe33872490d983cb24a5bd955e1f2283be5db58 | 7ef51c5d0a21a0b16fdcf1e2b0ba34941a192b5d | /resultados/extract_chord.sci | 96462ffe6fcd8bb53625ab7f20ca3f2bc28dd6ce | [] | no_license | josepedro/TCC | c4ab515fea01859420ba3f5123815430ea2b0e02 | 72622069c60ae6c639d9aa2189f868b6db22c6df | refs/heads/master | 2021-01-21T22:29:10.992789 | 2014-12-26T22:32:02 | 2015-01-02T03:06:25 | 22,113,358 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,088 | sci | extract_chord.sci | function ACORDETOC = extract_chord(S1)
exec correlation.sci;
//get the correlations notes
for index_correlation = 1:12
correlation = cell2mat(S1(index_correlation));
s1(index_correlation) = correlation(1);
notes_frequencies(index_correlation) = correlation(2);
end
//get correlations chords
i ... |
da55cfd5f892a0a747d3314e50fc686392467a6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH13/EX13.1/13_1.sce | 8a04fec1641ee97c4122d4d3ecd1d77f6a8ce677 | [] | 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 | 419 | sce | 13_1.sce |
clc
//initialisation of variables
clear
H= -6.8 //B.Th.U
U= 4.8 //B.Th.U
Vs= 6.25 //ft^3/lb
H1= -17 //B.Th.U
U1= -12.1 //B.Th.U
Vs1= 10.6 //ft^3/lb
t= -38 //F
//RESULTS
printf ('H = %.1f B.Th.U',H)
printf (' \n U = %.1f B.Th.U',U)
printf (' \n Vs = %.2f ft^3/Lb',Vs)
printf (' \n H = %.1f B.Th.U',H1)
pr... |
ccaf3bf334676fd9f1323a6a858da52ebcf4c6c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH12/EX12.5/125.sce | d3181ce49d254ceb189be75747369066ce2d1c46 | [] | 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 | 295 | sce | 125.sce | // problem 12.5
D1=0.76
D2=0.5
x1=20
Vf1=4
Vf2=Vf1
B1=0.15
N=300/60
u1=3.142*D1*N
u2=3.142*D2*N
Vw1=Vf1/tand(x1)
y1=atand(Vf1/(u1-Vw1))
y2=atand(Vf2/u2)
Q=3.142*D1*B1*Vf1
w=9810
g=9.81
P=w*Q*Vw1*u1/(g*1000)
disp(P,y2,y1,"blade angle at inlet and outlet,power developed in Kw")
|
4d96bc60e2ccdbece6bf498ebfa941ad875c9a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH10/EX11.2/2.sce | 3366f3ce65ab71c0239471bb34ac297eac46678d | [] | 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 | 2.sce | clc; funcprot(0);
//Example 11.2 Critical Pressure
// Initialisation of variables
V0 = 1.689*500; //Velocity in ft/sec
rho = 0.001267; //From table 4.1
P = (848.7/12)*13.75; // Pressure at 20,000 ft
gma = 1.4;
g = 32.174;
R = 53.351;
T = 459.4+25; //Temperature ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.