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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
04cc4ad5b28a30f4a3f3e993030507f942a88f9d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/metanet/girth.sci | 3ad76122f15a9ed61970908100482af6652f9ad6 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sci | girth.sci | function [d]=girth(g)
[lhs,rhs]=argn(0)
if rhs<>1 then error(39), end
// check g
if g('directed')<>1 then
error('The graph must be directed')
end
// girth of graph g (length of the shortest cycle)
[p,r] = circuit(g);
if p==[] then
d=0
end
l=size(p,2);
d=l;
ta=g('tail');he=g('head');
n=g('node_number');
X=sparse(... |
21d6b39287ce77e83abf870d9803172e2be1becf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH3/EX3.7/Ex3_7.sce | af81ea6493d28b4bdfe8cf4b7d3b2fb80df6cd2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Ex3_7.sce | clc;
//page 113
Mo=24;//N.m *k, Couple of moment
f=-400;//N, Magnitude of force
OB=300;//mm,Distance of force from point O
theta=60;// degree, angle made by lever with +ve X axis
x=cosd(theta)
BC=Mo/(-f*x);//m
BC=BC*1000;//mm, Conversion into millimeter
disp(BC)
OC=OB+BC;//mm, Distance from the shaft to the... |
e31ea05408236416d517dcbff0b8f4ea3034bed0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH6/EX6.8/Ch06Ex8.sce | b12edbedd4a990b037dba7f8c4238619751a600e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,148 | sce | Ch06Ex8.sce | // Scilab Code Ex6.8: Page-199 (2006)
clc; clear;
k = 1.38e-023; // Boltzmann constant, J/mol/K
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
T = [385 455 556 714]; // Temperatures of Ge, K
rho = [0.028 0.0061 0.0013 0.000274]; // Electrical resistivity, ohm-m
Tinv = zeros(4); // Create an empty r... |
31ad856260777cc9aac38025dd249016fc10cd6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH3/EX3.2/Ex3_2.sce | 1c73f04c73fd581233a145467e1bcbec71ece2b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex3_2.sce | clc
//initialisation of variables
F=35.5*10^4//N
p=100*10^5//bars
q=%pi//ft
//CALCULATIONS
D=sqrt((4*F)/(q*p))*1000//mm
//RESULTS
printf('The cylinder size is =% f mm',D)
|
fa0b5bc939e01bf2142289cff94ecb4a2100c904 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Objpolygon.sci | ba5b346ac98303706c2c7b623dfbcf4c7e793196 | [] | 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,245 | sci | Objpolygon.sci | // s : 2014.06.22
// 14.09.07 Objjoin added
function Out=Objpolygon(varargin)
global OBJFIGNO OBJJOIN
Eps=10^(-6);
Args=varargin;
Nargs=length(Args);
Tmp=Args(1);
PtL=Flattenlist(Tmp);
PL=list();
for J=1:length(PtL)
Tmp=PtL(J);
for K=1:size(Tmp,1)
PL=lstcat(PL,list(Tmp(K,:)))
end;
... |
ec5b233c7d25741edcabf39548a6ce0307de9796 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH9/EX9.19/ex9_19.sce | 3e5fa21fb87a3f9f3f0f2a0f55f5d19448d08b10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | ex9_19.sce | clc;
m=0.8; //mass of water in kg
c=4185; //specific heat in J/kg.celcius
delT=100-20; //change in temperature in celcius
Q=m*c*delT; //calculating heat required in Joule
P=10^3; //Power in J/sec
t=Q/P; //calculating time using P=(Q/t)
disp(t,"Time required to raise temperature to 100 degree c... |
09c827d4da7ff1c8f349ab138d56a9844dbd3374 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH16/EX16.9/Example16_9.sce | 14cf0fc11709548146f061b05481b1cf3c06c7f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Example16_9.sce | //Example 16.9.
//Negative Clamping circuit
//let input voltage be V_in=V_p_in*sin(2*%pi*f*t)
V_p_in=12;
V_DC=-(V_p_in); //DC level added to output
disp(V_DC,'V_DC in volts= ')
for n=0:1:1
t=n/2:0.0005:(n+1)/2;
V_in=V_p_in*sin(2*%pi*t);
Vout=V_DC+V_in;
plot(t,Vout)
end
xtitle('Negative cl... |
9441ced9dad9786ef41cced9cfbe9f0547af0c17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.68.a/example768a.sce | 08b6765c6c05920c9b30341aab5b16876946729d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | example768a.sce | //Example 7.68a
//Z transform of x[n]=u[n]
clc;
syms n z;
x=1;
X=symsum(x*(z^-n),n,0,%inf); |
c75cea6e125a9adbe199d6bc746faa9a66feccd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.4.c/ex_2_7_4_c.sce | 391e02a1bf26a397c973c6b6107dadcdc9cc0d2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2_7_4_c.sce | //Example 2.7.4.c://standard deviation
clc;
clear;
format('v',7)
n=8
q=[10.3,10.7,10.9,9.7,9.5,9.2,10.3,11.7];//
AM= mean(q);//arithematic mean in mm
for i= 1:8
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8)];//
AV=(-qb(1)+qb(2)+qb(3)-qb(4)-qb(5)-qb(6)-qb(7)+qb(8))/n;//
SD=stdev(Q);//stan... |
5e39081a03debcb3b55d09eb08bb26262bad746a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH21/EX21.1/Ex21_1.sce | d8d30f789c631e901ab0dfe5452de0b09c0ff5dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | Ex21_1.sce | //Variable declaration:
m = 1 //Mass flowrate (lb)
cP = 1 //Heat capacity (Btu/lb. F)
//From figure 21.3:
T1 = 300 //Temperature of hot fluid leaving exchanger ( F)
T2 = 540 //Temperature of hot fluid entering exchanger ( F... |
baf891a9b4ca42a8bce5f5d0c693b9caba28cbc3 | d0efa9f4759b46e22ac9687b2871bb3464002002 | /example6.sce | 4dfd8dbfd7fa5edb11f6a65b5c7e0e9b9b8786fc | [] | no_license | Adithya-Shetty100/Scilab--Linear-Algebra | c0198c7dd3a4f599b88904b5d7554589aaa5e995 | ed63e672f56b8b4f1bff7f33e50352db3e8568fe | refs/heads/main | 2023-04-19T12:41:56.959465 | 2021-05-11T08:46:41 | 2021-05-11T08:46:41 | 366,313,853 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | example6.sce | clc;
clear;
close;
disp('The given matrix is')
a=[4 5 9 -2;6 5 1 12;3 4 8 -3]
a(2,:)=a(2,:)-(a(2,1)/a(1,1))*a(1,:)
a(3,:)=a(3,:)-(a(3,1)/a(1,1))*a(1,:)
disp(a)
a(3,:)=a(3,:)-(a(3,2)/a(2,2))*a(2,:)
disp(a)
a(1,:)=a(1,:)/a(1,1)
a(2,:)=a(2,:)/a(2,2)
disp(a)
for i=1:3
for j=1:4
if(a(i,j)<>0)
... |
f13a01d25a7611e24ddead6ac367ee7c7f266016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH13/EX13.5/Ex13_5.sce | df365d6e2bebbfa0a73c57a1a7e40a95954c851d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex13_5.sce | clc//
//
//
//Variable declaration
n1=1.48; //refractive index of core
n2=1.45; //refractive index of cladding
//Calculation
NA=sqrt(n1^2-n2^2); //numerical aperture
alpha_i=asin(NA); //angle of acceptance(radian)
alpha_i=(alpha_i*180/%pi); //angle(degrees)
alpha_id=int(alpha_i);
alpha... |
3c67be492bb8cc7376c62a4a1a135263710d0323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.1/18_1.sce | 833a292b2fdcdf9f69cfbb92b641a3898451a19d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | 18_1.sce | //ques-18.1
//Calculating heat of formation of ethyl alcohol
clc
h1=-333;//heat of combustion of ethyl alcohol (in kcal)
h2=-94.3;//heat of formation of carbon dioxide (in kcal)
h3=-68.5;//heat of formation of water (in kcal)
H=2*h2+3*h3-h1;//heat of formation of ethyl alcohol (in kcal)
printf("Heat of formation... |
550f388ff91915def01547c624bebb26e22f5910 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.10/exa6_10_10.sce | 27bf1d5f427edd140445c85ae572d0e5b5134c08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,160 | sce | exa6_10_10.sce | //caption:determine_transfer_function,Wn,zeta
//example 6.10.10
//page 179
//J=moment of inertia,f=C,Ke=error detector gain,Wn=natural frequency, zeta=damping ratio,Km=torque constant
syms J f s
Ke=5.73;
Km=0.045;
n=sym('N1/N2')
n=subs(n,'N1/N2',1/10);
J=0.25*float(n^2);//referred to motor side
f=1*float(n^2)... |
68b210ee710d596c285c45b1a827c0de34dcf1ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.9/Ex5_9.sce | ef755fe691cc7b0e00400d73abed1d166d73705a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_9.sce | //Example 5.9
clc;clear;close;
format('v',7);
C=4000;//MW
f=50;//Hz
L=C;//MW//Load
R=2.5;//%////Speed regulation constant
H=5;//sec////Inertia constant
delPL=1;//%////change in load
delf=1;//%////change in frequency
disp("Part(a)");
Ls=80;//MW;//increase in step to load
R=R/100*f;//z/p.u.MW
D=delPL/delf*L/... |
7712d2f64e8093313c480c9f6c44f6a5cadecfba | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH1/EX1.1/Example_1_1.sce | 9152049871669c6b0905b9a9a183882c8615f186 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | Example_1_1.sce | //Chemical Engineering Thermodynamics
//Chapter 1
//Introduction
//Example 1.1
clear;
clc;
//Given
m = 100;//m is the mass of the object in kg
a = 10;//a is the acceeleration due to gravity in m/s^2
//To determine the force exerted
F = m*a;//F is the force exerted by the object in kg
mprintf('Force ex... |
5735c0498cee95b791ef1d9cb41694ae29ef9378 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/chart2/qa/unoapi/sch.sce | cd7dd967826150d98cedcf853affa2176dcfd3ef | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | Scilab | false | false | 1,552 | sce | sch.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
cd3a69831c10f61b1ce33c11c80d3c9a26d7af3b | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.vowel-10-1tra/result3s0.tst | ea0844e80c24fc56b5aca43f33c425da03f89de7 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | tst | result3s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
557921742674135f15bd2bad874721d5f44bea37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH9/EX9.9/ex_9.sce | 92de3a6a607d56b42c21cd6ba636d55e9bedc075 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | ex_9.sce | // PG (610)
w = [1/3 2/3 2/3]'
w1 = w(1,1)
w2 = w(2,1)
w3 = w(3,1)
U = [1-2*abs(w1)^2 -2*w1*w2' -2*w1*w3';-2*w1'*w2 1-2*abs(w2)^2 -2*w2*w3';-2*w1'*w3 -2*w2'*w3 1-2*abs(w3)^2]
U
inv(U)
// U = inv(U)------Hence, U is Hermitian
U*U
// U*U = I---------Hence, U is orthogonal
|
9f0131ebe3d35fe4b49919fe55a708d83f04d00c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH7/EX7.5/example5.sce | 04914c6fc7341dafa879bf3bef6247054d403c46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | example5.sce | clc
clear
//input data
Nm=1000//Speed of the model in rpm
Hm=8//Head of the model in m
Pm=30//Power of the model in kW
Hp=25//Head of the prototype in m
DmDp=1/5//The scale of the model to original
//calculations
Np=((Hp/Hm)^(1/2))*(DmDp)*(Nm)//Speed of the prototype in rpm
Pp=(Pm)*((1/DmDp)^(5))*(Np/Nm)^(3... |
a33561e80514722f5192ffaac1786fd7c1444b20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH18/EX18.3/Example18_3.sce | f5a00a6f81733550d7d9680ae8d89827945a02ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Example18_3.sce | //Given that
D = 1.5 //times wavelength
//Sample Problem 18-3a
printf("**Sample Problem 18-3a**\n")
deltaL = 0
printf("Waves undergo constructive interference at P1\n")
//Sample Problem 18-3b
printf("\n**Sample Problem 18-3b**\n")
deltaL = D
deltaPhi = 1.5*2*%pi
if modulo((deltaPhi/%pi), 2)==0 then
... |
45e8c428eec58b1bbc51fc8e7c5017a6335e92e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH5/EX5.7/ex7.sce | 58de44e1fa34113a58dfb38d3c9e7c979be1f210 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 1,342 | sce | ex7.sce | //example 7
// power generation by steam turbine
clear
clc
P1= 2 //initial pressure of steam in MPa
T1= 400 //initial temp. of steam in °C
V1= 50 //initial velocity of steam in m/s
z1= 10 //height of inlet in metres
h1=3248.4 //initial specific enthalpy of air in kJ/kg
P2= 15 //final pressure of air in kPa
V... |
7f5da46f5f9fba342073c67788821ba0ca38863f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH7/EX7.9/Example7_9.sce | 3ba526564995812aa1591312acea826c636428d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,392 | sce | Example7_9.sce | //Example 7.9
clc;
clear;
close;
//given data :
f=50;//Hz
l=175;//km
r=1/2;//cm
d=3*100;//cm
g0=21.1;//kV/cm(rms)
m0=0.85;//irregularity factor
mv=0.72;//roughness factor
mv_dash=0.82;//roughness factor
b=74;//cm
t=26;//degree C
Vph=110/sqrt(3);//kV
del=3.92*b/(273+t);//air density factor
Vd0=g0*del*m0... |
d6cb5e08b916df3d662e7dfed447522e1bc61caa | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%rds.sci | ced0df04251b954c2235ab0309e27882b333fda7 | [
"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 | 109 | sci | %rds.sci | function r=%rds(r,m)
// r=r./m
//!
if size(m,'*')==0 then r=[],return,end
r(3)=r(3).*m
r(2)=r(2).*ones(m)
|
a782fa641638d5bd99d7f2e00d1df2180e3ce85a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH23/EX23.16/EX23_16.sce | 9dba8078fd7674a6ae7b048746c220398f29812c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | EX23_16.sce | //Chapter 23, Example 23.16
clc
////Initialisation
x="11010" //binary number to be convert
//Calculation
x1=bin2dec(x) //conversion to decimal
//Results
printf("Decimal of 11010 = %d",x1)
|
a03726203f971c07cf0775c5f0a13a9bba4330dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH5/EX5.10/EX5_10.sce | 9342c533ba7389e3f708c5fabb801c46a116099e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX5_10.sce | //Finding of convective acceleration
//Given
v1=2.5;
v2=16;
s=3.75;
//To Find
a=(v2-v1)/s;
a1=v1*a;
a2=v2*a;
disp("Acceleration at inlet="+string(a1)+" m/s^2");
disp("Acceleration at outlet="+string(a2)+" m/s^2");
|
a8a1186ed36356ac265d976e52f587b44dc33a50 | dacb210e4fc5dbb894a8358ca5b425e801829c17 | /Pred-Corrector for ODE/func.sci | 3d6193c19f0bc76602e7a638d6184aab9c278509 | [] | no_license | amiedemmel/Diff-Eq-Projects | ba0fe0a45cee568b65b2b508bd55d193668f7a14 | 7edbd8a46aec2df62990c8fb11365498cb583335 | refs/heads/master | 2020-05-30T04:10:56.223423 | 2015-05-08T15:50:50 | 2015-05-08T15:50:50 | 35,286,857 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44 | sci | func.sci | function [f]=func(t,x)
f=x+x^2;
endfunction
|
2ecc63d691b136b3b0d4efd952dbd05ffd76cbee | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.31/example11_31.sce | 0dd6360587c5d2de55ec9322be78099291c3cb86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | example11_31.sce | //clc()
Vgas = 0.09;//m^3
Vliq = 0.01;//m^3
SVliq = 1.061*10^-3;//m^3/kg
SVvap = 0.8857;//m^3/kg
mvap = Vgas / SVvap;
mliq = Vliq / SVliq;
Ul = 504.5;//kJ/kg
Ug = 2529.5;//kJ/kg
U1 = Ul * mliq + Ug * mvap;
SVtotal = (Vgas + Vliq)/(mvap + mliq);
//using steam table , these value of specific volume corresponds... |
3cebc40608a7c14c1e4de54ff27540512e8b4e1f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_20.tst | dde55edfea4cf65b751017bab93f160f658607e2 | [] | 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 | 532,950 | tst | 5.18_20.tst | 18 187:2 248:1 554:1 601:1 712:1 726:1 1133:2 1157:1 1193:1 1491:1 1672:2 1867:1 2129:1 2165:1 2198:1 2227:2 2243:1 2343:2 2430:1 2461:1 2493:1 2500:1 2639:1 2840:1 3033:1 3178:1 3715:1 3740:1 3781:1 3827:1 3828:1 4307:1 4390:1 4454:1 4810:1 5080:1 5084:1 5304:1 5430:1 5545:1 5763:1 6011:1 6048:1 6194:1 6593:3 6767:1 6... |
c46c5e4c16adfb0d017e4fbf88f2518bd7c4025d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH11/EX11.1/ex11_1.sce | 5152d27802d0ed252e0e96f4b8f9be77310df692 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,959 | sce | ex11_1.sce | clc;
p1=150; p2=200; p3=250; p4=300; p5=350; p6=400; p7=450; p8=500; p9=550; p10=600; p11=650; p12=700; p13=750; p14=800; p15=850; p16=900; // Pressures of merect's boiler experiment in kPa
t1=111.4; t2=120.2; t3=127.4; t4=133.6; t5=138.9; t6=143.6; t7=147.9; t8=151.9; t9=155.5; t10=158.9; t11=162; t12=165; t13=16... |
2cccc293b14746ea2288574ac83134a6ab67daae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH10/EX10.4/Ex10_4.sce | c7d9ea745498f4529d93d80c0b1326125aa3a956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,379 | sce | Ex10_4.sce | clear;
clc;
disp('Example 10.4');
// aim : To determine the
// (a) Heat transfer in the boiler
// (b) Heat transfer in the superheater
// (c) Gas used
// given values
P = 100;// boiler operating pressure, [bar]
Tf = 256;// feed water temperature, [C]
x = .9;// steam dryness fraction.
Th = 450;// su... |
f28cf226c24fff299a6fc21b469faa12b44c627d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH14/EX14.1/Ex14_1.sce | 4a084816e267c6a2a1a92ad30ac14bd5946012eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex14_1.sce | clear
//Initialization
i=5 //current in ampere
l=0.628 //circumference
//Calculation
h=i/l //magnetic field strength
//Results
printf("\n Magnetic Field Strength, H = %.2f A/m",h)
|
ee84efd662c6bff0113772c1d179b985e0c1e423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH3/EX3.12/NNID_Ex_3_12.sce | cf17077e3d66ff9c62de564d25bcee4d87822209 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | NNID_Ex_3_12.sce | clc
//Chapter 3:Network noise and intermodulation distortion
//example 3.12 page no 89
//given
ensqr=8*10^-16//noise voltage
insqr=9*10^-25//rms noise current
Rs=9.42*10^3//sourse resistance
k=1.38*10^-23//Boltzmmans constant
T=290//tempreture
N=ensqr+insqr*Rs^2+4*k*T*Rs//total noise
disp(N,'the total noise i... |
5e43d4d4157e32b2b6ae4497f3489fb34c6c15b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH19/EX19.11/19_11.sce | aba5bfd562f5d60331fc7b33bc470e545a5441b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | 19_11.sce | clear//
//Variables
Vdc = 30.0 //Average value of voltage (in volts)
RL = 1.0 //Resistance (in kilo-ohm)
gamma = 0.01 //Ripple factor
f = 50 //Frequency (in Hertz)
//Calculation
C = 2890.0 / (gamma * RL) ... |
fd690d7f9eb96abec6f1720ef178bff00986e835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH4/EX4.3/4_3.sce | 506b2bd7eb2162c30d54faf2466e5a2de16f885c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 4_3.sce | clc
//Initialization of variables
disp("from saturated steam tables,")
hi=1279.1 //B/lbm
//calculations
u2=hi
T2=564 //F
//results
printf("Temperature of steam = %d F",T2)
|
0b3d1909b7838f9145f59e2160d6ecd1b63368a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH5/EX5.10/5_10.sce | 311720bfb65287c6f7b4bab4da0b47f75c8f535b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | 5_10.sce | //Find Dimension of unit cell
//Ex:5.10
clc;
clear;
close;
w=0.0708;//wavelength in nm
h=1;
k=0;
l=0;
s=0.0132;//a common divisor i.e.sin^2(theta)=0.0132
a=sqrt((w^2*(h^2+k^2+l^2))/(4*s));//in nm
a1=10^3*a;//in pm
disp(a1,"Dimension of unit cell (in Picometer) = "); |
8fbe6ac7e2a74d016e476fe333904f102f1a0f3e | f84f70d084dfe70f4981267c54aae83638a4d71e | /ACSO-master/ACSO-master/Quiz 6 - circuitos combinatorios/test_quiz.tst | 534c186842e47a466bc8a51aa671b6b072e574e3 | [] | no_license | nicolaspineros/ACSOM | b85b4b770df5ff204c2c117155102c69fecc2dc6 | 3f3a05bd60589ba5f6fa5edba9d999af9dd93517 | refs/heads/master | 2023-03-22T11:34:35.897155 | 2021-03-03T15:35:00 | 2021-03-03T15:35:00 | 344,175,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | tst | test_quiz.tst | load quiz.hdl;
output-file quiz.out;
output-list a b c y z;
set a 0, set b 0, set c 0, eval, output;
set a 0, set b 0, set c 1, eval, output;
set a 0, set b 1, set c 0, eval, output;
set a 0, set b 1, set c 1, eval, output;
set a 1, set b 0, set c 0, eval, output;
set a 1, set b 0, set c 1, eval, output;
set a 1, set b... |
aef41c93350b59644c1698ea839765a2a64f4a3a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/examples/link-examples/ext7f.sce | 4f13b1e46c51686312e9e48aa881f1484e971b69 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | ext7f.sce | //creating vector c in scilab internal stack
host('make /tmp/ext7f.o');
link('/tmp/ext7f.o','ext7f')
a=[1,2,3]; b=[2,3,4];
//c does not exist (c made by ext7f)
fort('ext7f',a,1,'d',b,2,'d','out',1);
//c now exists
c-(a+2*b)
|
5a3738379f20520dbae03b245fbbbffcd9b90024 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.15/11_15.sce | bff97d8c862e1eb5dc775cc1f352d1b6a6ea1582 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,093 | sce | 11_15.sce | //To find width, tension and length
clc
//Given:
d2=240/1000, d1=600/1000, x=3 //m
P=4*1000 //W
N2=300 //rpm
mu=0.3
T1s=10 //Safe working tension, N/mm width
//Solution:
//Minimum width of the belt:
//Calculating the velocity of the belt
v=%pi*d2*N2/60 //m/s
//Calculating the angle alpha for an open belt dr... |
07d40044ae0f0fc88156b42e16dbfadd26873853 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%sp_r_s.sci | 0847ae89d34c85028f176f4728382e0125b16503 | [
"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 | 82 | sci | %sp_r_s.sci | function x=%sp_r_s(a,b)
// a*b^-1 a sparse, b full
// Copyright INRIA
x=full(a)/b
|
bb7bb4ffce7d07b6ac8ff6a7b8ea7681e2a04e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH3/EX3.3/ex_3_3.sce | ece343aed9661cf5d3f4f3684df2aaf2da08b63f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | ex_3_3.sce | // Example 3.3: miller indices
clc;
clear;
close;
x=1/2;//
x1=1/x;//
r2=0;//
r3=0;//
x10=-1;//
x2=1/-x10;//
r4=0;//
r5=0;//
disp("miller indices (Case 1) of the given plane are "+string(x1)+" : "+string(r2)+" : "+string(r3)+" ")
disp("miller indices (Case 2) of the given plane are "+string(x2)+" : "+string(r3)+" : "+st... |
cf6e657d7a50d89dedbd9897e4b52f1b5c1ff041 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH10/EX10.2/Ex10_2.sce | 21dbc9a6d6a449235b4d52ac4d11bd5035a57ddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_2.sce | //example 10.2
clc; funcprot(0);
phi=32;
Gamma=112;
s=12;//spacing
H=27;
Ka=(tan(45*%pi/180-32*%pi/180/2))^2;
sigmaa=0.65*Gamma*Ka*H;
A=sigmaa*15*15/2/9;
B1=603.44*15-A;
C=sigmaa*12*12/2/9;
B2=sigmaa*s-C;
Pa=A*s/1000;
Pb=(B1+B2)*s/1000;
Pc=C*s/1000;
disp(Pa,"strut loads at A in kN");
disp(Pb,"strut loa... |
9f11bb5d94c9fab721d608afe9a12090f29c6aff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.14/Example_1_14.sce | 3a472d26e9b31e05da69e275131e2006f232c289 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Example_1_14.sce | //Example 1.14
N=4;
disp(N,"total No. of possible outcomes (N)=");
M=2;
disp(M,"No. of Favorable cases(both heads or both tails)=");
P1=M/N;
disp(P1,"Probab. of (both heads or both tails)=");
|
8aead2ec60913c8e8abf155295275d1e33f7d4d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH7/EX7.12/Ex7_12.sce | b4ac5109d246282b346fe360f8123cdb4f03e8e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | Ex7_12.sce |
//calculating current drawn
V=230//voltage applied
R=15+10//total resistance of the circuit
L=.04+.1//total inductance
Xl=2*%pi*50*L
C=100D-6//capacitance
Xc=1/(2*%pi*50*C)
X=Xl-Xc
Z=sqrt(R^2+X^2)
I=V/Z
mprintf("Current drawn=%f A\n",I)
//calculating voltages V1 and V2
Z1=sqrt(15^2+(2*%pi*50*.04)^2)
V1=I... |
d77ac0f66ffffd992a6311b1f770017d6b701b4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH8/EX8.4/Ex8_4.sce | f6bed46ea197719781f90d8d2272a07fc663d85a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,219 | sce | Ex8_4.sce | // Example no 8.4
// To find the upper bound of the transmission bit rate
// Page no. 439
clc;
clear all;
// Given data
FL=810*10^6; // Lower limit of forward channel frequency band
FU=826*10^6; // Upper limit of ... |
63184174dce503c45a25a0ffb3d9c8da6461a396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.13.1/Ex8_13.sce | ec05a56da906e8b41aba3cc39b9f8510ce881e7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_13.sce | clc
clear
Vs=0.015;
Vc=0.06*Vs;
V3=Vc;
n=1.3;
P2=10;
P1=1;
N=280;
V4=V3*[(P2/P1)^(1/n)];
printf('V4: %3.4f m^3/cycle',V4);
printf('\n');
printf('V3: %3.4f m^3/cycle',V3);
printf('\n');
V1=Vs+Vc;
printf('V1: %3.4f m^3/cycle',V1);
printf('\n');
V14=V1-V4; //Suction Volume
V2=V1*[(P1/P2)^(1/... |
60b5e35ba01c9206a67f5b99a294d15548a51a96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH2/EX2.4/Ex2_4.sce | c5db16ac06cc8ec3241595bd5f8bdd7faa843a19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex2_4.sce | clear ;
clc;
// Example 2.4
printf('Example 2.4\n\n');
printf('Page No. 47\n\n');
// given
F1= 500*10^3;// fuel oil in gallons
F2= 500*10^3;// coal in gallons in Pound
C1= 165*10^3;// cost of oil per year in Pound
C2= 92*10^3;// cost of an equivalent of coal in Pound
Ce= 100*10^3;// capital cost of extra ha... |
907bf9e9c8b2db7804f15e11cced863a9f254762 | 8aff21ee3944bdacbff38a386556c89c38377c6a | /augstate_testcase.sce | bad4a82d4657f1199a000657fd0ca18c1da50bcc | [] | no_license | rutup1595/control-system | bd4704a4aa437a66260301a22adb5e55b49c5c84 | b30d559d8835cd278cc6d6bb81f821cdfcc9ee55 | refs/heads/master | 2021-01-17T10:17:03.192056 | 2019-10-10T05:28:46 | 2019-10-10T05:28:46 | 59,283,553 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | augstate_testcase.sce | aa=syslin('c',[1,3;4,5],[6;8],[2,3],[1]);
a1=augstate(aa)
ab=syslin('c',[1,2;3,4],[4,5;6,7],[8,9;0,1],[1,0;0,5])
a2=augstate(ab)
|
d979c884e3f1f0e423a9f4e2150348c3feef095f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH9/EX9.4/Ex9_4.sce | 3cce5613e70992ddf7408b60903a26f5b5f1ea24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex9_4.sce | //EX9_4 PG-9.14
clc
R=5e3;//each resistance of the RC phase shift oscillator
C=0.1e-6;//each capacitance of the RC phase shift oscillator
f=1/(2*%pi*sqrt(6)*R*C);
printf("\n Therefore frequency of oscillation is %.3f Hz \n",f)
|
8c9b6df34fba770bcdde0acf4db8e980148fe1f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.5/ex_5.sce | fe9117c1a7c6ee33bd6be0d4dd5877279debf91f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | ex_5.sce | // EXAMPLE (PG 526)
disp("Consider Hilbert matrix of order three")
n=3; // Order of the matrix
A=zeros(n,n);// a symmetric positive definite real or complex matrix.
for i=1:n // Initializing 'for' loop
for j=1:n
A(i,j)=1/(i+j-1);
end
end //End of 'for' loop
A
chol(A) ... |
350a4eadd63efbff9540e0af9e8b677bc0fd6683 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH4/EX4.11/Ex4_11.sce | 9f65f88939f18b426e480cce363f4b153b0d9733 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | Ex4_11.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 4-Buoyancy and Floatation
//// Problem 4.11
//Given Data Set in the Problem
dens=1000
g=9.81
D=3
d=1.8
V_disp=0.6
CB1=1.95
CG=1.2
W_tot=3.9*1000*g
//For meta centric height
//Weight of water displaced=weight density of wat... |
9ce9678c0cce921b60b0a08faade3d44042c41e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH10/EX10.4/Exa10_4.sce | dde5c192f46c37656e792798fbf818176ceaa36e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Exa10_4.sce | //Exa 10.4
clc;
clear;
close;
//Given Data :
format('v',7);
Im=10;//in Ampere
f=50;//in Hz
V=240;//in volts
cosfi_1=0.707;//powerfactor
sinfi_1=sind(acosd(cosfi_1));//unitless
Ir1=Im*sinfi_1;//in Ampere
cosfi_2=1;//powerfactor
Ir2=0;//in A(as cosfi_2=1)
Ic=Ir1-Ir2;//in Ampere
C=Ic/(2*%pi*f*V);//in farads... |
8c44eda7d0297be1754d97831acbaf439a50cc43 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /TILE FRENZY 360 FLICK v2.sce | 82db1bbd8df24a3353624ef0a318cf3c4f664393 | [] | 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 | 65,430 | sce | TILE FRENZY 360 FLICK v2.sce | Name=TILE FRENZY 360 FLICK v2
PlayerCharacters=TileFrenzy Challenger
BotCharacters=TileFrenzy Cube.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=TileFrenzy Challenger
AddedBots=TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cu... |
9612e859fbdcc471478bbb6b7478b6b70b0a1bc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH10/EX10.4/Example10_4.sce | 206744551b9b9c2af3c2a832835774f953bc2526 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Example10_4.sce | //chapter10,Example10_4,pg 272
e = 1.6*10^-19;
m=9.1*10^-31;
vx=1.7*10^7
Ey=3.4*10^4
x=3*10^-2
t=x/vx
//y=0.5*ay*(t^2)
ay=(e*Ey)/m
y=0.5*ay*(t^2)
Bz=Ey/vx
printf("verical displacement of electron \n")
printf("y=%.2f m",y)
printf("\nmagnitude of magnetic field\n")
printf("B=%.4f wb/m2",Bz)
printf("\ndirectio... |
56b936cf3da9621d8b13e8b6eec77b3c164c8161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH13/EX13.7/Ex13_7.sce | 96ca3a745007446921404a759428dc860fb98fd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 772 | sce | Ex13_7.sce | //=====================================================================================
//Chapter 13 example 7
clc;clear all;
//variable declaration
R1 = 180; //resistance in Ω
R2 = 20; //resistance in Ω
A = 0.005; //area in m^2
Ns = 1000; //number of turns on search coil
G1 = 100... |
58bc70def54597b593fce96ea7e9d8092f7b3128 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.20/Ex3_20.sce | 945eccd96f40fa9effb439b156638206114c65a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex3_20.sce | //Ex:3.20
clc;
clear;
close;
a=25;// max radius in um
y=0.8;// operating wavelength in um
NA=0.343;// numerical aperture
v=(2*%pi*a*NA)/y;// v-number
M=v^2/2;//number of modes
printf("The v-number =%f", v);
printf("\n The number of modes =%f", M); |
d1ff2aa58ed5ffc6644e5f7bdc70583d9e128a79 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/write_code.sci | 3b13bffe6938ec8568a1fb67e32eded476fee72b | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,277 | sci | write_code.sci |
function [files]=write_code(Code,CCode,FCode,Code_common)
// Original file from Project Metalau - INRIA
// Modified for RT purposes by Roberto Bucher - RTAI Team
// roberto.bucher@supsi.ch
ierr=execstr('mputl(Code,rpat+''/''+rdnom+''.c'')','errcatch')
if ierr<>0 then
message(lasterror())
ok=%f
return
... |
e313179cd02e153dd7eb19b4f8dc8f4fd3e451b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH2/EX2.7/ex2_7.sce | 316e940ddf7019a03ac97fa1c3242f7469a17399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | ex2_7.sce | // Example 2.7
clc;
clear;
close;
format('v',5)
// given data
Vin= 10;// in V
V_K= 0.7;// in V
Vout=0;// in V
R_L= 1000;// in kΩ
r_B= 20;// in Ω
// The peak forward current,
I_P= (Vin-V_K)/(R_L+r_B);// in A
// The peak voltage
V_P= I_P*R_L;// in V
// The peak inverse voltage
PIV= Vin-Vout;// in V
dis... |
562f0de735b3818c18ee1568e151fe619f4f8207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH7/EX7.2/7_2.sce | d10e670171c9b572178e5cdd91502ce5050a43a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 7_2.sce | clc
//initialisation of variables
clear
a= 6 //degrees
r= 1.5
l= 100 //ft
f= 0.025
K= 0.15
//CALCULATIONS
R= r^4-1
R1= cotd(a/2)*(1-(1/r))
p1= f*l
p2= 2.5*(l-p1)/l
p3= (1-r^2)^2
p4= K*p3
pt= p4+p2
//RESULTS
printf ('lowest ratio = %.2f',R)
printf ('\n contribtuion of friction in pipe = %.1f lbf/ft^2',... |
328b0f66ccac074a438d981e441644f8c786476f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.1.1/Ex7_1.sce | d61598608146ec33d2b3c1929fb4e4233986867e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | Ex7_1.sce | clc
clear
Vs=0.01; //in m^3
Pm=600; //in kPa
N=300; //in rpm
n=N/2;
IP=(Vs*Pm*n)/60;
printf('Indicated Power= %2.0f kW',IP);
printf('\n');
|
b35eac6ba2c0aa4b1421f56e2d30348836a72806 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/if.tst | 20c979a3940f8d74f20a1cd0743dd6f9d8c11c94 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,050 | tst | if.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
997b403150150dc97062264a01e3607d7092f182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.5.p/problem2_5.sce | 8381b3688659af36f96ebc72fe70e7e4cfa6b890 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | problem2_5.sce | //problem 2.5
clc;
clear;
close;
//given data :
format('v',5);
MotorInput=50;//in KW
Slip=3;//in %
RotCuLoss=MotorInput*Slip/100;//in KW
disp(RotCuLoss,"Rotor Copper Loss(KW) : ");
TMechP=MotorInput-RotCuLoss;//in KW
disp(TMechP,"Total mechanical power devloped(KW) : ");
|
ca8660f117e170b7fd65a4200e3d469ff164e035 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/diffpara.sci | c36ae7cfbd817dba5e5f3d2ebb8ab8376101c86c | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,524 | sci | diffpara.sci | function [D,DD] = diffpara(X,varargin)
//Return the estimator D for the differencing parameter of an integrated time series
//Calling Sequence
// [D, DD] = diffpara (X)
// [D, DD] = diffpara (X, A)
// [D, DD] = diffpara (X, A, B)
//Parameters
//X: Input scalar or vector.
//DD:The estimators for all frequencies in the ... |
6f100011c5f67d4e3499ee09f4011b004adc24d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH4/EX4.10/Ex4_10.sce | 998440c83dfb983bc1c7e05c33296efa74b9be42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex4_10.sce |
//Example No.4.10
// Page No.138.
//To find the probability.
clc;clear;
L = 25*10^(-10);//Width of the potential well -[m].
delx = 0.05*10^(-10);//Interval -[m].
x = int(1);
P = (((2*delx)/L)*x);//'P' is the probability of finding the practicle at an interval of 0.05 .
printf("\nThe probability of finding t... |
dbe4e22512644948e2665b337f6d0e0df1e35448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.63/ex1_63.sce | f1f2b8b8ee6fc59e7d0dc69a5c543037a2730929 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | ex1_63.sce | //Exa:1.63
clc;
clear;
close;
P_o=50*1000;//in watts
f=50;//in hertz
s_f=0.04;//slip
P=6;//no.of poles
N_s=120*f/P;//Synchronous Speed (in rpm)
N_f=N_s*(1-s_f);
T_f=P_o/(2*%pi*N_f) |
132b8770eca4981d5fb02b7fd46e36afa9b6a027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH6/EX6.3/example3.sce | 80a4e32da4a237dd5a9f2678c4137fe88b515185 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | example3.sce | s=%s;
m=1+2*s+5*s^2+5*s^3+2*s^4;
disp (m)
r= coeff (m)
n= length (r)
routh = routh_t (m) // Thi s Func t ion g e n e r a t e s the Routht a b l e
disp (routh ," r o u t h s t a b u l a t i o n=")
c =0;
for i =1: n
if ( routh (i ,1) <0)
c=c+1;
end
end
if(c >=1)
printf (" sys t em i s u n s t a b l e ")
... |
201cd09b475aa4a15cb2ab83f43beaed840c9c56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH16/EX16.8/Ex16_8.sce | 18f644aae6a56206f42fef3c3cfd4ebf10499d19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_8.sce | //chapter16
//example16.8
//page351
Av=10000
R1=2 // kilo ohm
R2=18 // kilo ohm
Vi=1 // mV
mv=R1/(R1+R2)
Avf=Av/(1+Av*mv)
Vout=Avf*Vi
printf("feedback fraction = %.1f \n",mv)
printf("voltage gain with negative feedback = %.1f \n",Avf)
printf("output voltage = %.1f mV \n",Vout)
|
813ecde0ac38e2fff555d0f41282efb3d3000f71 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_4/prisma_lab.sce | bd56dce2c2ddea1df1af5f4dbd269364cf1f1033 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | prisma_lab.sce | clf()
A1 = [2 2 2 2 2; 1 0 0 1 1; 1 1 0 0 1]
x1 = A1(1,:)
y1 = A1(2,:)
z1 = A1(3,:)
param3d(x1,y1,z1)
plot3d(A1(1,1:4)',A1(2,1:4)',A1(3,1:4)')
|
37334f091cfd2d842061d297d720ca6edb728537 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH8/EX8.13/Ex8_13.sce | ca2fe7af55c8e0deb8756169bd10fc0f0819e034 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Ex8_13.sce | clc;
//e.g 8.13
Icbo=10*10**-6;
beta=50;
//Value of collector current when Ib=0.25*10**-3;
Ib=0.25*10**-3;
Ic=(beta*Ib)+(1+beta)*Icbo;
disp('mA',Ic*10**3,"Ic=");
//Value of new collector current if temperature rises to 50 degree
t1=27;
t2=50;
Icbo50=Icbo*2^((t2-t1)/10);
disp('microA',Icbo50*10**6,"I... |
f06cc0b173f303fa01d4f9baf6bf10bfa5b77c52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.11.b/3_11_soln.sce | 68c5e8f554e8746fd0b88f80b6d0d3188d53d8f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sce | 3_11_soln.sce | clc;
pathname=get_absolute_file_path('3_11_soln.sce')
filename=pathname+filesep()+'3_11_data.sci'
exec(filename)
// Solution:
// Acceleration due to gravity,
g=32.2; //ft/s^2
// Assuming ideal fluid, Jet velocity,
v2=sqrt(2*g*h); //ft/s
// Area of the opening,
A=(%pi/4)*((d/12)^2); //ft^2
// flow rate,
Q=A*v2; //ft^3/... |
dfd5100a02a7fb7313d86bbf5700376f94665461 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH9/EX9.6/Ex9_6.sce | b945e479446bf1a75af948f91df8d8949b8fffa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Ex9_6.sce |
// Example 9.6
R=10; // Resistance
i=4+%i*3; // Current
I=sqrt(4^2+3^2); // Absolute Value of Current
Ir=4; // Real Component of Current
Ii=3; // Imaginary Component of Current
Q=atand(3/4); // Phase Angle
Pr=Ir^2*R; // Power Due to Real ... |
e710ad0a6b39243626da3a515b4bebcfcdaeaa47 | c9cea368728effc50ef3a05f10679bcc5c63382a | /Clase_03-04/opt_03-04-2019(2).sce | d8e33c12c8e43db2cd09c62ce5b3455be44491ac | [] | no_license | juancllanos/Optimizacion | dbb30315da1b6b3bfac0d1ace5d8e468557565d3 | ef85b725af392290dd46febc839f27944a5ed9d7 | refs/heads/master | 2020-04-28T05:46:38.128903 | 2019-05-21T21:59:16 | 2019-05-21T21:59:16 | 175,032,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | opt_03-04-2019(2).sce | function fx = f1(x)
fx = 0.1*x(1)**2 + x(2)**2 + 10*x(3)**2 + 100*x(4)**2 -0.2*x(1) - 2*x(2) - 20*x(3) - 200 *x(4)
endfunction
function tp = tk(g,h)
tp = (-g'*-g)/(-g'*h*-g)
endfunction
x = [2 ;3 ;4 ;5]
disp(f1(x),'fx')
g = numderivative(f1,x)'
//disp(g,'Gradiente')
h = [0.2 0 0 0... |
0cd342fc75e125d4f6e9fc306d443abaaa85aa73 | ab89c2161afc0845367b8e25f534e4f99bd36759 | /LAB5/ex3.sce | dd5c7ee9f3a1c5b4e6cff8d7ff8d39b5b21b1687 | [] | no_license | PhiTruongCE/Digital_Signal_Processing | 22446ebfa65765d1dfcd2c420e05c83dc861ec15 | bacaf762f31a333a641ac48f6b5cc18f120c65be | refs/heads/main | 2023-06-04T03:38:36.140107 | 2021-06-17T04:04:49 | 2021-06-17T04:04:49 | 377,699,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | ex3.sce | clc;
clf;
clear all;
im =imread("D:\DSP\Picture1.PNG");
imshow(im);
|
e53a06ed6b4bfb3ee6ab69149f1b332bd7134bdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.1/9_1.sce | 8d7a1ec54d9dfc74e60697068f0434ebfd5313bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | 9_1.sce | clc
//initialisation of variables
p1= 3 //Mpa
p2= 0.2 //Mpa
V1= 0.6 //m^3
V2= 1 //m^3
M= 28 //gms
R= 8.314 //J/mol K
T= 400 //C
T1= 150 //C
k= 1.4
p3= 1.25 //Mpa
//CALCULATIONS
m1= p1*V1*10^3*M/(R*(273.15+T))
m2= p2*V2*10^3*M/(R*(273.15+T1))
p4= (p1*V1+p2*V2)/(V1+V2)
T2= (p4/p1)^((k-1)/k)*(273.15+T)
m3... |
388c500056f06a0dbd889e72dcd82ae8d7ac0b01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH7/EX7.4/ex7_4.sce | 3e8a75af97bb160cb228c8a21dc3edc1dcbc6148 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,246 | sce | ex7_4.sce | clc;
warning("off");
printf("\n\n example7.4 - pg280");
// given
id=6; //[inch] - inlet diameter
od=4; //[inch] - outlet diameter
Q=10; //[ft^3/sec] - water flow rate
alpha2=%pi/3; //[radians] - angle of reduction of elbow
alpha1=0;
p1=100; //[psi] - absolute inlet pressure
p2=29; //[psi] - absolute out... |
862f8f83f9664cda21e0f38d8ebc145a584ab3dc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/metanet/lshp.sci | 22749adb8494bfd6b704ae9a467f1ebe0e1f140d | [
"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 | 367 | sci | lshp.sci | function [p,lp]=lshp(i,j,g)
[lhs,rhs]=argn(0), if rhs==2 then g=the_g, end
if ( i<0 | i>g_nodnum(g) | j<0 | j>g_nodnum(g)) then
error('bad internal node number')
end
lneg=find(alenght(g)<0)
if lneg<>[] then
[l,v]=ford(i,g)
else
if g_edgnum(g)<0.5*g_nodnum(g)*g_nodnum(g) then [l,v]=johns(i,g)
else [l,v]=di... |
a65c1c683357bebab36b5d35ffacd8cfd96f62d9 | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /2-RCMP/RCMP-MULT-2.sce | af62a4e4f839d9531aed579d165755e2b12b4076 | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,885 | sce | RCMP-MULT-2.sce | clear; clc;
// RCMP-MULT-2a.sce
// 1) 2 A => B
// 2) A => C
// No adiabático
// (a) Método. gráfico
// CONSTANTES
V = 0.1; // L
F = 0.01; // L/s
CA0 = 10; // mol/L
T0 = 318; // K
TJ = 318; // K
UA = 371; // J/(s*K)
CP = 4.18; // J/(g*K)
RHO = 1000; // g/L
k01 = 1E16; // L/(s*mol)
E1 = 1.2E... |
eda539a0a2750f27b868725ad1e4a77dc52d76e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH6/EX6.18/Example6_18.sce | 71c9b9383dfa12150eb7ad3c8d41352cc22a8305 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Example6_18.sce | //Example 6.18
clc;
clear;
close;
format('v',4);
//Given data :
g=9.81;//constant
A=3.2;//m^2
a=10*10^-4;//m^2
H1=5;//meter
H2=2.5;//meter
Cd=0.6;//Coefficient of discharge
t=2*A*(sqrt(H1)-sqrt(H2))/Cd/a/sqrt(2*g);//sec
disp("Time taken is "+string(floor(t/60))+" minute "+string((t/60-floor(t/60))*60)+" se... |
8ba22b033e3561b91b139044a9af290437bef712 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH16/EX16.3/16_3.sce | 3d0d0c745b9528c0302b6ded9ba5f2950ce261fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 16_3.sce | clc
//initialisation of variables
clear
mu= 1
mb= 2
m= 1
m1= 2
//CALCULATIONS
ym1= 0.5*(mu*m^2+mu*m^2)
ym2= 0.5*(mb*m^2+m*m1^2)
ym3= 0.5*(mu*m1^2+mu*m1^2)
//RESULTS
printf ('ionic strength of solution = %.f *m',ym1)
printf ('\n ionic strength of solution = %.f *m',ym2)
printf ('\n ionic strength of solut... |
0a43b00fbf01692903440f8edc5dc9447da1fc91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.44/18_44.sce | 05412eac22b5b7265cabfce6359ff0fd6feb86be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 18_44.sce | //ques-18.44
//Calculating enthalpy of the reaction and free energy change and entropy change at 925 K
clc
T1=925; T2=1000;//temperature (in K)
K1=18.5; K2=9.25;//equikibrium constant
H=(log10(K2/K1)*2.303*8.314*T1*T2)/(T2-T1);//enthalpy (in J/mol)
G=-2.303*8.314*T1*log10(K1);
S=(H-G)/T1;
printf("The enthalpy o... |
e23ff5afccbf144516bd2fca37381eadbba9ef5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.18/Chapter1_Example18.sce | 8bdf8e154cd8e9dcc3e0084604f628986a2d97e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 807 | sce | Chapter1_Example18.sce | //Chapter-1, Example 1.18, Page 1.43
//=============================================================================
clc
clear
//INPUT DATA
N=(1800/60);//Speed of the motor in rps
V=200;//Terminal voltage in V
Nl=(900/60);//Lathe speed in rps
F=300;//Force exerted in N
r=0.2;//Radius of the shaft in m
n=0.9... |
b0eedde1a2abe79a87b21740e24c76d52687a32a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.40/Ex13_40.sce | f5f47a931c02d9dd694a750340d6302fc1568380 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_40.sce | //EX13_40 Pg-22
clc
clear
printf("15''s complement (A9B)_16 is :")
x=['A9B'];
y=hex2dec(x);//hexadecimal to decimal conversion//
z=dec2hex(bitcmp(y,11));//15's complement of the number//
printf("%s",z)
|
60edcff135f9a1dc43f9b37bd3b52b3c2951f68c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.26/Ch02Ex26.sci | 654c48aaca8ae095a629ebb3dbe74aef9b933b4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 901 | sci | Ch02Ex26.sci | // Scilab Code Ex2.26 Difference in wavelength in the spectra of hydrogen and deuterium: Pg:62 (2008)
R_H = 1.097e+07; // Rydberg constant for H-atom, per metre
M_H = 1; // Mass of H-atom, amu
M_D = 2*M_H; // Mass of D-atom, amu
m = 0.000549*M_H; // Mass of an electron, amu
R_D = R_H*(1+m/M_H)/(1+m/M_D... |
25602dcf2d80259a30b9e3e557e2c854da46edbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH6/EX6.3/example3_sce.sce | 766f304f84672975b078d5ac4b066729d70f0f7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | example3_sce.sce | //chapter 6
//example 6.2
//page 251
printf("\n")
printf("given")
Vce=4.5;Ib=40*10^-6;
disp("from current characteristic at Vce=4.5V and Ib=40uA")
Ic=4*10^-3;Ib=30*10^-6;
hFE=Ic/Ib;
printf(" the value of hFE is %d\n",hFE)
disp("from output characteristic at Vce=4.5 and Ib=40uA")
Ic=400*10^-3;Vce=6;
hoe=(Ic/... |
cf3acc93d6c758f43fefb3687a89b0ac945cd743 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH9/EX9.7/9_7.sce | 2d7d2eb9de8095d57bfbcc9d06659c91ada27a7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | 9_7.sce | clc
clear
//Initialization of variables
h=4 //in
den=13.6 //g/cc
Ar=1/9
A1=12 //sq in
gam=62.4 //lb/ft^3
g=32.2 //ft/s^2
//calculations
dh=(h*den-h)/12
Vr=1/Ar
V22=2*g*dh/(1-Ar^2)
V2=sqrt(V22)
A2=A1*Ar
v2=1/gam
ms=A2*V2/(v2*144)
//results
printf("Flow rate of water = %.1f lb/sec",ms)
|
6fb35c83074a6d624a2b089d7d436c8422d63239 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.7/Ch017Ex7.sce | 0112f4d6aa4bf1ba21bf5071750654b8bb2c0b7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,383 | sce | Ch017Ex7.sce | // Scilab code Ex17.7 : Pg:892 (2011)
clc;clear;
amu = 931.5; // Energy equivalent of 1 amu, MeV
nucleus = cell(4,3);
nucleus(1,1).entries = 'P';
nucleus(1,2).entries = 15;
nucleus(1,3).entries = 31;
nucleus(1,4).entries = 30.98356;
nucleus(2,1).entries = 'n';
nucleus(2,2).entries = 0;
nucleus(2,3).entries... |
f14b88a4255dbef6685e4936cff74a5997c62296 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH3/EX3.3/Ex3_3.sce | 1c1f185470121b79a3679baffa26df8ae6500ef2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,918 | sce | Ex3_3.sce | clc
un1=1000
disp("un1 = "+string(un1)+"cm^2(Vs)^-1") //initializing value of mobility of electron of silicon
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
un2 = 8000
disp("un2 = "+string(un2)+"cm^2(Vs)^-1") //initializing value of mobility of electron of GaAs
up1 = 350
disp... |
4705b06325818634fed21b13ea4b5285f975dc80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.22/example_3_22.sce | 6a4a4254da1f2255bd6c2e6b751728dca65a1554 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | example_3_22.sce | clear;
clc;
disp("--------------Example 3.22---------------")
bit_rate=10^6; // 1 Mbps
//a) rough approximation
mb=bit_rate/2; // formula to caluculate bandwidth
min_bandwidth=mb*10^-3; //multiply with conversion factor
printf("\n a) The minimum bandwidth is %d kHz.",min_bandwidth); // display result
printf("\... |
4b6288c3c2669d31e95454d48fc6a42d0466cbf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH6/EX6.4/example6_4.sce | a6d8857cc1a134b9274f08ccda1a2a0824a91811 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_4.sce | clear;
clc;
// Stoichiometry
// Chapter 6
// Stoichiometry and Unit Operations
// Example 6.4
// Page 355
printf("Example 6.4, Page 355 \n \n");
// solution
// basis 0.625 l/s of MEA solution
c = 3.2 //M conc of MEA
M = 61 // molar mass of MEA
C = M*c //g/l conc of MEA in sol
MEAin = c*.625*360... |
b90bfe895025ae2beca04165a74888b64ddd0229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.1/7_1.sce | c9657ec45f6f3590eb5c7e27eb2cdc37a0565e71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | 7_1.sce | clear;
clc;
//Example - 7.1
//Page number - 235
printf("Example - 7.1 and Page number - 235\n\n");
//This problem involves proving a relation in which no numerical components are involved.
//For prove refer to this example 7.1 on page number 235 of the book.
printf(" This problem involves proving a relation ... |
202d2db5c73d5a2d084993b077adf8958c74816d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH1/EX1.20/Ex1_20.sce | 3934af2305fba182d6b3a7ecda8a9293031c4277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Ex1_20.sce |
//Ex1_20
clc;
//Given:
mh=1.00783;
mn=1.00867;
m35=34.96885; // atomic mass of Cl (35)
m37=36.96590; // atomic mass of Cl (37)
//solution:
B1=(17*mh+18*mn-m35)*931; // in MeV
Bh=B1/m35;
printf("\n The mean binding energy of Cl (35) atom in MeV is = %f ",Bh)
B2=(17*mh+20*mn-m37)*931; // in MeV
... |
98ef6e621130bea9a826c4ecad41e9336a83b0e9 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/adaptHistEq.sci | edc9af9c86cea615360eb2e8b2d838bbe9b9e670 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 1,927 | sci | adaptHistEq.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_... |
f3ee4cdfb35a9b90f9a1208b991d958d558f5782 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH1/EX1.16/Ex1_16.sce | dc943841890c27a76d5003d9a976344b3506db53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,145 | sce | Ex1_16.sce | //page 25
//Example 1.16
clear;
close;
clc;
a = [1 1/2 1/3;1/2 1/3 1/4;1/3 1/4 1/5];
disp(a,'a = ');
b = eye(3,3);
disp(b,'b = ');
disp('Applying row transformations on a and b simultaneously,');
disp('R2 = R2 - 1/2 * R1 and R3 = R3 - 1/3*R1');
a(2,:) = a(2,:) - 1/2 * a(1,:);
a(3,:) = a(3,:) - 1/3 * a(1,:);... |
5efec81ab345a477e4a9fee1d69a090371d34d91 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/auto/contrss.sci | 9c409618474bd7f66e96641d19868fda6c2dfdd3 | [
"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 | 345 | sci | contrss.sci | function slc=contrss(a,tol)
[lhs,rhs]=argn(0)
//
flag=a(1);
if flag(1)<>'lss' then
error(91,1),
end;
if rhs==1 then tol=sqrt(%eps);end
if rhs>2 then error('1 or 2 inputs to contrss : sl [,tol]')
end;
[a,b,c,d,x0,dom]=a(2:7)
//
[nc,u]=contr(a,b,[tol*norm([a,b],1),tol])
u=u(:,1:nc)
a=u'*a*u;b=u'*b;c=c*u
slc=sysl... |
b8c664867c433c0554c8daf750e1d295ac70458b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.44/Ex4_44.sce | 9f09c2a5972adb6d43571aae4c8fecb97d5378cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex4_44.sce | clc;
v=200; // rated voltage of dc shunt motor
ra=0.1; // armature resistance
n=1000; // running speed of motor
ia=50; // armature current at n=1000 rpm
re=0.1; // reduction in field flux
disp('case a');
Ea1=v-ia*ra; // initial counter EMF
Ea2=Ea1*(1-re); // counter EMF after reduced field flux
iam=(v-Ea2)/ra... |
7fb662f585ccc5873ab0e0857ead3984ee4f64d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH10/EX10.10/10_10.sce | 16977cd7e77fd23aa1fc7535d23e7710bd4da3c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,690 | sce | 10_10.sce | clear;
clc;
printf("\t\t\tExample Number 10.10\n\n\n");
// off-design calculation of exchanger in example 10-4
// Example 10.10 (page no.-544-546)
// solution
m_dot_c = 68;// [kg/min] water flow rate
T1 = 35;// [degree celsius] initial temperature
T2 = 75;// [degree celsius] final temperature
Toe = 110;/... |
e5f1e9274e39c61fafe771a891c970fe21211cd6 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/C5_AMORTEC.sce | d4d696f2062300940f09a0e54b140b75ade27be2 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,265 | sce | C5_AMORTEC.sce | // FREQUENCIAS NATURAIS E MATRIZ DE AMORTECIMENTO
DampingData(find(evstr(DampingData.string)>n)).string = string(n)
modo1 = evstr(DampingData(1).string)
modo2 = evstr(DampingData(2).string)
csi(1,1) = evstr(DampingData(3).string)
csi(2,1) = evstr(DampingData(4).string)
// Vetor de frequências naturais da ... |
47948912a15f4484f6fc6ecc5dcb814898c45483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.12/13_12.sce | 3ec839da8a4258bde7ceb53210e705a10961f10f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 13_12.sce | //To find speed of shaft
clc
//Given:
TB=80, TC=82, TD=28
NA=500 //rpm
//Solution:
//Calculating the number of teeth on wheel E
TE=TB+TD-TC
//Calculating the values of x and y
y=800
x=-y*(TE/TB)*(TC/TD)
//Calculating the speed of shaft F
NF=x+y //Speed of shaft F, rpm
//Results:
printf("\n\n Speed of shaf... |
26c9de20c9e157cd674755e0ff3421cd868520ab | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Astronomy/Earth/SkyDome.SCI | d579909801788bff64ff9f0100e16fd1b64494e3 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | WINDOWS-1252 | Scilab | false | false | 16,843 | sci | SkyDome.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
ffc=0;
#codeblock readtextfile(ScriptFilepath+"\_Sub\_SUB_general.sci");
function calclongitlattit(pos,longit,lattit)
{
pos=vecnorm(pos);
lattit=asin(pos.z);
longit=Pi+angle(pos.x,pos.y);
while longit>Pi do ... |
93af0eab0c73bf20cb315494bb15c423ff81cc14 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/cv_imread.sci~ | de70a07b7162a4d299176d12b509b30c484feedc | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 148 | cv_imread.sci~ | function[dstMat] = imread(matA)
out = opencv_imread(matA)
channel = size(out)
for i = 1: channel
dstMat(:,:,i) = out(i)
end
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.