blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fa3596521c7d3956bca8a398d4dc43c6d821dbdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH11/EX11.11/Ex11_11.sce | ac8fe367e7a228eea8d9ec5d3326888988e6b4d3 | [] | 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,786 | sce | Ex11_11.sce | //CHAPTER 11 ILLUSRTATION 11 PAGE NO 297
//TITLE:VIBRATIONS
//FIGURE 11.19
clc
clear
//===========================================================================================
//INPUT DATA
PI=3.147
g=9.81// ACCELERATION DUE TO GRAVITY IN N /m^2
E=210*10^9// ... |
1052572d999a28e5cf25c1572fa102aaf9aed39f | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/Random Forest_Demo.sce | bf00d4ad28d47ea908ead36ab79358641cad0507 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | Random Forest_Demo.sce | // Demo for Random Forest -- Scilab
getd('../macros')
// Data preparation
M = csvRead('Datasets/titanic.csv')
x = M(:, [3,6]);
y = M(:, 2);
// Data cleaning
function xnorm = norma(x)
n = length(x)
mi = min(x)
ma = max(x)
for i=1:n
x(i) = 1.0*(x(i) - mi)/(ma - mi)
end
xnorm = x
endfunction
y(or(isnan(x... |
68288c76a44bbc365262aa88f70b30d5ec7980e2 | 5242072c12200e972fc848e403f7507addc07758 | /testCopy.tst | e791367c832cb03d32c13944c4221855c20e83a9 | [] | no_license | BiancaTodo/sda | 8482d61ca3bfda596ce73e50bbfa6cd4233e9064 | 1962b57b0ad1d27b0de68c10073ef890627ebee6 | refs/heads/master | 2020-04-03T01:44:11.392887 | 2019-04-23T08:51:03 | 2019-04-23T08:51:03 | 154,938,330 | 0 | 0 | null | 2018-10-27T12:13:15 | 2018-10-27T07:34:18 | null | UTF-8 | Scilab | false | false | 31 | tst | testCopy.tst | this is a test copy file
da
|
563df1ca6b016ffe98b55b71b261d2365340e0d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.9/ex2_9.sce | 16804bbcbc9ed8218a415ca2070fe3682beae436 | [] | 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 | 432 | sce | ex2_9.sce | // Exa 2.9
clc;
clear;
close;
format('v',5)
// Given data
R1 = 6;// in ohm
R2 = 4;// in ohm
R3 = 3;// in ohm
R_L = 6;// in ohm
V1 = 6;// in V
V2 = 15;// in V
// V1 - R1*I - R3*I -V2 = 0
I= (V1-V2)/(R1+R3);
// Vth - R3*I -V2 = 0;
Vth =V2+R3*I;// in V
Rth = ((R1*R3)/(R1+R3)) + R2;// in ohm
// current thr... |
7deead685a4a87835ea33ab30a0db4662747025e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH3/EX3.2.4/Ex3_2_4.sce | e6747c18f999a802ba9b827b158a9935bba4cfa1 | [] | 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 | 273 | sce | Ex3_2_4.sce |
clc
D = 0.1 // cm^2/sec
l = 10 // cm
C10 = 1
C1l = 0
C1 = 0.5
V1 = (D/l)*(C10 - C1l)/C1 // Cm/sec
V2 = -V1
M1 = 28
M2 = 2
omeg1 = C1*M1/(C1*M1 + C1*M2)
omeg2 = C1*M2/(C1*M1 + C1*M2)
V = omeg1*V1 + omeg2*V2
printf("The mass average velocity is %.5f cm/s",V)
|
a68a305784c0e97b7dc0fe38ae36071a2639a77b | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH16/EX16.2/16_2.sce | 5044bbd4592078eeec5d11636ab44923d7902667 | [] | 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 | 421 | sce | 16_2.sce | clear
clc
disp('Ex-16.2');
mc2=940*10^6; k=8.6*10^-5; //various constants and given values in suitable units
T= mc2/k; //temperature of the photons
printf('The temperature of the photons must be %.1e K\n',T);
t=((1.5*10^10)/T)^2; //age of universe when the photons have the above temperature
printf('T... |
db550c3ba6f38fb61aa9ef1dfbc47d6103a5e6bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH15/EX15.3/Example15_3.sce | d133f9fbdaae612a8d4a77d18291fb5e5a0f14a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | Example15_3.sce | //Given that
density_water = 998 //in kg/m^3
l = 135*10^-3 //in meter
d = 12.3*10^-3 //in meter
g = 9.8 //in m/s^2
//Sample Problem 15-3
printf("**Sample Problem 15-3**\n")
d_oil = density_water*g*l/(g*(l+d)) //pressure at same height should be same
printf("The density of the oil is %fkg/m^3", d_oil) |
8a5abb11a2ec8136d4ec405d436708dfea843589 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH24/EX24.19/Ex24_19.sce | 14c4de23e50e80e14696f216143b97e0450fd6b1 | [] | 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 | Ex24_19.sce | clear
//Given
m=10 //Kg
T=2*60*60 //S
rn=8*10**6 //m
h=6.62*10**-34
//Calculation
//
vn=(2*%pi*rn)/T
n=(2*%pi*rn*vn)/h
//Result
printf("\n Quantum number is %0.1f *10**45 ",n*10**-44)
|
0f34d275d921a202e8ce520fbffb12fbbe292751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.6/Ex4_6.sce | 8f92512704beda710c2d240ce10e946c8e6dbc72 | [] | 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 | 738 | sce | Ex4_6.sce | clc
clear
//DATA GIVEN
V=0.15; //volume of wet steam in m^3
p=4; //pressure of wet steam in bar
x=0.8; //dryness fraction
//At 4 bar, from steam tables
vg=0.462; //m^3/kg
hf=604.7; //kJ/kg
hfg=2... |
d7452855269cc3253d2575b9af3b9be52a69dd81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.13/Ex5_13.sci | 3428231346fbb8cef3c009328917ce065774f00d | [] | 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 | sci | Ex5_13.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.13
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(230/(s*(s+2)*(s+10))))//the value of K lies between 0 to 240 .the given transfer function... |
fe37292831e444bafb0301b96d80e7fe62fa9f00 | 16f807178d75bf8f92b14bf909e62d286193cc13 | /edsonjParametersmodif.sce | cba98d5eebefcd6f32060abd321c352a3227c1ec | [] | no_license | renzo-source/LABORATORIO-03-Linealizaci-n-num-rica-del-sistema-MoDiCA-X | 11440801c8552f7f613fca0b05be21a8b6ccbab4 | d6a990da1a41b86f726620c28c1af1da5d50c0d7 | refs/heads/master | 2022-12-04T17:48:33.145635 | 2020-08-16T04:13:16 | 2020-08-16T04:13:16 | 279,112,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | edsonjParametersmodif.sce | //Parameters model of pendulum
M=0.696 //Masa del carro (Kg)
m=0.017 //masa del pendulo (Kg)
l=0.3 //longitud de la barra (m)
g=9.8 //aceleracion gravitacional (m/s2)
b=0.001 //coeficiente de friccion (Ns/m)
I=0.0011 //Inercia del pendulo (Kgm2)
|
fadea1e9f9088a19b16a3e9e006eaa5899117575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH14/EX14.11/14_11.sce | 47406d360e6a6486db7481de64c138fb3f0c5646 | [] | 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 | 330 | sce | 14_11.sce | clc
//Initialization of variables
K=1.754*10^-5 //m
c=0.1
//calculations
disp("Neglecting x w.r.t c,")
x2=K
x=sqrt(K)
mu=x
disp("From tables 14-5 and 14-6,")
gH=0.963
gA=0.960
x22=K/(gH*gA)
a=poly(0,"a");
p=a^2 +a*x22 -c*x22
z=roots(p)
alpha=z(2)
//results
printf("concentration of H plus ions = %.2e m... |
c8d06204bd59444ac2ae98f5b5e878642e1564ee | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/demos/flat/car.sci | 7c9c29f3593ab91c41603e246c17dc8a99018e9e | [
"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 | 16,617 | sci | car.sci | function []=mvcr(x,y,theta,phi)
///////////////%% BEGIN OF SCRIPT-FILE mvcr %%%%%%%%%%%%%%%
//
// CAR PACKING VIA FLATNESS AND FRENET FORMULAS
//
// explicit computation and visualisation of the motions.
//
// February 1993
//
// ............................................................
// : pierre RO... |
3fdc9832f82ffd4e896ed25148718aad1c84028e | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Axis Tracking.sce | 815481e7b2f99b1d4e8b633af451b0242e5abbf8 | [] | 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 | 69,923 | sce | Axis Tracking.sce | Name=Axis Tracking
PlayerCharacters=Axis Tracking Shooter
BotCharacters=Axis Tracking Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Axis Tracking Shooter
AddedBots=Axis Tracking Target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=cube_axis_strafing.map
MapScale=1.0
BlockProjectilePredic... |
577489e4d35a68b6ed190465237d5385720d78d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH6/EX6.4/Ch06Ex4.sce | 2ac7e02a710689a3e5c6e8aeede6a9bd28c28000 | [] | 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 | 620 | sce | Ch06Ex4.sce | // Scilab Code Ex6.4: Page-196 (2006)
clc; clear;
m = 9.11e-031; // Electron Rest Mass , kg
k = 1.38e-023; // Boltzmann constant, J/mol/K
h = 6.626e-034; // Planck's constant, Js
T = 300; // Room temperature, K
m_e = 0.068*m; // Mass of electron, kg
m_h = 0.56*m; // Mass of hole, kg
E_g = 1.42*1.6... |
5bef1f7c629e2d072921aaaa1585695b526d6de0 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/detectBRIEFDescriptors.sci | 0ccad06ac1d54b014c4ccec55a3390cf1df07f81 | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,091 | sci | detectBRIEFDescriptors.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_... |
9b0bb0df8e8278991a24e3936d1ff742e341b004 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH18/EX18.7/ex_18_7.sce | 90635d6281e463e170cbdd0d7985eae8ae750126 | [] | 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 | 925 | sce | ex_18_7.sce | //find..
clc
//soltuion
//given
P=110*1000//W
d1=0.9//m
r1=0.45//m
d2=1.2//m
r2=0.6//m
v=20//m/s
x=3.6//m
u=0.3
s1=0.012
s2=0.012
rho=100//kg/m^3
//v=%pi*N1*d1/60*(1-s1)//m/s
N1=20/0.0466//rpm
//v*(1-s2)=%pi*N2*d2/60//m/s
N2=19.76*60/(%pi*1.2)//rpm
T=P*60/(2*%pi*N2)
//since there is 5% friction
Tn=... |
bb1fe04788b798ef176a962e406070cae9bd9483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH11/EX11.4/exa11_4.sce | 590bc8ea828ce30c7617b3f6f9cb3e969c574b6b | [] | 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 | 434 | sce | exa11_4.sce | // Example 11.4
// Parallel Filter Network
// From figure 11.9 ,Let us assume values for R ,omega and C for illustration
R=50;
C=0.01*10^-6;
omega=50;
s=%s;
H_s= R/(R+1/(s*C)); // H(s)=I_C/I_in, can be found using current divider
H_omega=horner(H_s,%i*omega)
// Comparing this transfer function with first-order... |
914bcb333c809cca0784b5d58b363fa4f6afe3da | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/man-propsensor.tst | efe0ce75f6b17b5da0ab572dbee4946b139a6734 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | tst | man-propsensor.tst | #Property Sensor Example
#generate a table of enthalpy versus molar fractions
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + WATER TRIETHYLENE_GLYCOL
#generate WATER/TEG bubble temperature curve
units Field
s = Stream.Stream_Material()
s.In.P = 1 atm
s.In.VapFrac = 0.0
ps = Sensor.PropertySe... |
9eea3bf33e8abec65042410350e97a890e8c3ea1 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_hrz_ind_d/~BivLCM-SR-bfi_e_hrz_ind_d-PLin-VLin.tst | 5fd0f0639f3648303d5d75265ed6962a1bc23213 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_e_hrz_ind_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.518807D+00
... |
ec7b021163fe136541deefe5f3b97475a8846e89 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/cstr.tst | fcd1407143a21bcbf68e41a5dae14f126463ed20 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | tst | cstr.tst | $thermo = VirtualMaterials.NRTL/Ideal/HC
. -> $thermo
/thermo + 1,2-PROPYLENE_OXIDE METHANOL WATER 1,2-PROPYLENE_GLYCOL SULFURIC_ACID
mycstr = KineticReactor.CSTR()
mycstr.NumberRxn = 1
/mycstr.Rxn0.Formula = theRxn:1.0*'1,2-PROPYLENE GLYCOL'-1.0*!'1,2-PROPYLENE OXIDE'-1.0*WATER
/mycstr.CustomEquationUnitSet... |
04c79e4c156524ee58c2308d555ccf3884bb7edb | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.16/10_16.sce | 49a5029b7b101304051e338e5b17405b0f184b75 | [] | 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 | 10_16.sce | //To estimate power lost in friction
clc
//Given:
D=150/1000,R=D/2 //m
N=100 //rpm
W=20*1000 //N
mu=0.05
//Solution:
//Calculating the angular speed of the shaft
omega=2*%pi*N/60 //rad/s
//Calculating the total frictional torque for uniform pressure distribution
T=2/3*mu*W*R //N-m
//Calculating the power lo... |
38c4bb187d8cd1e1d62ef16dd1e14a3ca3d15853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.6/Ex8_6.sce | 39e3df4789730b0b7696c0d04c26f4c8313face9 | [] | 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 | Ex8_6.sce | //Example 8_6 page no:308
clc;
R=100;
L=5;
C=100*10^-6;
fr=1/(2*%pi*sqrt(L*C));
Q=2*%pi*7.12*5/100;
BW=fr/Q;
disp(BW,"bandwidth of the circuit is (in Hz)");
|
75b48071e6e3a8e684c511880485da3615fe0e78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH10/EX10.4/10_4.sce | 2bf7453a32d8963f3ab51272c4b3cef92774ed06 | [] | 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 | 645 | sce | 10_4.sce |
clc
//ex10.4
V_ss=24;
R=1.2*10^3;
R_L=6*10^3;
//by grouping linear elements together on left side of diode
V_T=V_ss*R_L/(R+R_L); //thevenin voltage
//zeroing sources
R_T=1/((1/R)+(1/R_L)); //thevenin resistance
//load-line equation is V_T+R_T*i_D+V_D=0
//locating the operating point
V_D=-10;
V_... |
48a53fce492cfc0ee9c628f0dba375759c2ca1e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH10/EX10.25/Example10_25.sce | dc8c28314f6005ebf02c00f0948a56d998b930b8 | [] | 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 | 614 | sce | Example10_25.sce | //Chapter-10,Example10_25,pg10_65
Po=33.73*10^3
P=4
Vl=400
f=50
Nfl=1440
pf=0.8
Ml=1.3*10^3
Ns=120*f/P
s=(Ns-Nfl)/Ns
fr=s*f
Pm=Po+Ml
Pc=Pm*s/(1-s)
Pcp=Pc/3//copper loss per phase
P2=Pc/s
Sl=1.4*10^3
Pi=P2+Sl
n=Po*100/Pi
Il=Pi/(sqrt(3)*Vl*pf)
printf("slip at full load\n")
printf("s=%.3f \n",s)
print... |
890d2ae0fea35daa8f709516dc6df43b81f4a7e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH9/EX9.6/ex6.sce | 58240e4c76016d32737fde3926957dceaa3704f1 | [] | 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 | 853 | sce | ex6.sce | //example 6
//work required to fill the tank
clear
clc
T1=17+273 //initial temperature of tank in Kelvins
sT1=6.83521 //specific entropy in kJ/kg-K
R=0.287 //gas constant in kJ/kg-K
P1=100 //initial pressure in kPa
P2=1000 //final pressure in kPa
sT2=sT1+R*log(P2/P1) //specific entropy at temperature T2 in kJ/... |
d62cd25f80457ba45e1af84e2044648229c0548a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH6/EX6.6.c/EX6_6_C.sce | 92032fd78698517fd10e6d5709ac46e2e317adad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | EX6_6_C.sce | //ex 6.6.c
clc;
N=100//ASSUMING THE N=100
p=(N)/(2*N)//AS LIMIT N TENDS TO INFINITY HENCE THE EQUATION
disp(p);
disp('AS THE POWER OF THE SIGNAL IS FINITE HENCE THE FOLLOWING SIGNALIS POWER SIGNAL');
|
6bf6e878a83bfd8347d329f63deb91c47eb5e247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH25/EX25.18/Chapter25_example18.sce | 70b95522387c9af2e4e7620bc9ca29a5f3112f86 | [] | 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,595 | sce | Chapter25_example18.sce | clc
clear
//Input data
p=[1,9]//Pressures in ata
T=[25+273,1250+273]//Minimum and maximum temperatures in K
n=0.83//Compressor and turbine efficiencies
Cp=0.24//Specific heat at constant pressure in kJ/kg.K
g=1.4//Ratio of specific heats
x=0.65//Cycle with 65% regeneration
//Calculations
//(a)Without regene... |
971029e72477316566420984a3d2a3dfc63b12a1 | fce47a4c482ae622563fc72d7643d824cc572edc | /_scilabTP/tp3/fonctionsTP3.sci | 109e0ba33f689c6b9c21a3cfe0bd7b159b506d6b | [] | no_license | ece2lr/ece2lr.github.io | a57ff8852ef06b7cef1c734106f1badd668ebcb1 | 13479dc224e39521c6c387401b889e62a90a8d0b | refs/heads/master | 2021-01-12T12:07:37.196408 | 2017-12-16T19:25:16 | 2017-12-16T19:25:16 | 72,310,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,774 | sci | fonctionsTP3.sci | CONST_GAUSS = 1 / sqrt(2*%pi)
function y = densGauss(mu,sigma,x)
xCR = (x - mu) / sigma // x centré et réduit par mu, sigma
y = CONST_GAUSS/sigma * exp( - xCR.^2 / 2 )
endfunction
// appel de la fonction
//xmin = -4
//xmax = 4
//mu = 0
//sigma = 1
//x = linspace(xmin, xmax)
//plot(x, densGauss(mu, sigma, x))
////L... |
02cc73aea8f14d9e2beb1e10baae2431818c9151 | b260f3d67de5bd0fbb64f116da0d48c79d85382a | /primpoly/primpoly.sci | a2a6dc4fd960cf874559ce8d27df1c82e73d3dff | [] | no_license | nikitapinto/Scilab-Communications | 92c1002a14452dab39edda3675bc0c4a4da25919 | 4ebf7bbd70374b812eeb8dd3333ed997bca70b09 | refs/heads/master | 2021-01-10T06:27:41.892245 | 2016-04-02T16:37:42 | 2016-04-02T16:37:42 | 51,426,801 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,856 | sci | primpoly.sci | funcprot(0);
// Find primitive polynomials for Galois field
// pr = primpoly(m) computes one degree-M primitive polynomial for gf(2^m).
//
// pr = primpoly(m, option) computes primitive polynomial(s) for GF(2^m).
// option = 'min' find one primitive polynomial of minimum weight.
// option = 'max' find... |
eea950aa02d4fbae56ec1923ef3733e82eb6cf4f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/util/getvalue.sci | 718d2c1b3490038710b7b43d13326b22f8684c8d | [
"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 | 6,450 | sci | getvalue.sci | function [ok,x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18]=getvalue(desc,labels,typ,ini)
// getvalues - xwindow dialog for data acquisition
//%Syntax
// [ok,x1,..,x11]=getvalue(desc,labels,typ,ini)
//%Parameters
// desc : column vector of strings, dialog general comment
// labels : n column ... |
a8e3b6ae6e7c6f10883e2684b8b2103f1e8f55bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.6/ex_6_6.sce | 0285fc591abbf8cce484e7b584dcc4852c79c711 | [] | 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,132 | sce | ex_6_6.sce | clear;
close;
clc;
//cos(%pi*n/4)
N0=8;
w0=2*%pi/N0;
n=-8:8;
x=cos(%pi*n/4);
subplot(2,1,1)
xtitle('x[n]','n')
plot2d3(n,x);
plot(n,x,'r.');
for k=-6:6
c(k+7)=0;
for n=0:7
c(k+7)=c(k+7)+ (1/8)*(x(n+1))*(%e)^(%i*w0*k*n);
end
end
k=-6:6;
subplot(2,1,2)
xtitle('|ck|','k')
plot2d3(k... |
7eb0371583a786ca0ff7994e2de34ae973f04d15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH2/EX2.4/Chapter2_Example4.sce | 9cbfc95fc3a5698c9ef17b0f002cb29eb74f95ac | [] | 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 | 584 | sce | Chapter2_Example4.sce | clc
clear
//Input data
A=2*10^-6;//The cross section area of a uniform rod in m^2
t=20;//The change in temperature in degree centigrade
y=10^11;//The youngs modulus of the rod in newtons/m^2
a=12*10^-6;//The coefficient of linear expansion of rod in per degree centigrade
//Calculations
F=y*a*t*A;//The force... |
e881da9776fe75d036969ee311c62bc7decb46a7 | 3a031f437fdd7426aec9731b31871506b540c723 | /GrayLevel1.sce | dc14f29870fcd19866cddfdbe449f0c89cc103ef | [] | no_license | mohammedkesury/Digital-Image-Processing | 006294df3c05100912ade8f75dcadc59f518cbba | 6589dcf0f400a803862fcd2194ff4b008ceb795e | refs/heads/master | 2020-04-20T05:20:20.161398 | 2019-04-09T16:04:04 | 2019-04-09T16:04:04 | 168,653,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | GrayLevel1.sce | org=imread("C:\Users\Poonam\Documents\DIP\Practicals\kidney1.jpg")
A = 180
B = 250
mod=[]
[m n] = size(org)
for i = 1:m
for j=1:n
if (org(i,j)>=A & org(i,j)<=B)
//mod(i,j)= 255
mod(i,j) = org(i,j)
else
mod(i,j) = 0
end
end
end
figure
i... |
458d032b1ef4fd22a88e1391af3fcd1b6c9130b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.22/22.sce | d3f3b66ef91e794c0fedd5981624c40f89e04bc9 | [] | 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,438 | sce | 22.sce | clc
h_l=355.988; //kJ/kg
s_l=0.5397; //kJ/kg K
s_f=0.0808; //kJ/kg K
s_g=0.6925; //kJ/kg K
h_f=29.98; //kJ/kg
h_g=329.85; //kJ/kg
p1=4; //bar
p2=0.04; //bar
v_f2=76.5*10^(-6); //m^3/kg
h1=2789.9; //kJ/kg
s1=6.4406; //kJ/kg
h_f=121.5; //kJ/kg
h_fg=2432.9; //kJ/kg
s_f=0.432; //kJ/kg K
s_fg2=8.052; /... |
dad320289b2a264b20ac5a5805c5eef700c6f435 | c565d26060d56f516d954d4b378b8699c31a71ef | /Vikas_self/codes/ConventionalTuning_Vikas/PIControllersetpointchange/pictrl2with40to45.sce | 7f75e185f41e650ded1698cb34b37303acab10a9 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 23,220 | sce | pictrl2with40to45.sce | 0.100E+00 0.000E+00 0.390E+02 0.320E+02
0.110E+01 0.212E+02 0.390E+02 0.320E+02
0.210E+01 0.212E+02 0.000E+00 0.108E+02
0.310E+01 0.212E+02 0.825E+00 0.108E+02
0.410E+01 0.212E+02 0.165E+01 0.108E+02
0.510E+01 0.213E+02 0.247E+01 0.108E+02
0.610E+01 0.213E+02 0.289E+01 0.107E+02
0.71... |
8892da6b080b7bedb11e9dbedd9c23480f5bca16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH4/EX4.2/4_2.sce | cc0a990a15709e184bf354b95b67ecea00ed8813 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 4_2.sce | clear
clc
//initialisation of variables
r= 53.4
T= 60 //F
h= 29.7 //in of mercury
sm= 13.6
w= 62.4 //lb/ft^3
d= 1.5 //in
Qin= 2 //cuses
g=32.2 //ft/s^2
//CALCULATIONS
W= h*sm*w/(r*(460+T)*12)
dP= 0.75*w/(12*W)
Q= sqrt(2*g*dP)*%pi*d^2/(4*144)
W= Q*W*60
Cd= Qin/W
//RESULTS
printf ('coefficient of discha... |
cfd676759e55856eca2ca17ba9a2b92f71af2dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH4/EX4.16/Ex4_16.sce | 2f18b002c4f9dcec9c8ac2ffd9f2b629211002a6 | [] | 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 | 763 | sce | Ex4_16.sce | //chapter-4 page 152 example 4.16
//==============================================================================
clc;
clear;
n=120*(%pi);//Intrinsic Impedance
a=3;//Length of Rectangular Waveguide in cm
b=2;//Width of Rectangular Waveguide in cm
f=10^10;//Frequency in Hz
c=3*10^10;//Velocity of Light in cm/... |
9baf8f75c040b3429869321b9751f330d4456c54 | 6cb749937ed1f53a5c22d6d7276c82f9a56ea0f4 | /arduino_svn/.svn/pristine/9b/9baf8f75c040b3429869321b9751f330d4456c54.svn-base | 731af20f8a55a0699e4ff6b41eba0d627c1ad1f9 | [] | no_license | fizcris/Scilab_Xcos_arduino_toolbox_david_MPU6050 | 2aacb3b5f75d49f1d8c8b46fa51f2b0c53afc985 | d488f268526d0cf6140f19426813b4b289566d37 | refs/heads/master | 2021-06-25T01:19:38.819142 | 2021-06-18T22:43:11 | 2021-06-18T22:43:11 | 26,444,710 | 2 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | 9baf8f75c040b3429869321b9751f330d4456c54.svn-base | //
// This file is part of Arduino toolbox
// Copyright (C) 2012-2012 - DEMOSCIENCES - Alain CAIGNOT
//
// 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 availa... | |
fde96030c18c5db75c8f786811de4543726c1a4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH9/EX9.9/9_9.sce | c90be93dae88d704393f0a32b4e28fe2d7487756 | [] | 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 | 188 | sce | 9_9.sce | h2 = 2716.2; hf = 844.89; hfg = 1947.3;
x1 = (h2-hf)/hfg;
h3 = 2685.5;
x4 = (h3-hf)/hfg;
disp(x1,"The quality of steam in pipe line is")
disp("%",100-(x4*100),"Maximum moisture is")
|
baa5a46d17ac3817153e2bddeaa4a884db4f6d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH16/EX16.1/16_1.sci | 55c91fb8d177cefa2d89990bee1bad9a975d70c3 | [] | 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 | 302 | sci | 16_1.sci | //16.1
clc;
disp('For star connected load')
Il=50000/((3^0.5)*440*0.85);
printf("\nLine current=%.2f A",Il)
Iph=Il;
printf("\nPhase current=%.2f A",Iph)
disp('For Delta connected load')
Il=50000/((3^0.5)*440*0.85);
printf("\nLine current=%.2f A",Il)
Iph=Il/(3^0.5);
printf("\nPhase current=%.2f A",Iph) |
5f15600a908fc6110eb21aa41eeac8a32d304e90 | 717ddeb7e700373742c617a95e25a2376565112c | /213/CH10/EX10.8/10_8.sce | ee374e289ff8a055d1cc35d2ba6440bf4c009584 | [] | 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 | 862 | sce | 10_8.sce | //To find the power required
clc
//Given:
d0=55,D2=60,R2=D2/2,D1=90,R1=D1/2 //mm
p=10/1000 //m
W=400 //N
mu=0.15
v=6 //Cutting speed, m/min
//Solution:
//Calculating the mean diameter of the screw
d=d0-p/2 //mm
//Calculating the helix angle
alpha=p/(%pi*d) //radians
//Calculating the force required at the ... |
8afe9f980514adb37c0a29d51036c5fa0115ae86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH19/EX19.2/Ex19_2.sce | 768e8ce7142a10d629af984906dccc52959dbdf4 | [] | 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 | 434 | sce | Ex19_2.sce | //Variable declaration:
//From example 19.1:
T1 = 24 //Outside surface temperature ( C)
Ri = 0.0191 //Insulation resistance (K/W)
Q = 1383 //Revised heat transfer rate (Btu/h)
//Calculation:
T2 = T1-Q*Ri //Temperature at outer surfac... |
b4d29661b092d9dc9df866428ea15af8f95525be | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.2/exp4_2c.sce | 9fefa66c32cf58137be69c27ff56c1a4fdd040b1 | [] | 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 | 352 | sce | exp4_2c.sce | clc
clear
disp('example 4 2')
l=100;//connected load
md=80;//maximum demand
wt=0.6; //working time
c=6000; //constant cost
t=700; //cost on per kW
re=1.8;//rate
ec=l*wt*8760//electricity consumption per year
teb=c+md*t+re*ec //total electricity bill per year
printf(" energy consumption %dkWh \n total electri... |
efe33db9cc6fc8a7e1f7c0012621e2fb03a9d2ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.56/2_56.sci | 323ed3f5b818c2162f5d40a6d9c183fe037240a9 | [] | 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 | 163 | sci | 2_56.sci | //2.56
clc;
R1=(30/10*10^-3)-1000;
printf("External resistance required =%.3f ohm",R1)
Id=30*10^3/((2*10^3)+(100*10^3))
printf("\nDark current =%.2f mA",Id)
|
865309a7deea1f76ef0c5ffb58a314e3f72c1f04 | 932d6f0f83a2eaed579be193b551589dc6674c52 | /primer pibote.sci | caff777a749402198492fd153f0357c032d32027 | [] | no_license | JossueRenteria/Raudel | 31f69ca750031b1515034155bce6109a358ca46d | 664c502976a9430a4215b25454d3cb38f3c810fc | refs/heads/master | 2016-08-12T20:00:55.727841 | 2015-11-28T19:17:16 | 2015-11-28T19:17:16 | 47,035,904 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sci | primer pibote.sci | //Marina Montes Partida
function simetrica()
c=input("introduce el numero de columnas: ");
r=input("introduce el numero de renglones: ");
if(c==r)
for i=1:c
for j=1:r
m(i,j)=input("introduce el elemento de la posicion "+string(i)+","+string(j)+": ");
end
end
disp(m);
for pibc=1:c
p=m(1,1);
for pib... |
3cffe3693d783643126165edbf0672d9f399f901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/5_11_data.sci | e9acdeecb2d4a779a056ea567088412ffd69d29f | [] | 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 | 662 | sci | 5_11_data.sci | c=1.524;//chord length of airfoil(meter)
h=6096;//standard altitude(meter)
a=5*%pi/180;//angle of attack in radian
D=0.654;//density at standard altitude of 6096 meter,Kg/m^3
T=248.6;//temperature at standard altitude of 6096 meter in kelvin
R=287 ;//gas constant,J/Kg.K
y=1.4; //specific heat ratio for air
//for... |
37f9eec96d042ce99d1648e3cee38c42ca1e5fab | 72d7c10733e74eafb60961874dedea7fa2a43569 | /2.Basics/Plot_discrete.sce | 5e2daad1ac9ea90a5f41ff63001355ef0c153b10 | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 187 | sce | Plot_discrete.sce | clear;
clc ;
close ;
t=0:0.1:2;
x1=2*exp(-2*t);
subplot(1,2,1);
plot2d4(t,x1);
xlabel('t');
ylabel( 'x(t)');
title( 'DISCRETE TIME PLOT');
subplot(1,2,2)
plot2d3(t,x1)
|
ced8650fe80a166917b65daf5bd2689e3b43a207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH2/EX2.2.2/Example2_2.sce | 6476f01bc03c16409a349663abef458f88700504 | [] | 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 | 388 | sce | Example2_2.sce | //Chapter-2,Example2_2_2,pg 2-10
a=6*10^-6 //width of slit
n=1 //for first minimum
wavelength=6000*10^-10 //wavelength of light
angle=2*asind(n*wavelength/a) //angular seperation
printf('\nThe angular sepe... |
a7e3bb54a8399d4c1ce15b8c4dfc1dfa948ccfe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH13/EX13.11/exa13_11.sce | ece7f1f386ea14dcb7aaa4817c10f0e9c2b6d195 | [] | 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 | 619 | sce | exa13_11.sce | // Example 13.11
// Zero-State AC Response
t=0:0.01:10
s=%s;
H_s=(s+8)/(s+4)^2;// Network transfer function
V_s=(50*s)/(s^2+64); // Laplace transform of voltage source
I_s=H_s*V_s;
pfe=pfss(I_s);
I_N_s=pfe(2); // Natural response in s-domain
// Taking inverse laplace transform of pfe(2) we get,
i_N=-exp(-4*t)... |
95763a3a253046f17e2fbb2e43a27f7fbfb0cc34 | 6db366e04d5d8db140338552cbe172573561f398 | /code/guitare.sce | 5e1e3359ec33bdf52681c5313d067a0582ddbebd | [] | no_license | polodroid74/sound_simulation | a90c91d68b4979858584babc049596683bee99b8 | 80586465880f8f42901c9912f5a5cb8f9dea8143 | refs/heads/master | 2021-01-25T00:37:32.079891 | 2017-06-18T10:59:31 | 2017-06-18T10:59:31 | 94,681,516 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,776 | sce | guitare.sce | //Driver=("Rec");
clf();
clear;
//Definition des paramètres initiaux
SR = 44100;
B = 0.001;
f = 110;
TF = 1;
xo = 0.1;
co = 1;
rp = [0.3, 0.7];
loss = [100, 10; 1000, 8];
//pas de dicretisation
k=1/SR;
//déclaration des paramètres
gama=2*f;
kappa=(2*f*sqrt(B))/%pi;
N=50; // Il faut h >= sqrt(((gama^2)*(k^2)+sqrt((ga... |
a74e4569a2b6d2729240ab4e10aecc303dee0f52 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Sumfun.sci | 55fdfd0f42a990f81c234d18ec287aaecb6b2b36 | [] | 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 | 1,436 | sci | Sumfun.sci | // 08.05.30
// 08.05.31
// 08.06.03
// 13.10.21 (__ added to variables )
function PL__=Sumfun(varargin)
global XMIN XMAX YMIN YMAX
Nargs__=length(varargin);
Const__=0;
Addstr__='A__=0';
J__=1;
Tmp__=varargin(1);
if type(Tmp__)==1
Const__=Tmp__;
J__=J__+1;
end
if type(Tmp__)==10
Tmp1__=Str... |
c1e56f4b2c9987486522ec76b57681cd7e130793 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH4/EX4.1/1.sce | 9a49ced5dc5aea6b099f0d62d12a70c87c77c85a | [] | 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 | 376 | sce | 1.sce | clc
rho=1000; // kg/m^3
u1=36; // m/s
u2=30; // m/s
d=0.05; // m
theta=60; // degrees
A=%pi/4*d^2;
Q=A*u1;
F_x=rho*Q*(u2*cosd(theta) - u1);
F_y=rho*Q*u2*sind(theta);
F=sqrt(F_x^2+F_y^2);
phi=atand(F_y/F_x);
disp("The Hydrodynamic force on the vane =")
disp(F)
disp("N")
printf("This resultan... |
78f808b44d4b8a22662367395d82a34ae5647b86 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kSetSpeedPID.sci | e90e5f4f3d9d217a48dc57e19a9f3969bc34356e | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sci | kSetSpeedPID.sci | function [r] = kSetSpeedPID(ref,Kp,Ki,Kd)
// Ouput variables initialisation (not found in input variables)
r=[];
// Number of arguments in function call
[%nargout,%nargin] = argn(0)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KSETSPEEDPID Set PID speed controller
//
//kSe... |
7ae97f2cd900926da126d1c1a38c7d74272868ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH7/EX7.10/Ex7_10.sce | 102dfe7987047f7a7eb33a250133ab5eec7b2d34 | [] | 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 | Ex7_10.sce | //resistance per square
//given
clc
l=12d-3//metre
t=0.12d-6//metre
w=10d-3//metre
delta_s=4.10d+7//mho/m
Rp=l/(w*t*delta_s)//resistance in ohm
Rp=round(Rp*10000)/10000///rounding off decimals
disp(Rp,'the resistance for the given parameter in ohm')//ohm
|
900adc66e6f3e5f8b80c679d83e4d570163bc78c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.24/Exa_2_24.sce | f81b762ec8dd0db9a9a7e6c8fe8c9e9c5b53886c | [] | 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 | 407 | sce | Exa_2_24.sce | //Exa 2.24
clc;
clear;
close;
format('v',7);
//Given Data :
m=1.5;//Kg
V1=0.06;//m^3
p1=5.6*10;//Kpa
t2=240;//degree centigrade
T2=t2+273;//kelvin
a=0.946;
b=0.662;
K=10^-4;
//p*V=m*R*T=m*(a-b)*T
T1=p1*10^5*V1/m/(a-b)/1000;//Kelvin
U2subU1=integrate('m*(b+K*T)','T',T1,T2);//KJ
Q=0;//isentropic pro... |
01e6d5b987fa08174443d7327ff8eec58f4a9160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH14/EX14.1/Ex14_1.sce | 25851493f9f0fcb5687c534d50f51c0318b95e13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex14_1.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-14.1 Page No.306\n');
//Torque on small pulley
hp=2;
n=2450;
T=63000*hp/n;
mprintf('\n Torque on small pulley = %f in-lb.',T);
r=6/2;
Fd=T/r;
//Front force
Fb=10;
Ff=Fd+Fb;
mprintf('\n Front force = %f lb.',Ff);
//Force pulling the shafts
... |
a2536e71775b867b95f7ed589cfe8af20ff9f0c0 | d0eae76ce5fad31d0a6e879e2fe2c51079c1ec35 | /correlacao.sce | 8df63fc772008db927495f67e2d988b6e7ef0a0d | [] | no_license | matheuslopesz/mathCode | b13ed33aa1e6884c172012abf2d2cdba8240f7a3 | 5cf7a2c81b995c9123bd5caefa869b8a77205490 | refs/heads/master | 2022-03-14T23:12:08.881066 | 2019-12-14T00:40:51 | 2019-12-14T00:40:51 | 103,522,973 | 0 | 0 | null | 2019-12-14T00:40:52 | 2017-09-14T11:13:15 | Scilab | UTF-8 | Scilab | false | false | 185 | sce | correlacao.sce | close;
N =100;
b = rand(1,N,'n'); // criando vetor de número aleatórios
b = sign(b); // transforma em -1 e 1
b = 0.5 * (b +1); // transformar em 0 e 1
disp(b)
r = xcorr(b)
disp(r)
|
1400e2715918d5b491cf7e0c6ae99373deeadbb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH8/EX8.6/Ex8_6.sce | 791bd51d31d94fde8e5d345190ed2841c5dd47a3 | [] | 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 | 268 | sce | Ex8_6.sce | //Example 8_6
clc();
clear;
//To find out how fast is the sphere moving when it reaches the bottom
//We know that 0.5*m*(vf^2-v0^2)+0.5*I*(wf^2-w0^2)+m*g*(hf-h0)=0
//And v0=w0=0 and I=(2/5)*m*r^2
printf("The sphere is moving at a speed of Vf=sqrt((10*g*h)/7)")
|
4993089a76b1d54526204c34147d2381744e6619 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.37/5_37.sce | 4b4e2906a11f605e5ce02b4d5ffa4743eb9f219d | [] | 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 | 343 | sce | 5_37.sce | T1=373;//initial temperature in kelvin//
Lv=540*18;//latent heat of vapourization of water in cal per mol//
T2=423;//final temperature in kelvin//
R=1.99;//universal gas constant//
P=10^(-Lv*((1/T2)-(1/T1))/(2.303*R));//vapour pressure of water in atm//
printf('\npressure of water at which we can produce superheat... |
b878a92e6d0aea55f577e6c2aa3633be7c938e12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.3/Chapter3_Exampl3.sce | 7e7c863b49592de0c959a3df58cb944f0495930b | [] | 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 | 521 | sce | Chapter3_Exampl3.sce | clc
clear
//INPUT DATA
Tl=300;//engine temprature in Degree C
Th=1500;//engine temprature in Degree C
Fc=0.45;//Fuel consumption in kg/hr
cv=40000//kJ/kg
wd=4;//workdone in kW
//CALCULATIONS
nc=((Th-Tl)/(Th+273))*100;//Efficiency of carnot cycle in percentage
Qs=Fc*cv;//Heat is added in kJ/min
na=(wd/(Qs))... |
6089ae69a18e1a1ce8215db52d2dc5e7d0d04e0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH5/EX5.2/2.sce | 89d1a069ac6bdc788bbc8fbd8d68011af1d21fd2 | [] | 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 | 2.sce | clc
clear
//INPUT DATA
np=1.39 //refractive index in air
a=62 //refracting angle of prism
//calculation
x=1/np
c=asind(x)//critical angle
r=a-c
i= np* sind(r)//snells law
i1=asind(i)
A=2*c//greatest prism angle allowing refraction
//output
printf("angle of incidence producing maximum deviation is %3.3f deg... |
b53285571a3e4644751767f490c6709c26d40013 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.15/ex_6_15.sce | d033fbc3ae9ef13bbc0ff9a4a544bf6b8033fcfb | [] | 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 | 426 | sce | ex_6_15.sce | clear;
close;
clc;
W=%pi/4;
w=-10:0.1:10;
for i=1:length(w)
if (w(i)>=-2*%pi-W & w(i)<=-2*%pi+W) then
X(i)=1;
elseif (w(i)>=-W & w(i)<=W)
X(i)=1;
elseif (w(i)>=2*%pi-W & w(i)<=2*%pi+W)
X(i)=1;
else
X(i)=0;
end
end
figure
subplot(2,1,1)
plot(w,X);
title("X[w]");
n=-15:15;
x=X... |
688f034d68b7f2ce793760dd0e984ef74b236932 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_9.tst | f491812fc80206fc430593b58df6caa1f669a601 | [] | 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 | 22,888 | tst | bow.12_9.tst | 12 2:0.020833333333333332 5:0.03225806451612903 19:0.3333333333333333 21:1.0 31:0.16666666666666666 60:1.0 70:0.25 81:0.3333333333333333 388:1.0 601:1.0 867:0.5 1219:1.0 2516:1.0 4412:1.0
12 2:0.020833333333333332 5:0.03225806451612903 17:0.25 38:0.06666666666666667 47:0.5 70:0.25 110:0.0625 119:0.3333333333333333 135:... |
aaa7a3c38c4e44dfb599610e0db9ba4bdda5a7d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH4/EX4.4.4/exa4_4_4.sce | 524afe6ab2d5d6c951303346fc712d5d606b4f15 | [] | 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 | exa4_4_4.sce | //Caption:transfer_function_using_mason's_gain_formula
// example 4.4.4
//page 67
syms G1 G2 G3 H1;
// forward path denoted by P1,P2 and so on and loop by L1,L2 and so on
//path factor by D1,D2 and so on and graph determinant by D
P1=G1*G2*1;
P2=G1*G3;
L1=G2*(-1);
L2=G3*(-1);
L3=-G1*G2*H1
D1=1;
D2=1;
D=1-... |
022d525871db6eef98429cb7aeecc3e837eb05de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH6/EX6.4/Example64.sce | 5ac1a87c2a5f034b2bc84f5b91d66e6db121ed67 | [] | 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,143 | sce | Example64.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 6, Example 4")
disp("Critical pressure for maximum mass flow is given by Fig. Ex64")
disp("Pc is critical pressure in MPa")
P1 = 0.8;/... |
98920619f6d370c645901d4af41e0bddfc969264 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 03/tarefa 3 real oficial.sci | 7bf1d3a8e7c4260fed63ea75cfd246dd89e934f9 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,438 | sci | tarefa 3 real oficial.sci | clear
clc
//Lista de exercício 3 - 3º Tarefa
//Dados
pi = %pi
r = 0.001; // raio da esfera em metros
rho = 7850; //densidade do aço em kg/m^3
g = 9.8; //m/s^2
m = (4/3)*pi*(r^3)*7850 // massa em kg
R=1;//Raio da circunferencia geradora
//Condições iniciais
s0 = -4;
v0 = 1;
S0 = [s0;v0];
//Espaço de estados
function dS ... |
2013d01175443aa0a691adf817ea8662244f1a26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.6/6.sce | 0bcbc97db4a59d26c4c3f0e179791806a4f4c8f5 | [] | 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 | 648 | sce | 6.sce | clc
// Given that
f = 100 // focal length of lens in cm
y = 0.05 // Separation between second dark bend and center in cm
m = 4 // Order of minima
n = 5 // Order of minima
e = 0.5 // Distance of center of 5th minima from center of maxima in cm
// Sample Problem 6 on page no. 141
printf("\n # PROBLEM 6 # \n")
p... |
958e685472112c970d3e5b15e49fa587a57fce10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH3/EX3.3.7/Example3_7.sce | 0d58c8043b4ce783209ef1a847730919c3e23a70 | [] | 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 | 402 | sce | Example3_7.sce | //Chapter-3,Example3_3_7,pg 3-8
//as total internal reflection takes place for light travlling within 5 degree of the fibre axis
angle_c=90-5 //critical angle
n1=1.50 //refractive index of core
n2=n1*sind(ang... |
83c5165234cd732290283dac1e6b0716120a92a4 | 39d212a1aaf3f1dfc8993d47aef9f7b8d4c34008 | /9.sce | 5ab04a2916f01a198903a8fd4bc55d8410752aff | [] | no_license | majsterkovic/ni-scilab | 25e6ef2c46c0973a48f651b7dfaafed5dbffb5c6 | 05d98042fb4bc424638f0832d1a14bdfce625d53 | refs/heads/master | 2023-03-12T09:50:27.944550 | 2021-03-01T22:35:17 | 2021-03-01T22:35:17 | 343,575,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24 | sce | 9.sce | p = [1 0 -4 -2]
roots(p) |
d795436012fb7697f92fcc9fc9a8fc7e673afd1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.34/P6_34.sce | 54a29300d5366e5d6af9b4b0a71d198d067fb031 | [] | 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 | 389 | sce | P6_34.sce | //EXAMPLE 6.34
//y[n]=x[n-1] - 1.2*x[n-2] + x[n-3] + 1.3*y[n-1] -1.04*y[n-2] + 0.222*y[n-3]
//Transfer function determination
clc;
clear;
z=%z;
disp('Given the difference equation taking ztransform on both sides :')
Yz = z^2 -1.2*z +1;
Xz = z^3 -1.3*z^2 + 1.04*z -0.222;
Hz = Yz/Xz;
disp(Hz,'The transfer function is =... |
c0efa7144a52ff9e3a1788a88946c81bd6328615 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH24/EX24.2/Example2.sce | 32a03a7407dbc5df665b678374a34982c8ae652b | [] | 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,868 | sce | Example2.sce | clear
flag=1
mode(-1)
clc
printf("Example 2 : Show the method of showing PID,PPID in both parent and child process \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems program... |
97be0d4169f639867f7ed1d8f19cdb6b8de4d129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH9/EX9.15/Ex9_15.sce | f8f46f5d25fb4a578c2c456a12e585c2bc85d1a8 | [] | 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 | 431 | sce | Ex9_15.sce | //Initilization of variables
d_m=2 //in mean diameter of the screw
p=1/4 //in
mu=0.15 //coefficient of friction
l=2 //ft
L=4000 //lb
//Calculations
phi=atand(mu) //degrees
beta=atand(p/(%pi*l)) //degrees
//Force to raise the load
P=(L*tand(phi+beta))/(d_m*12) //lb
//Force to lower the load
P2=(L*tand(phi-... |
1337f5cd0d5719a279bb86ad5b65d73ee1f1070c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH5/EX5.8/Ex5_8.sce | 39d6cabad6e74ae4e9f0afd6502e0308b09f55b5 | [] | 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 | 152 | sce | Ex5_8.sce | //example 5.8
clc; funcprot(0);
Df=1;
B=1.75;
qnet=120;
N60=10;
Fd=1+0.33*Df/B;
Se=2*qnet/N60/Fd*(B/(B+0.3))^2;
disp(Se,"settlement in mm");
|
00084de228a0358dd6326fdb48e7d8817ccc7c1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.3/ex3.sce | 31ff0645fbc9225561f2d9cdb87cd81faff25119 | [] | 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 | 561 | sce | ex3.sce | //example 3
//the rate of irreversibility of a heat engine
clear
clc
Tsink=300 //Temp. of sink in K
Tsource=1200 //Temp. of source in K
nthrev=1-Tsink/Tsource //efficiency of carnot engine
Qin=500 //rate at which heat is received from the source in kW
Wrev=nthrev*Qin //maximum power produced by a heat engine ... |
d1bc1315731db9c6df961477e9b63defe29a163b | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH4/EX4.1/Example4_1.sce | 4422cf70f915396c8f01f412af3aff75ee9ef748 | [] | 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 | 236 | sce | Example4_1.sce | //Given that
r_initial = [-3,2,5] //in meter
r_final = [9,2,8] //in meter
//Sample Problem 4-1
printf("**Sample Problem 4-1**\n")
dis_v = r_final - r_initial
printf("The displacement vector of the particle in meter is")
disp(dis_v) |
07b33667844bbc2922a3929a1f9a82c4be979b68 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem04/lab06/l06q02.sce | 073563bc189d67033ca642f625b9077dd53aca29 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | l06q02.sce | clc;
clear;
x=0:0.1:0.4;
printf("\nX values");
disp(x);
y=[1,1.22,1.49,1.82,2.26];
printf("\ny values");
disp(y);
X=0.05;
n=length(x);
h=x(2)-x(1);
p=(X-x(1))/h;
sum1=y(1);
term=1;
printf("\nDifference Table");
for i=1:n-1
for j=1:n-i
y(j)=y(j+1)-y(j);
printf("\t%f",y(j));
end
term=term*(p-i+1)/i;
sum1=sum1+ter... |
45d380ac7b8cd57c03b82e9e8df226b933137179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH1/EX1.1/9ex1.sce | 305dfcd989dc2fc8ce4c1a7b1844ba8621e96a71 | [] | 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 | 226 | sce | 9ex1.sce |
//ex1: no.of pence in x pounds added to y pence
clear;
clc;
close;
//' to express pounds in pence, multiply by 100'
x=poly(0,'x');
x_pounds=100*x; // x_pounds=100*x pence
mprintf(' total no. of pence =100x+y ')
|
dca6a815ec2b9e2130e226730dc580b21ff57628 | 0ef832d8eaedc16253cc220bc704a52597d248fe | /model_server/gedge/include/stnum.tst | 7f6725a333e3f9cf9ca3c30e15b25c5285eb9771 | [
"BSD-2-Clause"
] | permissive | radtek/software-emancipation-discover | 9c0474b1abe1a8a3f91be899a834868ee0edfc18 | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | refs/heads/master | 2020-05-24T19:03:26.967346 | 2015-11-21T22:23:54 | 2015-11-21T22:23:54 | 187,425,106 | 1 | 0 | BSD-2-Clause | 2019-05-19T02:26:08 | 2019-05-19T02:26:07 | null | UTF-8 | Scilab | false | false | 2,218 | tst | stnum.tst | #ifndef _STNUM_TST
#define _STNUM_TST
/*-------------------------------------------------------------------------------------------
ST_NUM.TST
Autor : Bernd Rumscheid
Datum : 14.12.88
nderungen : 01.01.89
---------------------------------------------------------------------------------... |
ffc7b6f34f6410734c4a9df7eb51f49d8bfc0d2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH8/EX8.3/Ex8_3.sce | a240277c5333d123dccca17299eab0484819536d | [] | 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 | 377 | sce | Ex8_3.sce | clc
//to calculate number of electrons
I=2*10^-3 //current in mA
e=1.6*10^-19
n=I/e
disp("number of electrons striking the target per second is n="+string(n)+"unitless")
//to calculate speed
m=9.1*10^-31 //mass of electron in kg
V=12.4*10^3 //potential difference in V
v=sqrt(2*V*e/m)
disp("the speed with wh... |
9178e96b6b6128477f601283e002ff9dda449238 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/demos/bike/c.sci | 0e4f0259edd1ac449921101f7dfdc911955df248 | [
"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 | 114 | sci | c.sci | //[var]=c(q,qd,u,paramopt)
var=fort('c',...
q,1,'d',qd,2,'d',u,3,'d',paramopt,4,'d',...
'sort',[1,1],5,'d')
//end
|
a1541b9cd6f90cb7407ad1ed967600663b90c259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH6/EX6.35/Ex6_35.sce | 212463811a9d295a8ddfea3cbb18589f0875a63a | [] | 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 | 732 | sce | Ex6_35.sce | clear
//
//
//
//Variable declaration
h=6.6*10^-34; //planck's constant(J-sec)
e=1.6*10^-19; //charge of electron(c)
L=10^-1; //width(m)
m=10^-2; //mass of electron(kg)
n1=1;
n2=2;
n3=3;
//Calculations
E=h^2/(8*m*e*L^2); //energy(eV)
E1=n1^2*h^2/(8*m*e*L^2); //1st l... |
91c1b1ddc0b80b875095fa37d79ce44a3c476d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.12/Ex10_12.sce | 017f4d73c22861d10bdd5110937963045ff56fbf | [] | 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 | 224 | sce | Ex10_12.sce | clear
//Given
n=10
I=3
A=7.85*10**-3
B=10**-2 //T
//Calculation
//
M=n*I*A
U1=-M*B*cos(0)
Uf=-M*B*cos(90)
w=-U1
t=M*B*sin(90*3.14/180.0)
//Result
printf("\n Work done is %0.1f *10**-3 Nm",t*10**3)
|
fafd076c9a7b14cb9313cba24b7851b61bbbc61a | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH7/EX7.7.1/7_7_1.sce | eb92a81e720c89a8baf13eda1030517336a20373 | [] | 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 | 388 | sce | 7_7_1.sce | clc
pathname=get_absolute_file_path('7_7_1.sce')
filename=pathname+filesep()+'771.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
u1=Vdot*10^4 /(10^3 *60*%pi*(ID1/2)^2)
u2=Vdot*10^4 /(10^3 *60*%pi*(ID2/2)^2)
deltaP=-((u2^2... |
3ea3a604134ba99b3078a133a36aac7ab05ad006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH9/EX9.5/ex9_5.sce | 3871055196b681b6868a21ece2af90f3fef0d4b3 | [] | 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 | 195 | sce | ex9_5.sce | //Wired Digital Communications : example 9-5 : (pg 411)
Tb=1/(8*10^3);//bit frequency
BWmin=1/(2*Tb);//minimum bandwidth
printf("\nTb = %.8f s",Tb);
printf("\nBWmin = 1/2.Tb = %.f Hz",BWmin); |
f74a497811be24f32534b6a53fdc5b125597d045 | c01ca78370f3e6b54de574f320475030453d1290 | /test1.sce | 03b83f002db81639d80e2c9d18be8ccf59b4b889 | [] | no_license | hegdekartik/FOSSEE_communication_toolbox | d7e14c9c4e8c99915b293438c057bbdea60074bb | 399530b6ef3a9ea95164dc5f7d584ea7a9aa7957 | refs/heads/master | 2023-08-19T02:00:29.665821 | 2018-06-13T11:04:18 | 2018-06-13T11:04:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,763 | sce | test1.sce | getd .
test_pass=[]
res=[]
/////////Test case for 1) allignsignal //////////
x=[0 0 2 5 1 ];
y=[2 5 1 4];
[xa,ya]=alignsignals(x,y)
if(xa==[0 0 2 5 1 4] & ya==[0 0 2 5 1 4])
test_pass=[test_pass,1]
else
test_pass=[test_pass,0]
disp("Allignsignal Test failed")
end
/////////////... |
d2cc9c6882340b7be1c6e7528b3bfea3b90ee501 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_rot90.sci | 983db9419a08e60034a1c65cb30f1e81827b469d | [] | 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 | 3,289 | sci | moc_rot90.sci | function y = moc_rot90 (x, k)
// rotates the given matrix clockwise by 90 degrees.
// Calling Sequence
// y = moc_rot90 (x, k)
// Description
// Return a copy of x with the elements rotated counterclockwise in
// 90-degree increments. The second argument is optional, and specifies
// how many 90-degree rotations are ... |
856c8a238801f97dfd5fa7d99350334d3eadc71a | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH6/EX6.5/Example6_5.sce | 1d0d91a55d0b4670500faf0843d7ab044f520783 | [] | 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 | 786 | sce | Example6_5.sce | //Example 6.5
//Program to determine the threshold current density and the
//threshold current for the device
clear;
clc ;
close ;
//Given data
n=3.6; //REFRACTIVE INDEX OF GaAs
beeta_bar=21*10^(-3); //A/cm^3 - GAIN FACTOR
alpha_bar=10; //per cm - LOSS COEFFICIENT
L=250... |
f220c27dd4840cf3035a6832d7dbe49c6bbfd228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH14/EX14.6/Ex14_6.sce | 9bc7856585cbf4a2cfbb6937a54dda72be237ba5 | [] | 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 | 802 | sce | Ex14_6.sce | //Variable declaration:
T1 = 500.0 //Temperature of hot fluid entering the heat exchanger (°F)
T2 = 400.0 //Temperature of hot fluid exiting the heat exchanger (°F)
t1 = 120.0 //Temperature of cold fluid entering the heat exchanger (°F)
t2 = 310.0 ... |
1e56d4231f0c6406773e59461ffc81394761a3d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.8.4.a/ex_2_8_4_a.sce | 546d215ad685a6cdf28dcaa5e6c2f41e410decd9 | [] | 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 | 178 | sce | ex_2_8_4_a.sce | //Example 2.8.4.a // unknown resistor
clc;
clear;
close;
//given data :
V=100;//in volts
I=5*10^-3;// in A
R_app=(V/I)*10^-3;
disp(R_app,"apparent resistor,R_app(kilo-ohm) = ")
|
ba78d74a1b74be0d63a2ac8d6ec3801cdebe88c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH9/EX9.8/Example9_8.sce | c931f91497e1799462eba2b9e656521872099ba1 | [] | 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,743 | sce | Example9_8.sce | //Example 9.8
//Program to determine:
//(a)Maximum bandwidth without equilization
//(b)Mean square thermal noise current per unit bandwidth
//(c)(Compare (a) and (b) for transimpedance amplifier
clear;
clc ;
close ;
//Given data
Ra=4*10^6; //Ohms - INPUT RESISTANCE
Rb=4*10^6; ... |
dd08b82ae647c3f3ca9ff30fd0f50414926435b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH8/EX8.10/Ex8_10.sce | 688046f2d4bcab4d5d0b3713e48d25d570907901 | [] | 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 | 409 | sce | Ex8_10.sce | clc;clear;
//Example 8.10
//given values
Q=1035;
T0=273;
Tin=293;
Tout=278;
T1=300;
//calculations
//Xin - Xout - Xdestroyed = dX/dt
Xdestroyed=Q*(1-T0/Tin)-Q*(1-T0/Tout);
Xdestroyed=round(Xdestroyed);
disp(Xdestroyed,'the rate of exergy destroyed in W');
//the total rate of exergy destroyed
Xdestroye... |
ff29df3079875acbd9a58dbf5e80351b75ae637a | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kLinVis.sci | 284a67c325949f3d18febe40970ada36c8f9c5e6 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sci | kLinVis.sci | function [value] = kLinVis(ref)
// Ouput variables initialisation (not found in input variables)
value=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
reply = kTurret(ref,2,"N");
// !! L.3: Matlab function sscanf not yet converted, original calling sequence used
[value,count,er... |
78c8a6bc23d47620ec7b8a7fb324774974d22cfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.12/Ex1_12.sce | 177cb59f004d591b1d27b5c612fbc4af354f12bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | Ex1_12.sce | //Variable declaration
Vbb=5 //bias voltage(V)
Rl=1 //resistance(ohm)
Id=4.4 //from the figure(mA)
//Part a
i=Vbb/Rl //load line intercepts the Id axis at i(mA)
Vl=Id*Rl //load voltage(V)
//Part b
Vd=Vbb-Vl //diode voltage(V)
P=Vd*Id //power absorbed in diode(... |
26336b0670ec8a73d3239e6279723f2ee611f933 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.24/EX1_24.sce | 41e31395e163eb94e69b9aa573f140ee44f5e658 | [] | 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 | 302 | sce | EX1_24.sce | clear;
clc;
printf("\nEx1.24\n");
//page no.-34
//given
n=3;.....................//order
lambda=0.79*10^-10;......//wavelength in m
d=3.04*10^-10;..........//spacing in m
//from bragg's law
theta=asind((n*lambda)/(2*d))..........//angle in degrees
printf("\nangle is 22.942 degrees\n");
|
e5a560482a82d802c2242a6bb1be1035924dfcf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH12/EX12.06/12_06.sce | d1f1db207e484aeea3e61b527b0ce4129bb37f0a | [] | 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 | 567 | sce | 12_06.sce | //Problem 12.06:
//initializing the variables:
xb = 0.2; // mol%
p = 280; // in psia
a = 0.4;
//calculation:
BPT = 140; // in deg F
Kp = 1.15
Kb = 0.41
Y = xb*Kb + Kp*(1 - xb)
DPT = 154; // deg F
Kp = 1.30
Kb = 0.50
Xa = xb/Kb + (1-xb)/Kp
T = 145; // in deg F
L = 1 - a
Kp = 1.20
Kb = 0.45
Xz = xb... |
7b979934807c947c13493be44e4c93728633668c | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/bigbug.tst | fc053fdd62e5984f11317de5e9777ffe42ae4c23 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | tst | bigbug.tst | (set-strategy depth)
(unwatch all)
; bigbug4.bat test
(open "bigbug.rsl" bigbug "w")
(dribble-on "bigbug.out")
(clear)
(release-mem)
(mem-used)
(load-facts bigbug.dat)
(clear)
(release-mem)
(mem-used)
(load bigbug.clp)
(reset)
(clear)
(release-mem)
(mem-used)
(dribble-off)
(load "compline.clp")
(printout bigbug "bigbug... |
8a984a731d5ab8aa388ba28d4db2f7a03be3faf4 | a617a2a0835b5800a12c9ff4126b81b96e78c59b | /numerosPseudoAleatorios.sce | a89ea16cb749f275da4fe4087db71f55b7cb8179 | [] | no_license | chagas-junior/scilab | d515e5399536081b12742a58879be3057c52f476 | e0ca4ed7b4f264a46d410a1b6d4b6830bb28ed4b | refs/heads/master | 2023-02-26T06:57:01.468742 | 2021-02-03T01:57:03 | 2021-02-03T01:57:03 | 335,104,373 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27 | sce | numerosPseudoAleatorios.sce | x1 = rand(1,100,'normal');
|
27cc340eaf3c9e343f72106bc413a1b8ad55c2b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.3w/18_3w.sce | 48ac6150d0257e532e27cae107d58a4c834163b7 | [] | 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 | 18_3w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.3w
//calculation of object distance for half image height as compared to original height in case of reflection by convex mirror
//given data
m=.5; //magnification ratio
f=2.5; //focal length of the convex mirror(in... |
8b7d91a7218a346b99b6cbb7063dfaeed036be89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH3/EX3.12/Example3_12.sce | 296cfa3b12f67a30420535f8228a7cf00c9d83b6 | [] | 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,877 | sce | Example3_12.sce | //Example 3.12
clc
disp("Step 1: Identify topology")
disp(" The feebdack is given from emitter of Q2 to the base of Q2. If Io = 0 then feedback current through 5 K register is zero, hence it is current sampling. As feedback signal is mixed in shunt with input, the amplifier is current shunt feedback amplifier.")
d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.