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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23ca47dac3f1d1c16bdee3c9812bd13a75772ccf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH6/EX6.2.3/EX6_2_3.sce | 242f28a8796754bbdc9d60fe0988e823083cc7e3 | [] | 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 | EX6_2_3.sce | //Example No. 6.2.3
clc;
clear;
close;
format('v',5);
//E=cos(fi)+sin(fi)<si;
//En=cos(%pi/4+%pi*cosd(fi)) as 2*E0=1
fi=[0 30 60 90 120 150 180 210 240 270 300 330];//degree(Angle)
si=%pi/2*(cosd(fi)+1);//(Phase)
En=cos(%pi/4+%pi*cosd(fi));//Normalized field
disp("Different values of fi : ");
disp(string(fi)... |
727ee2bae971141e0f39902422d0fae7772c942e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.35/Ex6_35.sce | 1317109d6bd20980832911daaa77c6213d7e889c | [] | 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 | sce | Ex6_35.sce | clear;
clc;
printf("\t\t\tProblem Number 6.35\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.35 (page no. 285)
// Solution
//In this problem,the air expands from 5 atm absolute to 1 atm absolute from an initial temperature of 1000R,
pr=12.298; //relative pressure //unit:atm
h=240.98; //Btu/lbm //enthalpy... |
f24d7a3e29f1c37d1a8bee33cb3464df68dcde74 | b6ff5e342f3675087d2704199bb5a46362b5fc20 | /1GI/S2/Calcul Scientifique/issam/Scilab Programs/Gauss Seidel.sce | 89bac1ca224eb8485cb3adecb91b7db44941cd8a | [] | no_license | Ssouh/EHTP | 75f5071282a1b0ed500d5c27e73b514fefe7af61 | 96558e59e398f652ae2e8a560b9dcd4ee3e8c6a8 | refs/heads/main | 2023-03-14T11:56:46.424726 | 2021-03-04T09:49:05 | 2021-03-04T09:49:05 | 330,687,825 | 0 | 0 | null | 2021-01-24T18:02:23 | 2021-01-18T14:15:22 | null | UTF-8 | Scilab | false | false | 968 | sce | Gauss Seidel.sce | function x=GaussSeidel(A,b,es,maxit)
if nargin < 4 then maxit=50; end
if nargin < 3 then es=0.00001; end
[m,n] = size(A);
if m~=n then error('Matrix A doit etre caree'); end
C=A;
for i=1:n
C(i,i)=0;
x(i)=0;
end
x=x';
for i=1:n
C(i,1:n) = C(i... |
a5fe75fa3cbf042b3ad602f3f1b1a45c30ff83de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.18/3_18.sce | 582f01a3e7045fe87e9a2f69427d7a714208304b | [] | 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 | 873 | sce | 3_18.sce | clc,clear
printf('Example 3.18\n\n')
V=200,I_L=40,
R_sh=200,R_a=0.2 //shunt field winding and armature resistance
//case(a) : As a generator
P_out_g=V*I_L //output poewr as generator
I_sh=V/R_sh
I_a = I_L + I_sh
E = V + I_a*R_a
P_a_g=E*I_a //power developed in armature
P_cu_g= R_a*I_a^2 + R_sh*I_sh^2 //co... |
720b8a373124c95898afaa71ab2d8f1f94561114 | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH8/EX8.3/8_3.sce | fc8b71426c9b6522c299fef9a0430078d9fd7512 | [] | 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 | 322 | sce | 8_3.sce | clc;
s = %s;
G = syslin('c',((s-3)*(s-5))/((s+1)*(s+2)));
disp(G);
evans(G,100);xgrid();
printf("For all the points on the root locus K.G(s).H(s) = -1");
K = -G^(-1);
disp(K);
Kdot = derivat(K);disp(Kdot,"dK/ds =");
root = roots(numer(Kdot));
disp(root(2),"Break away point at ",root(1),"Break in point at");
... |
6da53de5deae857de20ea2bf05e5a554fab3bdca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.19/4_19.sce | d2df1d9dd2e16050248eed0f69ba9c573bbe8f15 | [] | 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 | 309 | sce | 4_19.sce | clc
clear
//Initialization of variables
w=0.3448
R=8.3143
Tc=647.3
//calculations
disp("From charts of entropy")
h0=0.57
h1=0.05
h2=h0+w*h1
h3=h2*R*Tc
dh=-h3
//results
printf("Enthalpy departure = %d kJ/kmol",dh)
disp("The answer is a bit different due to rounding off error in the textbook")
|
2edb008dddbaa5214c94f57a56ec59449a9e3653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH13/EX13.9/Ex13_09.sce | faedc20f2d98cafa83ec61d4a58b92b6d6cbad5c | [] | 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 | 697 | sce | Ex13_09.sce | // Scilab Code Ex13.9: Page-502(2014)
clc; clear;
k = 1.38e-023; // Boltzmann constant, J/K
r = 3e-015; // Distance at whcih the nuclear force becomes effective, m
e = 1.6e-019; // Charge on an electron, C
K = 9e+009; // Coulomb's constant, N-Sq.m/C^2
V = K*e^2/r; // Coulomb potential energy, J
// A... |
cc36cde4650da8f0dff26fd71bcbe82a363561c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.44/Ex9_44.sce | c1fb93f8f024712ebbe5e01af8e4f5ff3457f6fc | [] | 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 | 296 | sce | Ex9_44.sce | clear
//Given
R=20.0 //K ohm
R2=1 //K ohm
//Calculation
Vr=(R*R2)/(R+R2)
//Result
printf("\n (i) Voltmeter resistance is %0.3f K ohm", R)
printf("\n (ii) Voltmeter resistance is %0.3f K ohm",R2)
printf("\n (iii) Voltmeter resistance is %0.2f K ohm",Vr)
|
155713b200b4bcc2e554bcf6460f254e0f45a5df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH6/EX6.3/EXAMPLE6_3.SCE | de90efc4d9dd0a1f5eedf1716e95c084eea68b7b | [] | 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 | 968 | sce | EXAMPLE6_3.SCE |
//ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.3(PAGENO 282)");
//given
R_1 = 20*10^3//resistance one
R_2 = 50*10^3//resistance two
T = 273+15//temperature in kelvin
B = 100*10^3//bandwidth
k = 1.38*10^-23//boltzman's constant
//calculat... |
bdbbf7dce1ab19bcd6d7ada74cfeb9f8564a821c | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_conv.sci | 7e0d7d6c85fc8711be4459ae77dc24967e04c313 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,708 | sci | moc_conv.sci | function y = moc_conv (a, b, shape )
// Convolve two vectors.
// Calling Sequence
// y = nan_conv (a,b)
// y = nan_conv (a, b) returns a vector of length equal to length (a) + length (b) - 1
// Description
// If a and b are polynomial coefficient vectors, conv
// returns the coefficients of the product polynomial.
// E... |
e29ce95ad9ddccfe52870a42a6751a0f3667ac7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH2/EX2.09/2_09.sce | 7fac1f612d044bec5ded9fdd6c569c1955b0b956 | [] | 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 | 2_09.sce | //Problem 2.09:
//initializing the variables:
D = 5/12; // in ft
p = 50; // in lb/ft3
v = 10; // in fps
u = 0.65*6.720E-4 ; //in lb/ft.sec
//calculation:
Re = D*p*v/u
if (Re>2100) then
s = 'turbulent';
else
s = 'laminar';
end
printf("\n\nResult\n\n")
printf("\n Reynolds number for a fluid flo... |
20b01f248c6b896b4c5a0bd0c84ba067f09755bf | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rooteig/rooteig10.sce | 524c3d74e7bd4dae6b4d07ee792dc1418fdec2c9 | [] | 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 | 230 | sce | rooteig10.sce | //no i/p args are passed to the function
clc;
clear;
exec('/home/debdeep/Desktop/TEST NOW!!/rooteig/rooteig.sci');
y=rooteig();
//output
// !--error 77
//rooteig
//at line 73 of function rooteig called by :
//y=rooteig();
|
2773885362a98ffb1e9e4ece27a303bfd3e3abf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH2/EX2.4/ch2_4.sci | 5b9ff8694d4a6ad66a06194b6cff4dd788c4cb44 | [] | 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 | 715 | sci | ch2_4.sci | // Exciting current calculation needed to setup reqd flux
clc;
U_o=4*%pi*10^-7;
A1=800*10^-6;
A2=600*10^-6;
l1=1*10^-3; //air gap length
l2=160*10^-3; //length of central limb
l3=400*10^-3; //length of side limb
phi=.8*10^-3;
N=500;
function [B]=fd(A)
B=phi/A;
endfunction
... |
d821dd06d4ff3f55cd06813c47cfe5bce49f7fbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.6.1/Ch03Exa3_6_1.sci | e470ce16058173f8790054e13f3b538b4aa0c6ba | [] | 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 | 373 | sci | Ch03Exa3_6_1.sci | // Scilab code Exa 3.6.1 : To determine the mass of daughter nucleus for given reaction : Page no. 138 : (2011)
M_C = 14.007685; // Mass of C-14 nucleus, amu
E_e = 0.156/931.47; // Kinetic energy of emitted electron, amu
M_N = M_C-E_e; // Mass of N-14 nucleus, amu
printf("\n Mass of N-14 nucleus : %9.6f amu", M_N)
/... |
50f2e036c482c5675b226561819323aebd14a00b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH3/EX3.9/3_9.sci | 9ad9db10af8ab4638bbe5d78c17f8378cd5621a4 | [] | 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 | 241 | sci | 3_9.sci | //3.9
clc;
AH=5*1/2;
printf("AH passed in 30 minuties=%.1f percent",AH)
V_assumed=0.51*1000/AH;
V_actual=200;
Error=V_actual-V_assumed;
Correction=-Error;
Cor=Correction*100/V_actual;
printf("\nCorrection required=%.1f percent",Cor) |
ee97f859d5fb7d60365fd56e789b7960440659aa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/REB1.prev.tst | d1819be918384b173ef44daaa951366d6a1a41dd | [
"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 | 178 | tst | REB1.prev.tst | Expanding for base=2, level=4, reasons+features=base
Refined variables=
ReasonFactory: base, code="base"
BaseReason.consider(
"0",
"4a²-4b+1") =
failure constant=1, vgcd=4
|
3639222c3559fb0e9b61b2b709c6e440ae7f39a2 | b251fec828ff239d8ed39a956b6c05223716aaf0 | /grrw.sci | a7faab0b7463255a3efb48a7dc67f7fdd5a8a965 | [] | no_license | paulgomme/paulgomme.github.io | 9b1a52ccc205a190cafba992dd652af807ba0516 | df9b4a4ad96e62f8f4d4234aba9c3686c3d85ef4 | refs/heads/master | 2023-04-17T18:14:47.969447 | 2023-03-22T17:53:28 | 2023-03-22T17:53:28 | 26,449,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,924 | sci | grrw.sci | // Code to solve Gomme, Rogerson, Rupert and Wright, "Home Production in
// a Life-cycle Model", NBER Macroeconomics Annual 2004, pp. 415-461
//
// Coding by Paul Gomme, Concordia University
//
// Code written in Scilab: http://www.scilab.org
//
clear;
clearglobal;
//cd ("~/Work/scilab");
rand('seed');
rand('normal');... |
da044de351627536bc06470c7840de4b72ff0833 | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp1/myf.sci | e2fd9cb1af7190c748aee96f4c6bcbe694c362fc | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sci | myf.sci | function [fval] = myf (x)
fval = exp(x) / (cos(x)^3+sin(x)^3)
endfunction
|
7ae30ba3cc2a9014710232d0f3edf1a03c533422 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1106.sce | 0b881eeedab9267f5ace3d48bad3a684093b0486 | [] | 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 | 1,752 | sce | map1106.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1106" Width="13" Height="9" CellSize="40" BackgroundSize="1" Background="7plus.png">
<Cell Name="丛林图腾1" X="1" Y="1" />
<Cell Name="丛林图腾2" X="3" Y="1" />
<Cell Name="丛林图腾2" X="4" Y="1" />
<Cell Name="丛林图腾2" X="5" Y="1" />
<Cell Name="丛林图腾2" X="6" Y="1" ... |
ca0477b9b32762f93d4e16d9879559c6852507bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.27/EX_5_27.SCE | 41c5f6a234dd24b6b065a4179060e60610c3fcd6 | [] | 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 | EX_5_27.SCE | // Example 5.26:fh,fl and bandwidth
clc;
clear;
close;
fln=25;//in hertz
fhn=16;//in kelo hertz
n=3;//
x=sqrt(2^(1/n)-1);//
fl=x*fln;//lower cut off frequency in hertz
fh=fhn/x;//upper cut off frequency in hertz
BW=fh-fl*10^-3;//bandwidth
disp(fl,"lower cut off frequency in hertz")
disp(fh,"upper cut off fr... |
fb83d63b6af2b730c13a4cf75c52bdf3201a7bde | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH4/EX4.5.2/Ex4_5_2.sce | 8642b7a41facd9e6f4cbbf567c63ea902538df9e | [] | 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 | Ex4_5_2.sce |
//ElGamal Key Encryption
r = 4
pt = 7
e1 = 2
e2 = modulo(e1^d,p)
c1 = modulo(e1^r,p)
c2 = modulo(pt*e2^r,p)
disp("Cipher text")
printf("(%d,%d)",c1,c2)
|
72631e8f11aa3958f6f7b5b78160a37abad12c28 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/percent/%rvs.sci | 45b95857a8307b7aae242990f2b168e8c619fcea | [
"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 | 263 | sci | %rvs.sci | //<h>=%rvs(h1,h2)
// %rvs(h1,h2) calcule (I+h1*h2)\h1. h1: matrice de fractions rationnelles
// h2 matrice de scalaires
//!
[m1,n1]=size(h1(2))
[m2,n2]=size(h2)
if abs(n1-m2)+abs(m1-n2)<>0 then error('inconsistent dimensions'),end
h=(eye(m1,m1)+h1*h2)\h1
//end
|
8b4df76026e45ee59372036259660a8081885653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.10/7_10.sce | 15b703b1e5ab50210e4ddb11ad7f33c61215946a | [] | 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 | 267 | sce | 7_10.sce | clc;
b=0.228;
a=1-b;
c=[1+(2*0.455)-b-2*a]/2
n2=a+b+c+1.709;
p1=8.28;
T2=555;
n1=1+0.455+1.709;
T1=2968;
p2=p1*(n2/n1)*(T1/T2);
p=1;
K=a/b*[n2*p/(c*p2)]^0.5;
disp(log(K),"log(K) is:");
disp("2968","from tables it is proved that temperatur is:")
|
ab138494b0463fe8aad32f21ae832db2f6a5446c | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.77/ex2_77.sce | 093fbf46785fa0dff42b2fd959a8ee74426aee6d | [] | 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 | sce | ex2_77.sce | clc
C=2.5*10^-6; //Assigning values to parameters
R=15;
L=260*10^-3;
temp=(1/(L*C))-(R^2/L^2);
fr=(1/20*%pi)*sqrt(temp);
Q=(2*%pi*fr*L)/R;
Zr=L/(C*R);
disp("Hertz",fr,"Resonant frequeny");
disp(Q,"Quality factor");
disp("Ohms",Zr,"Dynamic Impedance"); |
e77985dc5c4d2a841d0a668c4c846219c48e5f93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH5/EX5.6/5_6.sce | bf55d7b107cd78f32bb78e62d921fab440bafcea | [] | 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 | 5_6.sce | ////
//Variable Declaration
n = 3.0 //Number of moles of CO2
Ti = 300 //Initial and final state Temeperatures of CO2, K
Tf = 600
pi = 1.00 //Initial and final state pressure of CO2, K
pf = 3.00
cpm = 27.98 //Specific heat of mercury, J/(mol.K)
M = 200.59 //Molecualr... |
c266ad9c49126bd13fe5d65b326a93fae55a7e4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH24/EX24.12/Ex24_12.sce | 933c2f32fba14d40c93e8dfe97fb7a0732a9a7dd | [] | 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 | 928 | sce | Ex24_12.sce | clear
//
//
//Given
//Variable declaration
d=1.2 //Diameter in m
p=1.5 //Internal pressure in MN/sq.m
sigmat_star=200 //Yield stress in MN/sq.m
Sf=3 //Factor of safety
//Calculation
sigmat=sigmat_star/Sf //Permissible stress in simple tension in MN/sq.m
//case(i):Thic... |
001aa13ffb31b4f9ebbc02f02b039684d8989bfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH24/EX24.1/EX24_1.sce | 943cd0a5addf413339f8f67acbd3881245efe918 | [] | 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 | 499 | sce | EX24_1.sce | //Chapter 24
clc
//Example 1
//given
L=1.2 // Seperation between screen and double-slit in meter
d=3*10^-5 //distance between the two slits
m=2 //second order bright fringe
Y=4.5*10^-2 //distance of second order bright fringe from centerline
//wavelength of light
lambda=(Y*d)/(m*L)
disp(lambda,"(A) wavelengt... |
05af3f444311a59ac26ff086c52b526a855a796c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.11/Ex3_11.sce | 310bf4dd3a1a24aaea38369713e2cbaf195b4d58 | [] | 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 | 519 | sce | Ex3_11.sce | //EX3_11 PG-3.38
clc
Rf=0.1;
Idc=10;
Rs=0;
Es=30;//rms value of input voltage
Esm=sqrt(2)*Es;//peak value of the input voltage
Im=Idc*%pi/2;//DC output current
disp("We know that Im=Esm/(2Rf+Rs+Rl) for fullwave rectifier")
Rl=Esm/Im-2*Rf-0;
printf("\n Therefore load resistance is %.1f ohm \n",Rl)
Pdc=Idc^2*R... |
4cf42622b2759c21c95ec5817b1d8833355b564e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH13/EX13.2/Ex13_2.sce | 8c7b2c07af34069b723745bca5cbaa16414b340e | [] | 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 | 686 | sce | Ex13_2.sce | // Exa 13.2
// To determine secret encrypting key K using DH key exchange algorithm.
clc;
clear all;
p=23; //prime number that both parties agreed upon
g=5;// g is primitive mod p
a=6; //party A choosen number
b=15; //party B choosen number
//solution
printf('Party A sends to party B as (g^a mod p) = %... |
f6093e1b8c05a1337417bdbbda8efbb77f361157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH2/EX2.8/2_8.sce | f92feb2715f66ccc68bc18e881b5c337cdc6ca4e | [] | 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,713 | sce | 2_8.sce | clear;
clc;
// Illustration 2.8
// Page: 120
printf('Illustration 2.8 - Page: 120\n\n');
// solution
//*****Data*****//
// a-liquid benzene b-nitrogen
T = 300; // [K]
l = 3; // [length of vertical plate, m]
b = 1.5; // [width of vertical plate, m]
P = 101.3; // [kPa]
v = 5; // [velocity across ... |
9408b59f5a679b9544c86ca9f03f5c6f4c17dd93 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Projpers.sci | b43451a9aa1a6574e57662a6e272bf8e41d21e6e | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sci | Projpers.sci | // 08.08.12
// 08.10.28
function CL=Projpers(varargin)
Nargs=length(varargin);
Flg=0;
if Nargs==1 & Mixtype(varargin(1))==1
Flg=1;
end;
CL=[];
for N=1:Nargs
Crv=varargin(N);
if Mixtype(Crv)==1
Tmp=CameraCurve(Crv);
CL=Mixadd(CL,Tmp);
else
if Mixtype(Crv)==3
ObjL=[]... |
9abc1b456aa94ad8cd6e5643ef1aebf70f18cbbc | bf24e30d6ed9b0d16fe0d59f6caf6ee61aa714cd | /missionA/mission3a.sci | f563db19f95fb959eb2c36cc1ab8b9e21ef9bea3 | [
"MIT"
] | permissive | pierre-geeraert/Projet_exolife | c8d3b623f2cbcaaaf5c510c8f438da2c82980be8 | cff5ca5cb1602d1b1ef589b847536b9e61e631ee | refs/heads/master | 2021-05-03T06:30:23.099197 | 2018-02-15T14:50:01 | 2018-02-15T14:50:01 | 120,595,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sci | mission3a.sci | exec('readpbm.sci')
exec('display_gray.sci')
img = readpbm('Europa_surface.pbm');
//gray = display_gray(img);
max_gray=max(img);
disp(max_gray);
//216
colonne=512;
ligne=384;
//si point le plus blanc if img(j,i) > 200
//si point le plus noir if img(j,i) < 50
for i=1:ligne
for j=1:colonne
if img(... |
1c906ae2491b41814e9bc96c7f48942d7fab7bd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH2/EX2.2/Example2_2.sce | fa2f1265056473cd0f1fef767718fc9651887c2e | [] | 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,133 | sce | Example2_2.sce | clear//
//Caption:Program to Caculate Electric Field E at P due to 4 identical charges
//Example2.2
//page 33
clc;
P = [1,1,1];
P1 = [1,1,0];
P2 = [-1,1,0];
P3 = [-1,-1,0];
P4 = [1,-1,0];
R1 = norm(P-P1);
aR1 = (P-P1)/R1;
R2 = norm(P-P2);
aR2 = (P-P2)/R2;
R3 = norm(P-P3);
aR3 = (P-P3)/R3;
R4 = norm(P-P4);
aR4 = (P-P... |
5579d132b08c697acd21db4e458080cff7faff49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH3/EX3.2/Ex3_2.sce | ae234209037776ae10c18305c1449e433427ad7e | [] | 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 | 698 | sce | Ex3_2.sce | //Example 3.2
clc
clear
A = [1 1 1; 3 3 4; 2 1 3]; //Coefficient Matrix
B = [7; 24; 16]; //Constant Matrix
n = length(B);
Aug = [A,B];
// Forward Elimination
for j = 1:n-1
// Partial Pivoting
[dummy,t] = max(abs(Aug(j:n,j)));
lrow = t(1)+j-1;
Aug([j,lrow],:) = Aug([lrow,j],:);
... |
f55842364c70e792da277108d60c3d4212887f1c | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_polyfit.sci | bb7c3a0fb7bdf8cc48b146f72fb63fd32ca19f3a | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,746 | sci | moc_polyfit.sci | function [p, s, mu] = moc_polyfit (x, y, n)
// Return the coefficients of a polynomial
// Calling Sequence
// p= polyfit (x, y, n)
// [p, s] = polyfit (x, y, n)
// [p, s, mu] = polyfit (x, y, n)
// Parameters
// n: degree (scalar) or logical vector
// p: The polynomial coefficients are returned in a row vector.
// s... |
c0530a825a3e2980054fc21c2b09bb04c4e40a1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH14/EX14.11/Ex14_11.sce | 1ddc41e5f70f50d9294302d8f3a47a6c9bf3fa89 | [] | 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 | 617 | sce | Ex14_11.sce | clear all; clc;
disp("Scilab Code Ex 14.11 : ")
//Given:
A = 400*10^-6; //m^2
E = 200*10^6; //kN/m^2
P = 100; //kN
//Virtual Work Equation:
n = [0 0 -1.414 1];
N = [-100 141.4 -141.4 200];
L = [4 2.828 2.828 2];
del_cv = 0;
for i=1:4
del_cv = del_cv + (n(i)*N(i)*L(i))/(A*E);
end
del_cv = d... |
442a4ce3cbdc5083182d72a23a5b26fc96eed0ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH3/EX3.4/3_4.sce | 32e256dc2d7f2a5bb12513b3addeef5ccfc9218e | [] | 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 | 261 | sce | 3_4.sce | clc
//initialisation of variables
d= 4 //ft
d1= 5/4 //ft
g= 32.2 //ft/sec^2
h= 3 //ft
K= 1
//CALCULATIONS
C= (%pi/4)*d^2*sqrt(2*g)/(sqrt((d^2/d1^2)^2-1))
Q= K*sqrt(h)*C
V= Q/(%pi*d1^2/4)
//RESULTS
printf ('Velocity at the throat= %.2f ft/sec ',V)
|
22f6e54773a94e234c16fa5091eb45120e031684 | d153e998690566a383b3cb700294956d3753b364 | /Scilab/newton.sce | 216d70b203a2c446f93c79e8745700d9b3b458ee | [] | no_license | rayssalourrane/TPFINAL-CN | dc2c2211538fb36a7446c3ef0017a104b2375f87 | ec7d83a359c4ed85a65cefad0d69472955b467ca | refs/heads/master | 2020-06-18T09:25:39.181310 | 2019-07-11T18:45:14 | 2019-07-11T18:45:14 | 196,251,580 | 1 | 5 | null | 2019-07-11T13:29:08 | 2019-07-10T17:53:28 | Java | UTF-8 | Scilab | false | false | 744 | sce | newton.sce | function [y]=f(x)
/*Dados de Entrada
x0: 4
tolerancia: 0.00001
*/
y = (x^4 + 2 * (x^3) - 13 * (x^2) -14 * x + 24)
endfunction
function [y]=df(x)
y = (4 * (x^3) + 6 * (x^2) - 26 * x - 14)
endfunction
tic();
t=100;
for i=1:1:t
xZero=4;
tolerancia=0.00001;
Fx=f(xZero);
DFx = df(xZero);
... |
77470abe1146f71441bc5a6e96b9b383cb65bb7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.3/Example4_3.sce | b1c040e2c71f8aea4cbf176fec4561291612e766 | [] | 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,041 | sce | Example4_3.sce | //Example 4.3
clear;
clc;
fc=1*10^(3);
fs=1.3*10^(3);
AmaxdB=0.1;
Amax=10^(AmaxdB/20);
AmindB=40;
Amin=10^(AmindB/20);
f01=648.8;
fz1=4130.2;
Q1=0.625;
f02=916.5;
fz2=1664.3;
Q2=1.789;
f03=1041.3;
fz3=1329;
Q3=7.880;
C1=2.2*10^(-9);
R1=1/(2*%pi*f01*C1);
w01=2*... |
1d4e8f74de1c364fcc372e06097605a77e1345eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.44/ex_3_44.sce | 6aec727d5af7bcbc06f3e49cdbde3618b26308d8 | [] | 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 | 416 | sce | ex_3_44.sce | //Example 3.44:balance current and bridge sensivity
clc;
clear;
close;
P=100;//ohms
Q=1000;//ohms
S=857;//ohms
X=((P/Q)*S);//ohms
E=1.5;//volts
dx=1/X;//
rg=50;//ohms
a1=((rg+(X*(Q+S))/(X+S)));//ohms
dig=((E*S*X*dx)/((X+S)^2*a1));//
D=100;//M-ohm
sb=((dig*D*10^6)/dx);//
disp(dig*10^6,"balance current is ,(micro-A)=")
d... |
a89662f195106beb7f001d8953617831be316582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH13/EX13.13/Ex13_13.sce | 830ded78db1efebe49423a52e240ef68d9f89770 | [] | 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 | 235 | sce | Ex13_13.sce | clear
//Given
f=50 //Hz
L=2
Ev=12 //V
L1=6
//Calculation
//
Xl=2*%pi*f*L
Iv=Ev/Xl
Xl1=2*%pi*f*L1
Iv1=Ev/Xl1
//Result
printf("\n Current flows when the inductance is changed to 6 H %0.4f A",Iv1)
|
166abadffd59d3ab88e690fdd8d773d76fe24951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH6/EX6.4/Ex6_4.sce | 79b55174ddf65b07372f62000c29b1c43c12ab37 | [] | 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 | 820 | sce | Ex6_4.sce | clc,clear
//Example 6.4
//To solve the given equation
//Given equation is cos_theta = tan_theta
//simplyfying given equation, we get
//(sin_theta)^2 + sin_theta - 1 = 0
//Solve for sin_theta as follows
p=[1 1 -1]
sin_theta= roots(p)
printf('Values of sin(theta) after simplifying and solving = %f and %f\n',si... |
c2887ced86aa78f904b158c555e283331ab9a1b8 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/bar_time.sce | 1cb13d532b6f87cfdafee5b1398f7af6682defd9 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,357 | sce | bar_time.sce | // simple test : bar in traction-compression
FEnode=[1 0 0 0 0 0 0
2 0 0 0 50 0 0];
FEel0=[%inf abs('bar1')];
FEel0(2,:)=[1 2 1 1 1];
pl=[1 1 2.1e10 0 2500 0];
il=[1 1 0 0 0 1];
femesh(';divide500');
model=struct('Node',FEnode,'Elt',FEel0,'pl',pl,'il',il);
data=struct('DOF',2.01,'def',1e6)... |
18978c6a9a76527655bd5365771ecad284e8f939 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/char-val/0100.tst | f372de7f372f96a1fa4e3b2af10d3e891eda44e4 | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6 | tst | 0100.tst | "!i$d" |
c8ce45059411b10a77b6d341678d2e6fe03ff815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH6/EX6.6/example6_6.sce | ea9d6a0923f05711d43158b2f28709aa87586d8c | [] | 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 | 713 | sce | example6_6.sce | clear
clc
//Example 6.6 FORCES ACTING ON A PIPE BEND
p=75*10^3 //[Pa]
r=0.5; //[m]
A=%pi*r^2 //area[m^2]
S=0.94;
rho=S*1000 //drnsity[kg/m^3]
Gamma=S*9.81 //specific weight of oil[kN/m^3]
V=1.2; //volume of oil[m^3]
Q=2; //[m^3/s]
m=rho*Q //mass flow rate[kg/s]
v=2.55; //[m/s]
theta=30; //degrees
//Reacti... |
7fb0b59afb052e20e7e9d15d0c5991bf127d9f9a | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/difabs.tst | a2dd0d60a896f2e33189f1cebfd205d3347ae979 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 176,854 | tst | difabs.tst | \set time slow
\rele print CROUTPUT:
\DISK
EXTEND 100
\LIST 1
REAL 7.232 9.927 10.643 83.58 82.04 73.98
\LIST 5
OVERALL SCALE=.6415809
READ NATOM=1
ATOM C 1 1 .05 1 1 1
END
\LIST 13
DIFF GEOM=KAPPA
COND .71073 6.05 90
MATRIX -0.032117 0.056039 0.076280
CONT 0.023782 -0.088931 0.056803
CONT 0.139157 -0.000812 -0.0... |
6c8baae83296d5aae67db6d51668c5045351d9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH29/EX29.3/29Ex3.sce | b88c6f0432bc9d29b18eef1b53d497b1883ba654 | [] | 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 | 397 | sce | 29Ex3.sce | //Chapter 29 Ex3
clc;
clear;
close;
facevalue=100; //since the stock is calculated over 100
discount=4;
brokerage=1/4; //value is in percentage
purchaseAmt=2400;
cashfacevalue=facevalue-discount-brokerage; //cash required to purchase Rs.100 stock
cashpurchaseAmt= cashfacevalue*purchaseAmt/facevalue;
mprintf... |
c106c7cb0cdd563ee4b8d4b2046905126cafbbda | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/EC37.prev.tst | 70651a22ad45d3ec050af68f5e5fc5537463543f | [
"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 | 618 | tst | EC37.prev.tst | [[-2,2,0,-4],[-6,-2,-2,-4],[-5,-4,-5,-2],[1,-2,4,1]],det=156 [89,-17,-40,-86], chain 2 => [132,-76,-5,-123] => [76,-138,-85,141] ?? [-992,-574,315,153]
[[2,5,0,0],[2,-5,2,2],[0,-6,-1,2],[0,0,-2,2]],det=56 [89,-17,-40,-86], chain 2 => [93,11,-30,-92] => [241,-113,-220,-124] ?? [-83,359,650,192]
[[5,-2,-4,6],[-4,3,4,-6... |
8d8eacae09b8885fa3a59421919edf4df10f95cd | 19cccae9f14fef24f87c8cded25b9ed8ac3a4c4e | /src/emcip_test/data/generatePoints.sci | 9fac928aa537300ca5f3c7e34a213bb7c30db68f | [] | no_license | shingyo12/catkin_ws | ab70d41ad6aa54a2c40a7b24adc496dc46f3c7c2 | 68547f806e72156043408dae664b98b15bd0011e | refs/heads/master | 2020-04-07T19:37:16.966634 | 2018-12-13T08:17:31 | 2018-12-13T08:17:31 | 158,648,175 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sci | generatePoints.sci |
rand("seed", fscanfMat("seed.txt"));
R1 = rand(3,3);
R2 = R1 + eye(3,3)*0.01;
[U,S,V]=svd(R2);
H = eye(3,3);
H(3,3)=det(U)*det(V);
R = U*H*V';
t=rand(3,1)*0.2;
fprintfMat("RT.txt", [R'; (-R'*t)']);
P=fscanfMat("P101.txt");
P(:,4)=[]
Q=R * P' + t * ones(1, 101);
Q=Q';
fprintfMat("Qnew101.txt", Q);
P=fscanfMat("P504... |
d5165b24110c3b0a96804c5c9b81450efd8b8de7 | d0080e0eb466760ff9223b7198868b34c6783607 | /Apprentisage/exercices/rbfn.sce | fc6f27827e7874ca2fd48c64e82b9b15eb748e73 | [
"BSD-3-Clause"
] | permissive | vanthonguyen/m2 | fc8b80f19a456e0f038f28c3e03a88e85e1c17c3 | 41b9380951a5e241cab591e186af80c40e4be663 | refs/heads/master | 2020-12-26T01:12:07.179725 | 2014-05-13T08:17:28 | 2014-05-13T08:17:28 | 19,494,479 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,078 | sce | rbfn.sce | function [w, c, s ]= rbfn(X, t, k, h)
p = length(X(:, 1))
//calculate the centroids
//centroids = neural_gas(1, k, X, 0.1, 10, 5, 50)
centroids = fs_learning(2, k, X, 0.1, 10)
//determine length of kernel Gaussian sigmas
//distance from points to their centroid
dists = zeros(k,1)
//... |
80a834186ff5561a505e57b1c491249c43c45418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH6/EX6.9/Ex6_9.sce | 04d1af5bfbcbbd5783677b115d52951824fb52f4 | [] | 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 | 676 | sce | Ex6_9.sce | clc
// initialization of variables
clear
Do=22 //mm
Di=18 //mm
Dm=20 //mm
tD=0.1 // t/D
//part (a)
tau=70 //MPa
G=77.5 //GPa
//calculations
Do=Do*10^-3
Di=Di*10^-3
Dm=Dm*10^-3
tau=tau*10^6
G=G*10^9
A=%pi*Dm^2/4
t=Dm*tD
T1=2*A*tau*t
th1=tau*%pi*Dm/(2*G*A)
J=%pi/32*(Do^4-Di^4)
r=Dm/2
T2=tau*J/r
th2... |
d23eba778e95550194feecf2affaa596b3925278 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH11/EX11.3/Ex11_3.sce | 4835c8b91f0b5041a06b7db35aac2def275581d1 | [] | 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,942 | sce | Ex11_3.sce | // chapter 11
// example 11.3
// Determine control range of firing angle, maximum value of rms load current, maximum power and power factor, maximum values of average and rms thyristor current, maximum possible of di/dt and the conduction angle for alpha=0 and alpha=120
// page-721-722
clear;
clc;
// given
R=4; // in o... |
c933335a246d4a86c8a74c519ed054b79a14aafd | 364f7d17c4f024c39c47c99bda284bacb913d470 | /macros/rotestimate.sci | 79fdc2d7766908afe3a859336dbc754c2e16644d | [] | no_license | msharsha/FOSSEE-Image-Processing-Toolbox | 6ce7bafc187b99b9e01d1eedcc09a11c3a80370d | f8b16bc3329f9186a3b362f29d9a40d20b48cfd4 | refs/heads/master | 2020-12-02T07:55:57.553927 | 2017-07-10T07:41:21 | 2017-07-10T07:41:21 | 96,747,260 | 0 | 0 | null | 2017-07-10T07:14:37 | 2017-07-10T07:14:37 | null | UTF-8 | Scilab | false | false | 2,609 | sci | rotestimate.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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_CeCILL_... |
f64a39f098b2096e68e54351ec19d3da370e56b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.9/ex2_9.sce | ba9ee6a645180298d41723e406a2c72c77680689 | [] | 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 | 248 | sce | ex2_9.sce | clc;
v=24; //velocity in m/sec
a=8; //acc. in m/sec square
t=v/a; //using t=v/a
disp(t,"Time in sec = "); //displaying result
s=(1/2)*(a*t*t); //kinematical equation
disp(s,"Distance in metre = "); //displaying result |
245d4af07634ce015b3ef5ec3422fcb16a35b186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH9/EX9.1/9_1.sce | 12d92f1ab593f39caff15b7c04ed374044400bb2 | [] | 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 | 9_1.sce | clc
//initialisation of variables
clear
n=7
w= 62.4 //lbf/ft^3
v= 6 //ft/sec
d= 2 //in
u= 2.34*10^-5 //lbf/ft^3
f= 0.0178
g= 32.2 //ft/sec^2
R= 1.224
R1= 8 //ft/sec
//CALCULATIONS
r= (n+1)*(2*n+1)/(2*n^2)
Red= w*v*(d/12)/(u*g)
C= (d/Red)^(1/7)*R*(R1/f)^(4/7)
V = v*sqrt(f/8)
//RESULTS
printf ('Vmax/V =... |
232a61ccdcbeb1766174bc1d135e7847d705cb30 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/shootingmethod/startshooting.sci | e41ce641b4a30e7dd3b92968f92f247936f12086 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,623 | sci | startshooting.sci | // THIS PROVIDES A SOLUTION FOR A BOUNDARY-VALUE PROBLEM FOR A
// FIRST-ORDER ODE WITH ONE UNKNOWN PARAMETER TO BE DETERMINED.
// THE ODE IS OF THE FORM Dy/Dx = f(x,Q) WHERE Q IS THE
// UNKNOWN PARAMETER. THE BOUNDARY CONDITIONS ARE y = Ya FOR
// x = a AND y = Yb FOR X = b.
// THE FUNCTION f(x,Q) IS PRO... |
035082608abef1a35b266ed285e2399c40b22389 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH6/EX5.1/EX5_1.sce | abe0a51ffc8ba82af0ec7b96ac7548c8411c03d2 | [] | 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 | EX5_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 05
// Example No. 5_1
clc; clear;
// Solve for branch currents I1 and I2.
R1 = 1*10^3; // Resistor 1=1*10^3 Ohms
R2 = 600; // Resistor 2=600 Ohms
Va = 15; // Applied Voltage=15 Volts
I1 = Va/R1;
disp (I1,'The Current Resistor R1 in Amps')
disp... |
473f937b15afd00f2b67ecef3d507831431e9ae4 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt18.sce | b131e457d4b78d5ad574443978c2c52c299d99d8 | [] | 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 | 487 | sce | latcfilt18.sce | k=[0.2 0.3 0.4 1];
x=[-1 -2 -3 -4 -5 -6 -7];
[f,g] = latcfilt(k,x);
disp(f);
disp(g);
//output
// !--error 10000
//dimension mis-match between k and v
//at line 46 of function latcfilt called by :
//[f,g] = latcfilt(k,x);
//matlab
//Columns 1 through 6
//
// -1.0000 -2.7800 -5.3680 -8.7360 -13.1040 ... |
8f7bcf48fbc8b6748a5b1a6cf910e3db27c1bb42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH9/EX9.4/9_4.sce | 36f82a206881604ceda4ab4ef8bc1ab676f6681a | [] | 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 | 9_4.sce | //To find the greatest permissible angle
clc
//Given:
N=500 //rpm
//Solution:
//Calculating the angular velocity of the driving shaft
omega=2*%pi*N/60 //rad/s
//Calculating the total fluctuation of speed of the driven shaft
q=12/100*omega //rad/s
//Calculating the greatest permissible angle between the centre ... |
817665f9513ab0cccb45345b7f0185c6e67d3138 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH4/EX4.7/EX4_7.sce | 2cf8d7f90088c6daa887f1202ee63209944ffab9 | [] | 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 | 846 | sce | EX4_7.sce | clc;funcprot(0);//EXAMPLE 4.7
// Initialisation of Variables
r=15;......................//Compression ratio
C=43000;..................//Calorific value of fuel used in kJ/kg
afr=27;...................//Air fuel ratio
t2=870;....................//Temperature of the charge at the end of the stroke in Kelvin
cv=0.71... |
9caef6e5167929ac6aedf1d66232ea5b7e2c98f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH5/EX5.10/Ex5_10.sce | 156b00dac6ade09b692d66bb23ca5591fb011a53 | [] | 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 | Ex5_10.sce | clear
//
//
//
//Variable declaration
m=9.11*10**-31 //mass(kg)
e=1.602*10**-19 //charge(c)
E=5.5 //fermi energy(V/m)
tow=3.97*10**-14 //relaxation time(s)
//Calculation
Vf=sqrt(2*E*e/m) //fermi velocity(m/s)
lamda=Vf*tow //mean free path(m)
//Result
printf("\n fermi velocity... |
b1dcd57289bac6ea529defaa0a24d3f1d84993b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH2/EX2.13/example2_13.sce | 10c949d297aa3c77b277f873e1ce6cda4c77bdaa | [] | 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 | 387 | sce | example2_13.sce |
//exapple 2.13
clc; funcprot(0);
// Initialization of Variable
l=20/100;//length of photograph
w=20/100;//breadth of photograph
Pl=0.6;//longitudinal lap
Pw=0.3;//side lap
s=100*20;
L=(1-Pl)*s;
W=(1-Pw)*s;
Ar=L*W/1000/1000;
N=100/Ar;
A=round(N);
if N-A<0 then
disp(A,"no. of photographs to be taken... |
5905bdee64701a5ae9d3eaafcd29d4a2b54ae866 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH5/EX5.5/5_5.sce | e3d432eb6d1cf6249d449462ba7366dacd345043 | [] | 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 | sce | 5_5.sce | clc;
clear;
Q=9;//gal/min
l=5;//ft
b=2;//ft
H=1.5;//ft
//continuity equation to water: integral of m= d*((h*b*l)+(H-h)*A); where A is cross-sectional area of faucet
//m=d*(b*l-A)*dh/dt, where dh/dt= hrate
//m=d*Q
//since A<<l*b, it can be neglected
fn=poly([0 (1.94*l*b)],"h","c");
x=derivat(fn);//x=m/(dh/dt)... |
f01ebdbf9b43955b56b20453305b2ed694c608bd | 6afc7fb4c7404da6523ba7b016531b1fc4ea53d6 | /Scilab/Scilab2/prog7.sci | cbe1cd5402c2f09072b7932284819d9ec2751f99 | [] | no_license | GarageInc/old-university-projects | 8867bb29e0229f56c4996a6e7241648d8db7ec19 | fb50c5273b58898ecde0a351e694929a8fa1ad81 | refs/heads/master | 2021-06-04T21:09:51.305920 | 2016-09-26T15:51:19 | 2016-09-26T15:51:19 | 50,765,728 | 5 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sci | prog7.sci | function [b, c] = prog7(A)
n = 5;
j = 1;
for i = 1:n
if A(i) > 0 then
b(j) = A(i);
c(j) = i;
j = j + 1;
end;
end
endfunction
|
cb3aef2e4068a6416a513d42a94a2290f8caa146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH8/EX8.7/Ex8_7.sce | f3b1d913dcc077943b0c12f214165ad9060f56df | [] | 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 | Ex8_7.sce | clc();
clear;
//Given :
Q = 4 ;// in MeV
Ex = 2; // in MeV
Ey = 5 ; // in MeV
mx = 4; // in u
my = 1 ; // in u
My =13; // in u
theta = acosd(( (Ey*(1 + (my/My))) - (Ex*(1 - (mx/My))) - Q )/((2/My)*sqrt(mx*Ex*my*Ey))); // angle of ejection in degrees
printf("Angle of ejection is %.0f degrees",theta);
|
fa8eebe751c82f9fb93ed00837155157ce80781f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH2/EX2.6/Chapter2_example6.sce | 8669d45f4a671cce8bafcce8edf08810a462e673 | [] | 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 | Chapter2_example6.sce | clc
clear
//Input data
x=0.03//Length stretched by the spring in m
m=0.25//Mass of the body in kg
//Calculations
k=(m*9.8)/x//Force constant of the spring in N/m
//Output
printf('Force constant of the spring is %3.2f N/m',k)
|
e03c25b84b4bfe9824fae8c1441d67ba31ab3859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH3/EX3.8/ex3_8.sce | 7118f01a8827dc246040acfcac15ae8716fa5ccd | [] | 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 | 452 | sce | ex3_8.sce | // EXA 3.8
clc;
clear;
close;
// Given data
R1 = 5;// in k ohm
R_F = 500;// in k ohm
V_in = 0.1;// in V
A_F = -(R_F/R1);
disp(A_F,"Voltage gain is");
R_i = R1;// in k ohm
disp(R_i,"The Input resistance in kΩ is");
R_o = 0;// in ohm
disp(R_o,"Output resistance in Ω is");
V_out = A_F*V_in;// in V
disp(V_... |
39a7c474768e1fe10b6a8ba75a1a5d9f11e96a07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH11/EX11.7.a/data11_7.sci | 069af91835a64054715484fdcb003bffc8ac9c8e | [] | 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 | 477 | sci | data11_7.sci |
//(Friction Clutches) Example 11.7
//Refer Fig. 11.9 in the book
//Torque transmitting capacity of the multi-disk clutch Mt (N-m)
Mt = 10
//Coefficient of friction for cork sheet-steel plate in wet condition mu
mu = 0.2
//Permissible pressure on cork sheet Pa (MPa)
Pa = 0.1
//Inner diameter of the friction li... |
e2477b3f7dd6714d490b04d6aec00dc0b897e04c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH5/EX5.4/5_4.sce | b0b4f7cbd4bbbaea66669925be26a09eb437a4ba | [] | 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 | 514 | sce | 5_4.sce | //5.4
clc;
Vin=120;
Vm=2^0.5*Vin;
alph=90;
R=10;
VL=Vm*(1/(2*%pi)*(%pi-90*%pi/180+sind(180)/2))^0.5;
printf("\nRMS output voltage =%.2f V", VL)
Po=VL^2/R;
IL=VL/R;
VA_input=IL*Vin;
pf_input=Po/VA_input;
printf(" \nInput Power factor =%.3f lagging", pf_input)
Iavg_thy=Vm*(1+cosd(alph))/(2*%pi*R);
pri... |
2c909326480782b10fb67ea731a0ff682824e6d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.5/3_5.sci | a5c8ac3017a2590a8818870b80015af05b2c291a | [] | 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 | 591 | sci | 3_5.sci | // Calculate the range of readings specified interms of f.s.d. and true value
clc;
disp('Range when specified interms of f.s.d.')
Error_fsd=1*1000/100'
Range_lower_value=100-Error_fsd;
disp(Range_lower_value,'Lower value of range (kN/m2)')
Range_upper_value=100+Error_fsd;
disp(Range_upper_value,'Upper value of r... |
0b4dc2dcb724d5caa04bbba04223a91c9f30b327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH12/EX12.2/Example12_2.sce | 0ef0b12dd00c33a4e1280a5a7951d3e472d9d4a6 | [] | 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 | Example12_2.sce | //chapter-12,Example12_2,pg 383
fc=10^6//carrier frequency
m=0.4//modulation index
fs=100//signal frequency
V=2//(+/-)2V range
delfc1=m*fc//frequency deviation for FS(full scale)
//(+/-) 2V corresponds to delfc Hz deviation assuming linear shift, for (+/-)1V
delfc2=delfc1/V//frequency deviation for... |
a4ff6fb45c40df77d6883ca71ba70438b3794798 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualHartSci/macros/hrtTypeDate2Hex.sci | c348343ee0255eb2911e100c12d398f0faf5b0e9 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sci | hrtTypeDate2Hex.sci | function strHex=hrtTypeDate2Hex(strDate)
auxVet = strtod(tokens(strDate,'/'));
strHex = msprintf("%02s %02s %02s",dec2hex(auxVet(1)),dec2hex(auxVet(2)),dec2hex(auxVet(3)-1900));
endfunction
|
7987de909df18f1b77817d2db72ede326f33435e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.29/4_29.sce | fd0999d184d1d72ee7952785b73a037f99ac648a | [] | 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 | 166 | sce | 4_29.sce | w=10
R=2
L=0.3
Ir=10*(cos(%pi/4)+%i*sin(%pi/4))
Vr=Ir*R
Vc=20*(cos(%pi/4)-%i*sin(%pi/4))
V=Vr+Vc
Ic=Ir
C=Ic/(w*Vc*%i)
disp(real(C)) ///////Wrong in book |
d1c7299ee33a6454f064b6d6c7757f1dec39cd10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH7/EX7.13/7_13.sce | cecc01551acdaa3292921e6bfdabba0fa045089f | [] | 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 | 326 | sce | 7_13.sce | clc
clear
//Initialization of variables
V61=10.8 //ft/s
V81=6.05 //ft/s
r0=3 //in
e=0.00015
d1=6 //in
rho=1.94 //slugs/ft^3
mu=2.34e-5 //ft-lb/s^2
//calculations
roe=r0/(12*e)
Nr1=V61*(d1/12)*rho/mu
f6=0.0165
V6=11.6 //ft/s
V8=6.52 //ft/s
Q=V6*%pi/4 *(d1/12)^2
//results
printf("Discharge = %.2f ft^3/s... |
cb32adf1b2b893247bb6e14fdf22eaf922bf67b4 | d8be154f94daec7c0bf6e452bfd38c0d324c8ae2 | /utils/chargerImage.sci | ae6dea44e524767e216b8e7763c209625d23f5d0 | [] | no_license | BasileBr/Tatouage | bead5b85415ed359d899ce2fb211501586c9d53f | 8ac0922899085b168f78faacd24a34b55cd1b783 | refs/heads/master | 2020-03-29T02:20:49.262172 | 2018-05-10T17:38:30 | 2018-05-10T17:38:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sci | chargerImage.sci | function matriceImage = chargerImage(path, isRGB)
if isRGB == 0 then
matriceImage = double(imread(path));
else
matriceImage = double(rgb2gray(imread(path)));
end
endfunction
|
35457f54ca37e7e5bd3c6d773238af49c4afc2a0 | c61d570c37971fa455028a89d2163f455f91c291 | /iteraçãoPontoFixo.sci | ebf087ff42e6098638259f53f71cfad41646eb17 | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sci | iteraçãoPontoFixo.sci | //exercicio de iteração com ponto fixo
function [raiz,n] = simples(func,x0,es)
//n é o numero de interações
//x0 é a condição inicial
//es é o criterio de parada
//func = sen(sqrt(x))
//inicialização
ea= 100; x=x0; i=0;
if argn(2)<3 then
es=0.0001;
end
//inincia o ... |
002443d2276d084404e134eb68ca721a23f4a5cc | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/ssrand.man.tst | 49c8f336f3f0facebb7530845319af1fd579d8e9 | [
"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 | 470 | tst | ssrand.man.tst | clear;lines(0);
//flag=list('st',dim_cont_subs,dim_stab_subs,dim_stab0)
//dim_cont_subs<=dim_stab_subs<=dim_stab0
//pair (A,B) U-similar to:
// [*,*,*,*; [*;
// [0,s,*,*; [0;
//A= [0,0,i,*; B=[0;
// [0,0,0,u] [0]
//
// (A11,B1) controllable s=stable matrix i=neutral matrix u=unstab... |
9dab699a6e99dc7e4c44b3be4e1190516dcc7f53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH7/EX2.c/exa_2_c.sce | 8b7a7b46bf135e3c26ce399e9400ed94252c3bc3 | [] | 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 | 253 | sce | exa_2_c.sce | // Exa 2.c
clc;
clear;
close;
// Given data
V_GS= 3;// in V
Vth= 1;// in V
unCox= 25;// in mA/V^2
unCox= unCox*10^-3;// in A/V^2
W=3;// in µm
L=1;// in µm
r_DS= 1/(unCox*W/L*(V_GS-Vth));// in Ω
disp(r_DS,"The value of r_DS in Ω is : ")
|
014498b35dfd60f748cbfce9f408641acfc249fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH3/EX3.1/example_3_1.sce | 25746735ed6dbe69d5da2b92863991fb778291d5 | [] | 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 | 213 | sce | example_3_1.sce | //applying KVL we have Vi(t) = R*i(t) + 1/C * int(i(t)) dt
// Vo(t) = 1/C * int(i(t)) dt
syms s R C I
Vi= R*I + I/(s*C)
Vo = I/(C*s)
disp(Vo/Vi,"transfer function=") |
5d074d80a11fbf12db18560c9bc647cced879405 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH6/EX6.13/Ex6_13.sce | 8de0c4df0b78432d89587f322aa5b7cee601aa37 | [] | 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 | 317 | sce | Ex6_13.sce | clc//
//
//
//Variable declaration
V=344; //voltage(V)
n=1;
theta=60*%pi/180; //angle(radian)
//Calculation
lamda=(12.26/sqrt(V)); //de broglie wavelength(angstrom)
d=n*lamda/(2*sin(theta)); //spacing of crystal(angstrom)
//Result
printf("\n spacing of crystal is %0.4f angstrom",d)
|
ae7f9cc9ffa6c2b7a4cdd0f9cacd585ce7149f52 | bae725b750433ba5d58470784eeb87687023da7e | /macros/stp.sci | db4cf60006cb3379dc53bfa743ea7530af1bca4d | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sci | stp.sci | function [x]=stp(orbit,NbrIti,Dim,Delai, ResTemps, EtapTemp, EtapFarc)
// Initialisation
Commandline='';
NbrComp=size(orbit,2);
if ~isdef('DoEstim','local')...
then DoEstim=%F,
end;
if isdef('NbrIti','local')...
then Commandline=Commandline+' -l'+string(NbrIti),
end;
if isdef('EtapTemp','local')...
then C... |
ac5281524c45128aeaefa5ee3e9322e083d1e235 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.11_20.tst | 6bcb6fcee391ec807ff52c3f158a62a895a8d1c6 | [] | 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 | 796,607 | tst | 5.11_20.tst | 11 1:1 62:1 139:1 321:1 567:1 1000:1 1311:1 1528:2 1531:1 1537:1 1666:2 1762:1 1806:1 1847:1 2014:1 2022:1 2138:1 2239:1 2335:1 2393:2 2453:1 2484:1 2550:1 2772:1 2784:1 3009:1 3037:1 3210:1 3383:1 3525:1 3595:1 3612:1 3725:1 3810:1 3856:1 3871:1 3906:1 4172:1 4274:2 4389:1 4760:1 4766:1 4923:2 4954:1 5050:1 5079:2 518... |
21cc2a814c6460fd6b4bae8fbfd95f686e100ad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3433/CH5/EX5.2/Ex5_2.sce | b359284db147e3b9a97a7a1b5c5247fba4f4dc28 | [] | 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 | 872 | sce | Ex5_2.sce | clear;
clc;
funcprot(0);
//given data
T01 = 293;//in K
pi = 5;//pressure ratio
R = 0.5;//stage reaction
Um = 275;//in m/s
phi = 0.5;//flow coefficient
psi = 0.3;//stage loading factor
eff_stage = 0.888;//stage efficiency
Cp = 1005;//J/(kgC)
gamma = 1.4;
//Calculations
beta1 = (180/%pi)*atan((R + 0.5*p... |
092f8f3231817ad0df884fb7171e5196991868e2 | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/maketake.tst | a7c71a5540943b0ecda1e493f87c22fdab997aee | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 6,648 | tst | maketake.tst |
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 . . . . . . . . 7
| |
6 . . . . . . . . 6
| |
5 . . . ... |
24b519dfec0bd10740a15a1fff4522ed0de2beca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.17/ex1_17.sce | 53154af96e7f1a604caa2b9a2df7f3eed24acd92 | [] | 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 | 359 | sce | ex1_17.sce | // Exa 1.17
clc;
clear;
close;
format('v',7)
// Given data
Je = 360;// in A/cm^2
T = 300;// in K
d = 1.5;// in mm
d = d * 10^-1;// in cm
e = 1.6*10^-19;// in C
del = 2*10^18-5*10^17;// assumed
dnBYdx = del/d;
De = Je/(e*dnBYdx);// in cm^2/s
V_T = T/11600;
miu_e = De/V_T;// in cm^2/V-s
disp(miu_e,"The mo... |
700856cfb7cb97a7c29f5894c32c4dd83c0f8f0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH14/EX14.10/Ex14_10.sce | c76469e62cd936a4936efed4c0e318378c27e0fc | [] | 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 | 106 | sce | Ex14_10.sce | N=100
c=4
MNw=N*c
TNw=MNw/2//no. of wireless links
disp(TNw,'total no. of wireless links in the network')
|
f301b39db660a97caea83b2cf811a594f9eebd82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH3/EX3.7.17/Ex3_17.sce | 07a506577cd767265c1d0f160c3a5d6f3a0b1b2b | [] | 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 | 468 | sce | Ex3_17.sce | //Example 17// Ch 3
clc;
clear;
close;
// given data
E = 5; //electric field in V/m
n_o = 10^11; //ion density in ions/m3
T = 293; // in kelvin
z = 0.02; //distance in meters
e = 1.6*10^-19; //in couloumb
k = 1.38*10^-23; // in m2 kg s-2 K-1
n1 = n_o*exp((-e*E*z)/(k*T));//ion density 0.02m away
n2 = n_o*exp... |
fbc4c803a2a1c220748d74bc77c0e1a35bcc7aa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH10/EX10.4/Ex10_4.sce | c183bd831465f852d2371b40a7ab0dedd2dd5a92 | [] | 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 | 533 | sce | Ex10_4.sce | // properties of a graphite epoxy reinforce plastic
clc
x = 0.15
Ef = 250 // elastic modulus of fiber in GPa
Em = 80 // elastic modulus of resin in GPa
sigma_f = 2000 // strength of fiber in MPa
sigma_m = 100 // strength of resin in MPa
Fc = 1 // let
printf("\n Example 10.4")
Ec = x*Ef+(1-x)*Em
F_ratio = x*Ef... |
910b8056e751e77a4a70051110a1820a76a3a488 | dab4f7d41c4143d35496b612d622fe01996123df | /Platform/ClientApp/src/models/modelsTemplate.tst | 950b6e17ff3a2d716741b17bd26f1f289a00b76d | [
"MIT"
] | permissive | chatbee/Platform | cfbdd46a4882d5e124b4273ef316b26aaa6bfc55 | f6f4961d41706f1a243023ca2c0f2c54f3a0ec57 | refs/heads/master | 2023-01-11T11:26:22.706511 | 2021-08-03T20:17:49 | 2021-08-03T20:17:49 | 229,474,082 | 2 | 0 | MIT | 2023-01-07T13:38:13 | 2019-12-21T19:33:33 | C# | UTF-8 | Scilab | false | false | 1,929 | tst | modelsTemplate.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
string typeInit(Property prop)
{
if (prop.Type.IsPrimitive || prop.Type=="any"){
return prop.Type;
}
else {
if(prop.Type.IsEnumerable)
{
return prop.Type +" = []"... |
954299e41b28e218a17c7e86507ddc081a97fb10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH1/EX1.6/Ex1_6.sce | f4f55a0496ec46ebb78e7b118e98a43bcc49fa7c | [] | 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 | Ex1_6.sce | //Section-1,Example-6,Page no.-AC.36
//To find M_wbar for PP given its degree of polymerisation as 10,000.
clc;
DP_wbar= 10000 //Degree of polymerisation(given)
M_o=(12*3)+(6*1) //Molecular weight of repeat unit of PP
M_wbar= (10000*42)
disp (M_wbar,'weight averge molecular mass... |
518f9412a75cfa3d6ea74b28f9309fb92393d92b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH1/EX1.4/Ex1_4.sce | 6fc7a8dc56d00a2c5595b6541a5f635165daaf46 | [] | 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 | 284 | sce | Ex1_4.sce | //Example 1-4, Page No - 15
clear
clc
wavelength_inches=8
wavelength_meter= 8/39.37
c=300000000
frequency= c/wavelength_meter
printf('\nThe signal freuency is %.3f Megahertz',frequency/1000000)
printf('\nThe signnalfrequency is %.3f Gegahertz',frequency/1000000000)
|
ced5b1149e7102704a770b633ca1729b314bc0b6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.9_3.tst | c5a0dac9b9fbe967a1163eba96887dd473ef99af | [] | 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 | 814,085 | tst | 5.9_3.tst | 9 194:1 205:1 342:2 385:1 496:2 524:1 702:1 765:1 1021:1 1070:3 1086:1 1354:2 1714:1 1733:1 1819:1 1844:1 1920:1 2002:1 2195:1 2210:2 2314:1 2322:1 2550:1 2552:1 2855:2 3138:1 3223:1 3243:1 3276:1 3312:1 3626:1 3629:1 3740:1 3852:1 3869:1 3880:1 3972:1 4006:1 4122:1 4189:1 4242:1 4300:1 4397:2 4486:1 4601:1 4778:1 5175... |
2ed9fb10888694dd6b2784a92fddcebcf3175434 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH35/EX35.4/Ex35_4.sce | 0ca384aab06c57be6d72ad63488a43860d230e3a | [] | 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 | 435 | sce | Ex35_4.sce |
//To Calculate the Magnetic Field at the Centre of Coil
//Example 35.4
clear;
clc;
i=1.5;//Current Carried by the Circular Coil in Amperes
n=25;//Number of turns in the coil
a=1.5*10^-2;//Radius of the Circular coil in metres
u0=4*%pi*10^-7;//Permeability of Vaccum
B=u0*i*n/(2*a);//formula for ... |
4c00442949f51e74ddae357caf97dcb9833586e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH6/EX6.2/ex6_2.sce | 586ea9fee3da730462e19d131557ac66e870b124 | [] | 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 | 187 | sce | ex6_2.sce | // Example 6.2, page no-144
clear
clc
lam=6715*10^-10//m
h=6.626*10^-34
c=3*10^8//m/s
e=1.6*10^-19//C
Eg=h*c/lam
Eg=Eg/e
printf("The band gap of the given GaAsP is %.2f eV",Eg)
|
feb76808a1cb2afab0115721871c4d937dfabf5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH3/EX3.1.a/ex3_1_a.sce | 33f9bd39be3d0e4dba93f677e89943ed16b422f1 | [] | 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 | 247 | sce | ex3_1_a.sce | //Example 3.1(a)
clc;
Rm=100; //Internal resistance
Im=1*10^-3; //Full Scale deflection current
I=100*10^-3; //Total current
Rsh=Im*Rm/(I-Im); //Shunt resistance
printf('\nValue of Shunt resistance = %.2f ohm\n',Rsh) |
6e6a3d3cd241446151464b0d8884c51fd7e3cd34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH5/EX5.2/52.sce | 42a1527366cdd6e7cf44d330e3ee9a84d60eec9b | [] | 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 | 777 | sce | 52.sce | clc;
//Example 5.2
//page no. 42
printf("Example 5.2 page no 42\n\n");
//To calculate the force to maintain movement of left plate
//velocity of moving plate is equal to the velocity of the plate and velocity of the gas at the surface of the stationary plate is zero
k=1.66//kinamatic viscosity of gas
rho=0.08//... |
519bb7af53a5d4b7963cefad6d53140e1b1d693f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH2/EX2.13/Ex2_13.sce | 67c26d2aed582fbb5eb8375fcf444a9458414144 | [] | 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,297 | sce | Ex2_13.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 2: Basic Laws
// Example 2 - 13
clear; clc; close;
//
// Given data
I = 30.00/1000;
R6 = 6.00*1000;
R12 = 12.00*100... |
1154938aa3ea0570ec91bbbdf0188bc11cad80ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.25/ExampleA25.sce | dab0b9e31d6ff2e08bb36ff5193e2a7ed077cf30 | [] | 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 | 554 | sce | ExampleA25.sce | clc
clear
//Page number 481
//Input data
T=300;//The temperature of the metallic copper disc in K
Cp=24.5;//The specific heat at constant pressure in J/mol K
a=50.4*10^-6;//The coefficient of thermal expansion in K^-1
K=7.78*10^-12;//Isothermal compressibility in N/m^2
V=7.06*10^-6;//The specific volume in... |
2d3c565c61d3874ab61e8326284a8c1501cb478f | 82ef35e5ce08e179e51a319ec6106aa08a3bf471 | /linealizado_analiticamenteLab1.sce | b77e14abf0ab25b57580dba81bf6931ad6b7b2b9 | [] | no_license | jfloreshu/Inverted_Pendulum_Linealizacion_LQG_with_LQRControler_DeterministicObserver | 1226dc95f806d35d10feab61b48138a5a83c314b | aa3cca25c2a0ce34af8a607814250b96ec8a57b8 | refs/heads/master | 2022-12-02T04:07:07.017492 | 2020-08-16T00:42:04 | 2020-08-16T00:42:04 | 287,839,193 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | linealizado_analiticamenteLab1.sce | //valores Linealizados analiticamente caso del 1er lab
// Load the parameters
exec('pendulojParametersLab1.sce', -1);
Aa=[0 0 1 0;...
0 0 0 1;...
0 ((alpha^2*g)/(bet)) -((THETA*b)/(bet)) 0;...
0 ((alpha*M*g)/(bet)) -((alpha*b)/(bet)) 0];
Ba=[0;...
0;...
THETA/bet;...
alpha/bet]... |
346e291a808512b58b909e9d932f4abdadb5bdeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH6/EX6.5/Ex6_5.sce | 66fa4d58ee47ec95922e30b91106b32419b78cf2 | [] | 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 | 608 | sce | Ex6_5.sce |
//Example No.6.5.
//Page No.187.
clc;clear;
a = 0.42;//Lattice constant -[nm].
//(h1,k1,l1) are the miller indices of the plane (101).
h1 = 1;
k1 = 0;
l1 = 1;
d1 = (a/sqrt(h1^(2)+k1^(2)+l1^(2)));//interplanar and interatomic distance of plane (101)
printf("\nFor (101) plane, the interplanar and interatomic d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.